summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-05-21 14:36:05 +0200
committermh <mh@immerda.ch>2011-05-21 14:36:05 +0200
commit02d980eb889c8b7754226a3988ab51dea35310c4 (patch)
tree1f555408bd99e0aa8c3218b88e325d53f600ecd6 /manifests/base.pp
parented66ce583464642bfaf2616615d7d237794b420e (diff)
Remove init.d file
this was anyway too specific for centos and it is now part of our package.
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp13
1 files changed, 3 insertions, 10 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 9d5cb7d..be04615 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -9,17 +9,10 @@ class strongswan::base {
ensure => installed,
}
- file{'/etc/init.d/ipsec':
- source => "puppet:///modules/strongswan/centos/ipsec.init",
- require => Package['strongswan'],
- before => Service['ipsec'],
- owner => root, group => 0, mode => 0755;
- }
-
if $selinux == 'true' {
- File['/etc/init.d/ipsec']{
- seltype => 'ipsec_initrc_exec_t',
- }
+ package{ 'strongswan-selinux' :
+ ensure => installed,
+ }
}
exec{ 'ipsec_privatekey':