summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-07-26 11:16:39 +0000
committermh <mh@immerda.ch>2008-07-26 11:16:39 +0000
commit9db87a60590dfe439e782c5651d118f9324f396a (patch)
tree9b926bb212060c622613c03fcaa6d511e98c0a80
parenta2a5cbfec98e865240a8c0a3d0fb42f78d170975 (diff)
added debian config file
-rw-r--r--files/client/debian/puppet7
-rw-r--r--manifests/init.pp9
2 files changed, 15 insertions, 1 deletions
diff --git a/files/client/debian/puppet b/files/client/debian/puppet
new file mode 100644
index 0000000..3e0ee04
--- /dev/null
+++ b/files/client/debian/puppet
@@ -0,0 +1,7 @@
+# Defaults for puppet - sourced by /etc/init.d/puppet
+
+# Start puppet on boot?
+START=yes
+
+# Startup options
+DAEMON_OPTS="-w 0"
diff --git a/manifests/init.pp b/manifests/init.pp
index ebcd234..48a7992 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -85,7 +85,14 @@ class puppet::gentoo inherits puppet::linux {
}
}
class puppet::debian inherits puppet::linux {
- # there is really no status cmd for it
+ file{'/etc/default/puppet':
+ source => [ "puppet://$server/files/puppet/client/debian/${fqdn}/puppet",
+ "puppet://$server/files/puppet/client/debian/${domain}/puppet",
+ "puppet://$server/files/puppet/client/debian/puppet",
+ "puppet://$server/puppet/client/debian/puppet" ],
+ notify => Service[puppet],
+ owner => root, group => 0, mode => 0644;
+ } # there is really no status cmd for it
Service[puppet]{
hasstatus => false,
}