diff options
author | mh <mh@immerda.ch> | 2012-06-05 18:59:39 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-08 13:09:47 -0300 |
commit | 09c8eaf304d1075980d8d9143545f2f16a1db34d (patch) | |
tree | 57ab2c761e74eb95f873b72a109c2a620656469b /manifests/puppetmaster/hasdb | |
parent | af97bf0e96167e916e36110eb858f257ccf083e6 (diff) |
new style for 2.7
Diffstat (limited to 'manifests/puppetmaster/hasdb')
-rw-r--r-- | manifests/puppetmaster/hasdb/mysql.pp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/manifests/puppetmaster/hasdb/mysql.pp b/manifests/puppetmaster/hasdb/mysql.pp deleted file mode 100644 index 1ed122a..0000000 --- a/manifests/puppetmaster/hasdb/mysql.pp +++ /dev/null @@ -1,32 +0,0 @@ -# don't use this define use the general interface -define puppet::puppetmaster::hasdb::mysql ( - $dbname = 'puppet', - $dbhost = 'localhost', - $dbhostfqdn = "${fqdn}", - $dbuser = 'puppet', - $dbpwd, - $dbconnectinghost = 'localhost' ) -{ - @@mysql_database { $dbname: - tag => "mysql_${dbhostfqdn}", - } - - @@mysql_user { "${dbuser}@${dbconnectinghost}": - password_hash => mysql_password("$dbpwd"), - require => Mysql_database[$dbname], - tag => "mysql_${dbhostfqdn}", - } - - @@mysql_grant { "${dbuser}@${dbconnectinghost}/${dbname}": - privileges => all, - require => Mysql_user["${dbuser}@${dbconnectinghost}"], - tag => "mysql_${dbhostfqdn}", - } - - if $use_munin { - munin::plugin::deploy { 'puppetresources': - source => "puppet/munin/puppetresources.mysql", - config => "env.mysqlopts --user=$dbuser --password=$dbpwd -h $dbhost\nenv.puppetdb $dbname", - } - } -} |