From: Frank Brehm Date: Fri, 7 Sep 2018 14:00:30 +0000 (+0200) Subject: Updating update_puppet5_env X-Git-Tag: 1.0.1~2^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=6245f581da1019d899dcbdd3870a32cb52fd1b02;p=pixelpark%2Fpuppetmaster-webhooks.git Updating update_puppet5_env --- diff --git a/update_puppet5_env b/update_puppet5_env index 81969c0..17c2baa 100755 --- a/update_puppet5_env +++ b/update_puppet5_env @@ -19,7 +19,7 @@ echo "###########################################" echo "Current node: '${CERTNAME}'" echo -envs="apache_header_fix icinga2_5 development test production" +envs="apache_header_fix dev_chronie icinga2_5 development test production" if [[ "$#" != "0" ]] ; then envs="$*" fi @@ -58,6 +58,10 @@ for env in ${envs} ; do echo -e "\nEnvironment-Verzeichnis '${env_dir}' existiert nicht." >&2 fi + cmd="/opt/puppetlabs/puppet/bin/puppet generate types --environment \"${env}\"" + echo "${cmd}" + eval ${cmd} + echo echo "Finished environment '${env}'." sleep 1