]> WPIA git - infra.git/blobdiff - bootstrap
add: motion system from source
[infra.git] / bootstrap
index 6b409d3263c1327f65f329455a23061f88ec0de1..5541e1acb35fd70d8ae538608ff9ae8b2a8f9dee 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -33,8 +33,12 @@ if ! grep -q host01 /etc/hosts; then
 fi
 
 
+# In version 4.19 and 4.20, the "file_line" is not able to remove "search" and "domain" lines from the container's resolv.conf.
+# Since Puppet 4 does not support "union ranges" of versions (only Puppet 5 does, which is currently not included in Debian), require >=4.21.0 and ignore that <=4.18 works as well.
+# <5 is required for puppetlabs-postgresql v4: https://forge.puppet.com/puppetlabs/postgresql/4.9.0/dependencies
+# installing a newer stdlib causes postgresql-v4 fail installation.
+puppet module install puppetlabs-stdlib --version ">=4.21.0 <5.0.0"
 puppet module install puppetlabs-firewall --version 1
-puppet module install puppetlabs-stdlib --version 4
 puppet module install puppetlabs-apt --version 2
 puppet module install puppetlabs-postgresql --version 4
 puppet module install puppetlabs-mysql --version 3