summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-04-18 18:28:29 +0200
committervarac <varacanero@zeromail.org>2016-04-18 18:28:29 +0200
commit8370875d608ebddae09fcd05741bb77e0e31c122 (patch)
treef34754d9aad1f3402dfdac9b6351314018e064a4 /puppet/modules/site_static
parent22b788920defdd42b4abda144afd8ca69d0a9d37 (diff)
[style] more manual linting for custom manifests
Diffstat (limited to 'puppet/modules/site_static')
-rw-r--r--puppet/modules/site_static/manifests/domain.pp1
-rw-r--r--puppet/modules/site_static/manifests/init.pp5
-rw-r--r--puppet/modules/site_static/manifests/location.pp1
3 files changed, 5 insertions, 2 deletions
diff --git a/puppet/modules/site_static/manifests/domain.pp b/puppet/modules/site_static/manifests/domain.pp
index fd217b8f..8b9378f2 100644
--- a/puppet/modules/site_static/manifests/domain.pp
+++ b/puppet/modules/site_static/manifests/domain.pp
@@ -1,3 +1,4 @@
+# configure static service for domain
define site_static::domain (
$ca_cert,
$key,
diff --git a/puppet/modules/site_static/manifests/init.pp b/puppet/modules/site_static/manifests/init.pp
index 76ee6e19..4a722d62 100644
--- a/puppet/modules/site_static/manifests/init.pp
+++ b/puppet/modules/site_static/manifests/init.pp
@@ -1,3 +1,4 @@
+# deploy static service
class site_static {
tag 'leap_service'
@@ -48,8 +49,8 @@ class site_static {
if (member($formats, 'amber')) {
rubygems::gem{'amber-0.3.8':
- require => Package['zlib1g-dev']
- }
+ require => Package['zlib1g-dev']
+ }
package { 'zlib1g-dev':
ensure => installed
diff --git a/puppet/modules/site_static/manifests/location.pp b/puppet/modules/site_static/manifests/location.pp
index 1adcce01..d116de2f 100644
--- a/puppet/modules/site_static/manifests/location.pp
+++ b/puppet/modules/site_static/manifests/location.pp
@@ -1,3 +1,4 @@
+# configure static service for location
define site_static::location($path, $format, $source) {
$file_path = "/srv/static/${name}"