From c2ea39b148de14512c757d0a6c4ca548cdf2ba17 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 3 Jan 2013 18:32:42 +0100 Subject: linting --- manifests/base.pp | 2 +- manifests/centos/five.pp | 3 ++- manifests/centos/six.pp | 1 + 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', -- cgit v1.2.3