Changed puppet ssl directory to default location (/etc/puppet/ssl).

This commit is contained in:
Timo Mkinen 2011-07-28 14:59:22 +03:00
parent 10fa19d80e
commit bda06f269d
2 changed files with 2 additions and 6 deletions

View file

@ -23,10 +23,10 @@ if [ ! -s /etc/puppet/manifests/site.pp ]; then
echo "" > /etc/puppet/manifests/site.pp
fi
ssldir=`echo "require 'puppet'; Puppet.parse_config; print Puppet.settings.value('ssldir')" | ruby`
cat /dev/null > /etc/puppet/puppet.conf
ssldir=`echo "require 'puppet'; Puppet.parse_config; print Puppet.settings.value('ssldir')" | ruby`
puppet --version | egrep "^0\." > /dev/null 2>&1
if [ $? -eq 0 ]; then
(