summaryrefslogtreecommitdiff
path: root/puppet/manifests/site.pp
blob: 3ae9ebea56ba5bf90f400843a4597bcae265b4d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_config::eip
  }

}