]> WPIA git - infra.git/blobdiff - bootstrap
add: motion system from source
[infra.git] / bootstrap
index 4de279da1cebbb058d90d6f266dd794e7daa55bd..5541e1acb35fd70d8ae538608ff9ae8b2a8f9dee 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -33,9 +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
-# pinned to 4.18, as from version 4.19 the "file_line" is not able to remove "search" and "domain" lines from the container's resolv.conf
-puppet module install puppetlabs-stdlib --version 4.18
 puppet module install puppetlabs-apt --version 2
 puppet module install puppetlabs-postgresql --version 4
 puppet module install puppetlabs-mysql --version 3