[Spacewalk-list] deploy configuration file and reload/restartservice
Sabine.Jordan at der.net
Sabine.Jordan at der.net
Tue Oct 16 12:59:51 UTC 2012
Hi Steve,
Thanks for your help...
I've tried running rhncfg-client command manually first, but I get the
following error-message L
rhncfg-client get /etc/httpd/conf.d/forallwebs.conf
Using server name spacewalk.der.de
XML-RPC error while talking to
https://spacewalk.der.de/CONFIG-MANAGEMENT: [('SSL routines',
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
Haven't found anything yet to solve that problem...
Sabine
Von: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] Im Auftrag von Steve Meier
Gesendet: Dienstag, 16. Oktober 2012 14:34
An: spacewalk-list at redhat.com
Betreff: Re: [Spacewalk-list] deploy configuration file and
reload/restartservice
Hi Sabine,
one way could be to run the deployment and restart in one scheduled
remote command using rhncfg-client, like this:
rhncfg-client get /etc/httpd/conf/httpd.conf
/sbin/service httpd reload
Hope this helps.
Kind regard,
Steve
Am 16.10.2012 um 13:45 schrieb <Sabine.Jordan at der.net>:
Hello all,
I've installed spacewalk 1.7 on Centos 6.3 and created a configuration
channel containing one centrally managed file. Currently there is only
one system that subscribed to this config channel, it also works for me
to deploy the managed config file to the system. But I would also like
to reload or restart some services (e.g. /etc/init.d/httpd reload) after
deploying the file via config channel. I wonder if this is possible? If
so, how can it be done?
I've noticed that there is a possibility to schedule a remote command,
but how can I link the schedule of a remote command with the deployment
of a config file? Or is there any other way to do so?
Thank you in advance.
Greetings,
Sabine
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121016/2f7be1e1/attachment.htm>
More information about the Spacewalk-list
mailing list