Bulk disabling a service across all hosts?
Posted: Thu Mar 22, 2012 6:25 pm
Many of our linux servers are not connected to the public internet, and therefore the default Yum Updates check is not required. I don't want to bulk DELETE them (lest we need to go back and turn it on, on a one off basis), I simply wish to deactivate all services related to Yum.
I did a search in the core configuration module and was able to locate all the services, but there is no option to deactivate all checked. One may only delete or copy those entries.
Can anyone suggest a method of bulk disabling service checks? Is there a query I can run against the database that will take care of this for me (setting all services to active = 0, for instance)? I'm not familiar enough with the schema to do this on my own.
I did a search in the core configuration module and was able to locate all the services, but there is no option to deactivate all checked. One may only delete or copy those entries.
Can anyone suggest a method of bulk disabling service checks? Is there a query I can run against the database that will take care of this for me (setting all services to active = 0, for instance)? I'm not familiar enough with the schema to do this on my own.