aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 19:46:52 +0100
committermh <mh@immerda.ch>2013-01-02 19:48:56 +0100
commiteac5a3c28c4773531964f77e25291c88efcc5e12 (patch)
tree4a76241c9737623a989dccdaa5bb46b66264fd4d /README
parent3d2e75b8b438dff6f32ce22664b148b6a5ca365e (diff)
downloadpuppet-shorewall-eac5a3c28c4773531964f77e25291c88efcc5e12.tar.gz
puppet-shorewall-eac5a3c28c4773531964f77e25291c88efcc5e12.tar.bz2
provide an easy option to still manage the source of the central conf file
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 4 insertions, 7 deletions
diff --git a/README b/README
index 29fd84d..f0b13cc 100644
--- a/README
+++ b/README
@@ -49,14 +49,11 @@ shorewall.conf, simply do this:
NOTE: this requires the augeas ruby bindings newer than 0.7.3.
-If you need to, you can provide an entire shorewall.conf by overriding the file
-resource, for example:
+If you need to, you can provide an entire shorewall.conf by passing its
+source to the main class:
-class site_shorewall::config inherits shorewall::base {
-
- File["/etc/shorewall/shorewall.conf"] {
- source => "puppet:///modules/site_shorewall/${::fqdn}/shorewall.conf.${::operatingsystem}",
- }
+class{'shorewall':
+ conf_source => "puppet:///modules/site_shorewall/${::fqdn}/shorewall.conf.${::operatingsystem}",
}
NOTE: if you distribute a file, you cannot also use augeas, puppet and augeas