X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=bootstrap;h=5541e1acb35fd70d8ae538608ff9ae8b2a8f9dee;hb=1ad80db073a2296e7853b8e958c7dbab228cd699;hp=4de279da1cebbb058d90d6f266dd794e7daa55bd;hpb=f2c5db68d982a7bf7902d6bdf3f3dd656d7844ea;p=infra.git diff --git a/bootstrap b/bootstrap index 4de279d..5541e1a 100755 --- 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