diff options
author | Leap Admins <admin@leap.se> | 2012-09-26 16:31:07 +0000 |
---|---|---|
committer | Leap Admins <admin@leap.se> | 2012-09-26 16:34:19 +0000 |
commit | 7f9c8f7dee5a344f226df74becf9c30e69783b55 (patch) | |
tree | c98380ac39dc7ee24b1ac2002f90562002230b83 /puppet/manifests/site.pp | |
parent | 6762786fb249bd324587cac7b2de3916fa19a752 (diff) | |
parent | e73a5e34742a63d82ee4b1a84a779403d9f71bd7 (diff) |
Restructure develop branch to have master as ancestor
Diffstat (limited to 'puppet/manifests/site.pp')
-rw-r--r-- | puppet/manifests/site.pp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp new file mode 100644 index 00000000..5f58a733 --- /dev/null +++ b/puppet/manifests/site.pp @@ -0,0 +1,30 @@ +node 'default' { + + # include some basic classes + # $concat_basedir = '/var/lib/puppet/modules/concat' # do we need this ? + include concat::setup + include apt, lsb, git + import "common" + + $services=hiera_array('services') + notice("Services for $fqdn: $services") + + # configure ssh and inculde ssh-keys + #include sshd + $ssh_keys=hiera_hash('ssh_keys') + include site_sshd + notice($ssh_keys) + create_resources('site_sshd::ssh_key', $ssh_keys) + + + if 'eip' in $services { + include site_openvpn + + $tor=hiera('tor') + notice("Tor enabled: $tor") + + $openvpn_configs=hiera('openvpn_server_configs') + create_resources('site_openvpn::server_config', $openvpn_configs) + } + +} |