blob: 6a582637a1e50df1cabd43ce73b2a301f99c3428 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh -x
#
# missing: header, license, usage
PUPPET_ENV='--confdir=puppet'
install_prerequisites () {
apt-get update
apt-get install puppet git
# lsb is needed for a first puppet run
puppet apply $PUPPET_ENV --execute 'include lsb'
git submodule init
git submodule update
}
# main
# commented for testing purposes
install_prerequisites
puppet apply $PUPPET_ENV puppet/manifests/site.pp $@
|