diff options
author | mh <mh@immerda.ch> | 2008-07-02 20:10:58 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-02 20:10:58 +0000 |
commit | fee703dd27c77fa805207f2f21032859a294eb22 (patch) | |
tree | 042cdafb9e88e1b9963687cf7a73226a1deeff46 /manifests | |
parent | de4260028e2ca5e23bd20c7030c166345761d1da (diff) |
fixed wrong naming
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetmaster.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index fadbfc6..750f759 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -111,22 +111,22 @@ define puppet::puppetmaster::hasdb::mysql( $dbhostfqdn = "${fqdn}", $dbuser = 'puppet', $dbpwd, - $dbconnectinghost = 'locahost' + $dbconnectinghost = 'localhost' ){ @@mysql_database{$dbname: tag => "mysql_${dbhostfqdn}", } - @@mysql_user{"${dbuser}@$${dbconnectinghost}": + @@mysql_user{"${dbuser}@${dbconnectinghost}": password_hash => mysql_password("$dbpwd"), require => Mysql_database[$dbname], tag => "mysql_${dbhostfqdn}", } - @@mysql_grant{"${dbuser}@$${dbconnectinghost}/${dbname}": + @@mysql_grant{"${dbuser}@${dbconnectinghost}/${dbname}": privileges => all, - require => Mysql_user["${dbuser}@{dbconnectinghost}"], + require => Mysql_user["${dbuser}@${dbconnectinghost}"], tag => "mysql_${dbhostfqdn}", } } |