projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bacula::client -- support present/absent
[mirror/dsa-puppet.git]
/
modules
/
hosts
/
manifests
/
init.pp
diff --git
a/modules/hosts/manifests/init.pp
b/modules/hosts/manifests/init.pp
index
468107d
..
e7bb587
100644
(file)
--- a/
modules/hosts/manifests/init.pp
+++ b/
modules/hosts/manifests/init.pp
@@
-1,7
+1,13
@@
+# = Class: hosts
+#
+# This class fixes up broken /etc/hosts files
+#
+# == Sample Usage:
+#
+# include hosts
+#
class hosts {
class hosts {
-
- file {
- "/etc/hosts": content => template("etc-hosts.erb");
- }
+ file { '/etc/hosts':
+ content => template('hosts/etc-hosts.erb')
+ }
}
}
-