Skip to content

Commit

Permalink
install systemd-sysv on jessie
Browse files Browse the repository at this point in the history
add check_services script to bootstrap
  • Loading branch information
rubo77 committed Jan 25, 2016
1 parent 4bda0e6 commit 6bf37a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ apt-get update
apt-get install --no-install-recommends -y puppet git tcpdump mtr-tiny apt-transport-https
# optional apt-get install --no-install-recommends -y vim

if [ $LSBDISTCODENAME != "wheezy" ]; then
apt-get install -y systemd-sysv
fi
puppet module install puppetlabs-stdlib
puppet module install puppetlabs-apt --version 1.5.1
puppet module install puppetlabs-vcsrepo
Expand Down Expand Up @@ -92,3 +95,9 @@ service alfred start
SERVICES='(isc-dhcp-server|radvd|ntp|openvpn|rpcbind|fastd|bind9|bird6|bird|alfred|batadv-vis|named|tincd)'
service --status-all 2>&1 | egrep $SERVICES
pgrep -lf $SERVICES

# download check-services
wget https://raw.githubusercontent.com/rubo77/ffnord-puppet-gateway/check-services/files/usr/local/bin/check-services
chmod +x check-services
./check-services
echo "if check-services fails add MESH_CODE=ffgc to othe top"

0 comments on commit 6bf37a9

Please sign in to comment.