]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Updating update_puppet5_env
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 7 Sep 2018 14:00:30 +0000 (16:00 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 7 Sep 2018 14:00:30 +0000 (16:00 +0200)
update_puppet5_env

index 81969c0d682ee175c45b626ec1e1391265850423..17c2baa0911ae4d21c60f902a6d5b6bad668008a 100755 (executable)
@@ -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