From 6245f581da1019d899dcbdd3870a32cb52fd1b02 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 7 Sep 2018 16:00:30 +0200 Subject: [PATCH] Updating update_puppet5_env --- update_puppet5_env | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5