diff options
author | elijah <elijah@riseup.net> | 2014-03-23 16:11:32 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-03-23 16:11:32 -0700 |
commit | 482c3d5a77d05043f5276d4f19168d2b777d3ef0 (patch) | |
tree | df2234b11b64ec342b0959d5b4eff1c24e1f8e3d /puppet/modules/site_static/manifests/init.pp | |
parent | a8c9d80317240d86cb7de652c23efbd7bc81bde2 (diff) |
modules/site_static: part 1 - amber
Diffstat (limited to 'puppet/modules/site_static/manifests/init.pp')
-rw-r--r-- | puppet/modules/site_static/manifests/init.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_static/manifests/init.pp b/puppet/modules/site_static/manifests/init.pp new file mode 100644 index 00000000..cc447cf7 --- /dev/null +++ b/puppet/modules/site_static/manifests/init.pp @@ -0,0 +1,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) +}
\ No newline at end of file |