summaryrefslogtreecommitdiff
path: root/manifests/freebsd.pp
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2011-01-19 20:09:16 -0500
committerGabriel Filion <lelutin@gmail.com>2011-07-16 20:57:44 -0400
commit618384cf08340b34a4eaf1022d200c1acb8161f4 (patch)
treebfb41b5062b1f250ffb5c26ca00cbb77197fcd9f /manifests/freebsd.pp
parent3bcfd81f64f504cb9be05ccdb8b81652ff872d0f (diff)
Support puppet client for FreeBSD
Some pieces of the puzzle are missing for being able to manage puppet in FreeBSD. * Add a default puppet client config template for FreeBSD * In FreeBSD, puppet.conf is not in /etc/puppet/ so let's provide a value for this variable in init.pp. * The rc script for starting and stopping puppet is not located in /etc/rc.d so let's signify this to Service[puppet] Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests/freebsd.pp')
-rw-r--r--manifests/freebsd.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/freebsd.pp b/manifests/freebsd.pp
new file mode 100644
index 0000000..1fe28d0
--- /dev/null
+++ b/manifests/freebsd.pp
@@ -0,0 +1,7 @@
+class puppet::freebsd inherits puppet::base {
+
+ Service['puppet'] {
+ path => '/usr/local/etc/rc.d',
+ }
+
+}