summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/manifests/init.pp
blob: 4f6d895fd88ceedecedd3303133af42b36424c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class site_static {
  tag 'leap_service'
  $static        = hiera('static')
  $domains       = $static['domains']
  $formats       = $static['formats']

  if (member($formats, 'amber')) {
    include site_config::ruby::dev
    rubygems::gem{'amber-0.3.0': }
  }

  create_resources(site_static::domain, $domains)

  include site_shorewall::defaults
  include site_shorewall::service::http
  include site_shorewall::service::https
}