summaryrefslogtreecommitdiff
path: root/puppet/manifests/site.pp
blob: ef5c3a8a6dc92e2d7230b6ba6961ed7bd7585652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
node 'default' {
  # prerequisites
  import 'common'
  include concat::setup

  # include some basic classes
  #include site_config

  # parse services for host
  $services=hiera_array('services')
  notice("Services for $fqdn: $services")

  # configure eip
  if 'openvpn' in $services {
    include site_config::eip
  }

  if 'couchdb' in $services { 
    class { 'couchdb': 
      #bind => '0.0.0.0' 
    }
  }
}