From: Silvio Rhatto Date: Fri, 25 Jan 2013 17:45:17 +0000 (-0200) Subject: Class name fixes; removing storeconfig block X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7c570f42da2605ba53fcc54741cee7d68f028ab6;p=puppet-puppet.git Class name fixes; removing storeconfig block --- diff --git a/manifests/master.pp b/manifests/master.pp index d3f3e88..54898a0 100644 --- a/manifests/master.pp +++ b/manifests/master.pp @@ -26,11 +26,11 @@ class puppet::master( # # A better approach is to keep certificates at /etc/puppet/ssl (and hence at your puppet repo). if $puppetmaster_manage_ca == true { - include puppetmaster::ca + include puppet::master::ca } # then include puppet class - class { 'puppetd': + class { 'puppet::daemon': master => true, main_master => $main, } @@ -148,19 +148,4 @@ class puppet::master( mode => 0700, } - # for storeconfigs - include mysql::server - - # Database creation as suggested by - # http://reductivelabs.com/trac/puppet/wiki/Recipes/MySQLStoredConfiguration - #exec { "create-storeconfigs-db": - # command => "/usr/bin/mysqladmin create puppet", - # unless => "/usr/bin/mysqlcheck -s puppet", - # notify => Exec["create-storeconfigs-user"], - #} - #exec { "create-storeconfigs-user": - # command => "/usr/bin/mysql -e 'grant all privileges on puppet.* to puppet@localhost identified by \"puppet\"'", - # refreshonly => true, - #} - }