Commit graph

20 commits

Author SHA1 Message Date
Kevin Fenzi
73ba1900e6 lock_wrapper: handle --silent with the argument passing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Kevin Fenzi
09bbcdb68a scripts / lock-wrapper: actually pass script arguments as well to the script
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Pierre-Yves Chibon
5a25802f9a base: First pass at making nag-once working with python3
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:16 +02:00
Rick Elrod
9b60967d7e base: add fix-ifcfg-mac-address.sh to common-scripts. Not my best code, but it should do the trick.
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
04bd0e1ea1 try and make the lock wrapper silent option actually silent 2018-05-19 02:13:47 +00:00
Patrick Uiterwijk
51ec022933 Make silent an option
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-17 16:34:38 +02:00
Patrick Uiterwijk
8773b6d931 Silence lock wrapper if script is still running
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-17 16:30:21 +02:00
Jan Kaluža
f5760b6f5e Do exit with 1 in case service is not present while running conditional-restart.sh. 2018-03-07 08:57:58 +00:00
Mikolaj Izdebski
120fc846c5 Check if service unit is present before trying to restart it 2018-02-22 09:35:29 +00:00
Kevin Fenzi
e621c76c8f Fix up the fedmsg handler. Ticket https://pagure.io/fedora-infrastructure/issue/6550
Just change the conditional script to use systemctl try-restart and hopefully it will do what we want.
2018-02-20 00:24:11 +00:00
Kevin Fenzi
6c253445a3 rework our conditional reload script to handle systemctl reload changes 2017-03-02 15:33:05 +00:00
Kevin Fenzi
1effd347df Setup a proxyreload for httpd that looks for the ticketkey. If it's not there, assume the proxy is just being configured and don't reload httpd. 2016-12-01 21:36:07 +00:00
Kevin Fenzi
17d96e5da9 Add a conditional-reload script and use it so we can not fail on hosts with no httpd installed. 2015-11-13 23:49:38 +00:00
Kevin Fenzi
1dd79c9801 Remove mentions of lockbox01. 2015-09-25 18:49:17 +00:00
Miroslav Suchý
ada13bf822 accidentally leaked to previous commit, reverting back 2014-12-08 13:46:23 +00:00
Miroslav Suchý
09137e6de0 remove old copr playbooks 2014-12-08 13:44:35 +00:00
02ef0ba713 Unhardcode path to rpm. Thanks ProT-0-TypE! 2014-05-21 13:06:17 +00:00
Kevin Fenzi
c441747d54 Add needs-reboot.py as a common script. 2014-05-20 20:09:47 +00:00
Ralph Bean
fb6ee8bd49 Try out this conditional restart stuff. 2014-03-14 15:30:32 +00:00
Kevin Fenzi
aecec53380 Move base to a role.
Clean up syntax in all the base tasks.
Add CONVENTIONS file for info on where things go.
Tweak readme.
Switch add playbooks to base role instead of task.
2013-08-25 18:44:54 +00:00