diff options
author | mh <mh@immerda.ch> | 2015-02-10 00:18:21 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-02-10 00:18:21 +0100 |
commit | db074b1848c874585506c7aa7794801d5045a8b6 (patch) | |
tree | 992c1db0b97159d10d008de9b60277482c93d9b6 /manifests | |
parent | 55796b7b8c627ca1a0c85f9f8faa4cabacfccfd2 (diff) | |
parent | 81b0f114d8a9510286f7fb31b7202bcd86104409 (diff) |
Merge remote-tracking branch 'github/master'
Conflicts:
manifests/base.pp
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 10 | ||||
-rw-r--r-- | manifests/debian.pp | 2 | ||||
-rw-r--r-- | manifests/managed_file.pp | 2 |
3 files changed, 6 insertions, 8 deletions
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": |