summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-03 18:32:42 +0100
committermh <mh@immerda.ch>2013-01-03 18:32:42 +0100
commitc2ea39b148de14512c757d0a6c4ca548cdf2ba17 (patch)
tree39b093219de1983fb2aa8c0b02f584171d181f56
parent5ce46c56e0ed95e03c3322f6eba53488a0615207 (diff)
linting
-rw-r--r--manifests/base.pp2
-rw-r--r--manifests/centos/five.pp3
-rw-r--r--manifests/centos/six.pp1
3 files changed, 4 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index ce0f255..d31b03b 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -26,7 +26,7 @@ class strongswan::base {
# this is needed because if the glob-include in the config
# doesn't find anything it fails.
"${strongswan::config_dir}/hosts":
- ensure => directory,
+ ensure => directory,
purge => true,
force => true,
recurse => true;
diff --git a/manifests/centos/five.pp b/manifests/centos/five.pp
index 101ab42..1b4ef0f 100644
--- a/manifests/centos/five.pp
+++ b/manifests/centos/five.pp
@@ -1,8 +1,9 @@
+# strongswan on centos 5
class strongswan::centos::five inherits strongswan::base {
if $::selinux == 'true' {
package{'strongswan-selinux':
- before => Service['ipsec'],
ensure => installed,
+ before => Service['ipsec'],
}
}
}
diff --git a/manifests/centos/six.pp b/manifests/centos/six.pp
index 4301482..2e65ebf 100644
--- a/manifests/centos/six.pp
+++ b/manifests/centos/six.pp
@@ -1,3 +1,4 @@
+# strongswan on centos six
class strongswan::centos::six inherits strongswan::base {
Service['ipsec']{
name => 'strongswan',