From: Frank Brehm Date: Mon, 29 Apr 2019 14:28:38 +0000 (+0200) Subject: Minor change to update_puppet5_env X-Git-Tag: 1.6.4^2~5 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=995e6f31531e33da164bd94ea0810bab70a4fec1;p=pixelpark%2Fpuppetmaster-webhooks.git Minor change to update_puppet5_env --- diff --git a/update_puppet5_env b/update_puppet5_env index 17c2baa..d5dc73a 100755 --- a/update_puppet5_env +++ b/update_puppet5_env @@ -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