diff options
author | varac <varacanero@zeromail.org> | 2012-09-06 14:23:17 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-09-06 14:23:17 +0200 |
commit | 45c8d3fb727e00ac2a9de3a9fc83f4500b981d55 (patch) | |
tree | b223a10e640c2a538d17c0ab0aaabe4e5a5ee48b | |
parent | 81812a5f631d40b83f862de3da30e2e0b4e2efaa (diff) |
install ruby-hiera-puppet
-rwxr-xr-x | deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,9 +7,19 @@ apt-get install lsb-release git # we need puppet from backports dist="`lsb_release -cs`" + +# enable backports for puppet + facter [ -f /etc/apt/sources.list.d/$dist-backports.list ] || echo "deb http://backports.debian.org/debian-backports/ $dist-backports main contrib non-free">/etc/apt/sources.list.d/$dist-backports.list +# enable debian testing for ruby-hiera-puppet +cat > /etc/apt/preferences.d/wheezy <<DELIM +Package: * +Pin: release o=Debian,n=wheezy +Pin-Priority: 2 +DELIM + apt-get update apt-get install -y -t $dist-backports facter puppet +apt-get install ruby-hiera-puppet ruby-hiera puppet apply --modulepath=$PWD/puppet/modules $PWD/puppet/manifests/site.pp $@ |