Sha256: 7f06b0fe95057bad5bbc59d7262d047208f2349481ccf152387d27b030b6ef22
Contents?: true
Size: 773 Bytes
Versions: 4
Compression:
Stored size: 773 Bytes
Contents
#!/bin/bash set -e rootfs=$1 echo "installing salt" if [ $SUITE == "squeeze" ]; then SALT_SOURCE="deb http://debian.saltstack.com/debian squeeze-saltstack main\ndeb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" elif [ $SUITE == "sid" ]; then SALT_SOURCE="deb http://debian.saltstack.com/debian unstable main" else SALT_SOURCE="deb http://debian.saltstack.com/debian wheezy-saltstack main" fi cat > $rootfs/tmp/install-salt << EOF #!/bin/sh echo "$SALT_SOURCE" > /etc/apt/sources.list.d/saltstack.list wget -q -O- "http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key" | apt-key add - apt-get update apt-get install -y salt-minion apt-get clean EOF chroot $rootfs sh /tmp/install-salt rm -rf $rootfs/tmp/*
Version data entries
4 entries across 4 versions & 1 rubygems