summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-02-10 00:18:21 +0100
committermh <mh@immerda.ch>2015-02-10 00:18:21 +0100
commitdb074b1848c874585506c7aa7794801d5045a8b6 (patch)
tree992c1db0b97159d10d008de9b60277482c93d9b6
parent55796b7b8c627ca1a0c85f9f8faa4cabacfccfd2 (diff)
parent81b0f114d8a9510286f7fb31b7202bcd86104409 (diff)
Merge remote-tracking branch 'github/master'
Conflicts: manifests/base.pp
-rw-r--r--README6
-rw-r--r--manifests/base.pp10
-rw-r--r--manifests/debian.pp2
-rw-r--r--manifests/managed_file.pp2
4 files changed, 9 insertions, 11 deletions
diff --git a/README b/README
index 3a84b3b..0e61035 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-modules/shorewall/manifests/init.pp - manage firewalling with shorewall 3.x
+modules/shorewall/manifests/init.pp - manage firewalling with shorewall
Puppet Module for Shorewall
---------------------------
@@ -7,8 +7,8 @@ This module manages the configuration of Shorewall (http://www.shorewall.net/)
Requirements
------------
-This module requires the augeas module, you can find that here:
-https://labs.riseup.net/code/projects/shared-augeas
+This module requires the concat module, you can find that here:
+https://github.com/puppetlabs/puppetlabs-concat.git
Copyright
---------
diff --git a/manifests/base.pp b/manifests/base.pp
index d43ea64..12b8c34 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -10,14 +10,14 @@ class shorewall::base {
'/etc/shorewall/shorewall.conf':
require => Package[shorewall],
notify => Service[shorewall],
- owner => root,
- group => 0,
+ owner => 'root',
+ group => 'root',
mode => '0644';
'/etc/shorewall/puppet':
ensure => directory,
require => Package[shorewall],
- owner => root,
- group => 0,
+ owner => 'root',
+ group => 'root',
mode => '0644';
}
@@ -27,8 +27,6 @@ class shorewall::base {
}
} else {
- require augeas
-
augeas { 'shorewall_module_config_path':
changes => 'set /files/etc/shorewall/shorewall.conf/CONFIG_PATH \'"/etc/shorewall/puppet:/etc/shorewall:/usr/share/shorewall"\'',
lens => 'Shellvars.lns',
diff --git a/manifests/debian.pp b/manifests/debian.pp
index c7ed607..01d108f 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -3,7 +3,7 @@ class shorewall::debian inherits shorewall::base {
content => template("shorewall/debian_default.erb"),
require => Package['shorewall'],
notify => Service['shorewall'],
- owner => root, group => 0, mode => 0644;
+ owner => 'root', group => 'root', mode => '0644';
}
Service['shorewall']{
status => '/sbin/shorewall status'
diff --git a/manifests/managed_file.pp b/manifests/managed_file.pp
index d564daa..7061721 100644
--- a/manifests/managed_file.pp
+++ b/manifests/managed_file.pp
@@ -2,7 +2,7 @@ define shorewall::managed_file () {
concat{ "/etc/shorewall/puppet/${name}":
notify => Service['shorewall'],
require => File['/etc/shorewall/puppet'],
- owner => root, group => 0, mode => 0600;
+ owner => 'root', group => 'root', mode => '0600';
}
concat::fragment {
"${name}-header":