diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2026-01-31 12:42:28 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2026-01-31 12:42:28 -0300 |
| commit | b39874ac1ee8f2c550bfb70f979f0a7e1e290809 (patch) | |
| tree | 7359ed74fb178c6234c9572934dda87d64c4a69b | |
| parent | 00e4640bcfaad63af34db6abbd56eee45c36a8b1 (diff) | |
| download | puppet-bootstrap-b39874ac1ee8f2c550bfb70f979f0a7e1e290809.tar.gz puppet-bootstrap-b39874ac1ee8f2c550bfb70f979f0a7e1e290809.tar.bz2 | |
| -rwxr-xr-x | bin/deploy | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -75,6 +75,14 @@ $SUDO mkdir -p /etc/facter/facts.d $SUDO echo "role=$ROLE" | $SUDO tee /etc/facter/facts.d/role.txt > /dev/null $SUDO echo "location=$LOCATION" | $SUDO tee /etc/facter/facts.d/location.txt > /dev/null -# Run puppet apply +# Set configuration and module path PUPPET_OPTS="--confdir=$BASEDIR --modulepath=$BASEDIR/modules" + +# Puppet 8+ compatibility +# https://github.com/puppetlabs/puppet/wiki/Puppet-8-Compatibility#module-compatibility +# https://github.com/puppetlabs/puppet/blob/main/references/configuration.md#configuration-settings +PUPPET_OPTS="$PUPPET_OPTS --include_legacy_facts" +PUPPET_OPTS="$PUPPET_OPTS --no-strict_variables --strict=warning" + +# Run puppet apply LC_ALL=C $SUDO puppet apply $PUPPET_OPTS $PUPPET_MANIFEST |
