]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Minor change to update_puppet5_env
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 29 Apr 2019 14:28:38 +0000 (16:28 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 29 Apr 2019 14:28:38 +0000 (16:28 +0200)
update_puppet5_env

index 17c2baa0911ae4d21c60f902a6d5b6bad668008a..d5dc73acd9efec657616b3b9133f9158d7a3b26c 100755 (executable)
@@ -19,7 +19,7 @@ echo "###########################################"
 echo "Current node: '${CERTNAME}'"
 echo
 
-envs="apache_header_fix dev_chronie icinga2_5 development test production"
+envs=$( ls -1 /etc/puppetlabs/code/environments )
 if [[ "$#" != "0" ]] ; then
     envs="$*"
 fi