ffnord / ffnord-puppet-gateway

Deploy and manage your Freifunk community gateway, mostly compatible with Gluon.
15 stars 13 forks source link

Add check for services that should be running to maintenance status #124

Closed rubo77 closed 9 years ago

rubo77 commented 9 years ago

When you call

maintenance status

This will add a check for all services that should be running

rubo77 commented 9 years ago

enahncements could be a unified display in a kind of table and colorization (green and red)

rubo77 commented 9 years ago

i appended the changes so the output is consistent and colorized

sargon commented 9 years ago

I don't think it is the job of the maintenance script todo any checks of that sort. To clarify the job is to mark the machine to be in maintenance and to stop the service that prevent maintenance. Further kicking of client is better to be done by hand and only to be done when you know what you are doing.

rubo77 commented 9 years ago

Where would such a script to be in the right place?

another script in /usr/local/bin ?

sargon commented 9 years ago

Yo.

rubo77 commented 9 years ago

https://github.com/ffnord/ffnord-puppet-gateway/pull/127