From 7c570f42da2605ba53fcc54741cee7d68f028ab6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 15:45:17 -0200 Subject: Class name fixes; removing storeconfig block --- manifests/master.pp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) 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, - #} - } -- cgit v1.2.3