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' 
    }
  }
}