summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 15:45:17 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 15:45:17 -0200
commit7c570f42da2605ba53fcc54741cee7d68f028ab6 (patch)
tree52d207b61f4a9ecf4e0d5dddbb846c571949c1df
parent5787a464504aca813c4063a712a4b3715ca156b6 (diff)
downloadpuppet-puppet-7c570f42da2605ba53fcc54741cee7d68f028ab6.tar.gz
puppet-puppet-7c570f42da2605ba53fcc54741cee7d68f028ab6.tar.bz2
Class name fixes; removing storeconfig block
-rw-r--r--manifests/master.pp19
1 files 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,
- #}
-
}