From ff400fbbfb150d715590866a37b43290e2da6d24 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Tue, 15 Jun 2010 17:26:13 +0300 Subject: [PATCH] Defined path in puppet.conf for OpenBSD clients. Needed atleast by facter to find dmidecode and lspci under /usr/local. --- puppet/templates/puppet.conf.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/puppet/templates/puppet.conf.erb b/puppet/templates/puppet.conf.erb index 4b9343d..d6eb211 100644 --- a/puppet/templates/puppet.conf.erb +++ b/puppet/templates/puppet.conf.erb @@ -16,6 +16,12 @@ # The default value is '$confdir/ssl'. ssldir = $vardir/ssl +<% end -%> +<% if kernel == 'OpenBSD' -%> + # The shell search path. Defaults to whatever is inherited + # from the parent process. + path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin + <% end -%> # Enable sending reports to puppet server. report = true