Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-18 Thread Rick van der Linde
).   Hope this helps.     Rick   -Oorspronkelijk bericht- Aan: spacewalk-list@redhat.com; Van: Dewangga Bachrul Alam dewangg...@xtremenitro.org Verzonden: vr 17-10-2014 19:23 Onderwerp: Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain Hi rick, Yes, it can

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-18 Thread Dewangga Bachrul Alam
17-10-2014 17:13 Onderwerp: Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain So, what if I want to change the line on /etc/nginx/conf.d/ssl.conf and restart the nginx. Origin: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; Latest: ssl_protocols TLSv1

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-17 Thread Dewangga Bachrul Alam
So, what if I want to change the line on /etc/nginx/conf.d/ssl.conf and restart the nginx. Origin: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; Latest: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; And reload the nginx. Should I rebuild the nginx and make the rpm then resubmit it to spacewalk server? Is

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-17 Thread Rick van der Linde
Bachrul Alam dewangg...@xtremenitro.org Verzonden: vr 17-10-2014 17:13 Onderwerp: Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain So, what if I want to change the line on /etc/nginx/conf.d/ssl.conf and restart the nginx. Origin: ssl_protocols SSLv3 TLSv1 TLSv1.1

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-17 Thread Waldirio Manhães Pinheiro
- *Aan:* spacewalk-list@redhat.com; *Van:* Dewangga Bachrul Alam dewangg...@xtremenitro.org *Verzonden:* vr 17-10-2014 17:13 *Onderwerp:* Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain So, what if I want to change the line on /etc/nginx/conf.d

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-17 Thread Dewangga Bachrul Alam
] Configuration Files Deployment + Remote Command on Action Chain So, what if I want to change the line on /etc/nginx/conf.d/ssl.conf and restart the nginx. Origin: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; Latest: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; And reload the nginx. Should I

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-17 Thread Waldirio Manhães Pinheiro
...@xtremenitro.org Verzonden: vr 17-10-2014 17:13 Onderwerp: Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain So, what if I want to change the line on /etc/nginx/conf.d/ssl.conf and restart the nginx. Origin: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; Latest

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-16 Thread Waldirio Manhães Pinheiro
Hello, good morning About big effort, not so much and this is the cost to execute automatically. :-), in fact you will create this script when you need some action after deploy, just on this cases. About el7, sure will not, you have to change to system control. ps.: You can create a single

[Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-15 Thread Dewangga Bachrul Alam
Hi, I've try to centralize SSL Configuration Files, (eg. /etc/nginx/conf.d/ssl.conf), but, after changes that files, I should reload the nginx automatically after deployed the files. I add action chaining manually to deployment schedule, is it possible to automate them? I mean that remote

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-15 Thread Waldirio Manhães Pinheiro
Hello Dewangga and list friends, good morning By default the Spacewalk don't have this feature, btw you can do things like bellow: 1. Create a rpm just to do what you need, so you configure in conf. channel the package and the command will be executed (I know, I don't like too, but it work). 2.

Re: [Spacewalk-list] Configuration Files Deployment + Remote Command on Action Chain

2014-10-15 Thread Waldirio Manhães Pinheiro
Dewangga Just to add information, about your question, the command to restart service should be after else ### #!/bin/bash if [ -f /var/log/ref_teste ]; then echo Script was defined - $(date) | tee -a /var/log/messages echo Removing $0 from /etc/cron.hourly | tee -a