summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/manifests/init.pp
blob: cc447cf7a505c0ee312751f686a6e648529031c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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': }
  }

  create_resources(site_static::domain, $domains)
}