summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-24 16:11:31 -0500
committerMicah Anderson <micah@riseup.net>2013-01-24 16:11:31 -0500
commit614ee152c39bbc66c82a52022e2c05aa7856cd4b (patch)
tree117fc0f3f61b4362be5dc1f32ab30db445efceb1 /README
parentd3d58a60bb582875a63e78245fb697d18a10877e (diff)
parent9e79c7c55755e4cff5097d34c14396fdb0f15f85 (diff)
Merge remote-tracking branch 'riseup/master'
Conflicts: manifests/base.pp
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