summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp10
-rw-r--r--manifests/debian.pp2
-rw-r--r--manifests/managed_file.pp2
3 files changed, 6 insertions, 8 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 4ee8747..8eee3c0 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":