summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/hasdb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-06 19:36:40 +0200
committermh <mh@immerda.ch>2010-08-06 19:36:40 +0200
commit7d904841c15873db9ac1745f659d8464fd45f41a (patch)
tree991567a2557fa59b6502d2c0bcf87f6c786c5c34 /manifests/puppetmaster/hasdb
parent6bd681ab05072964efc95ecfe2816e371e45a862 (diff)
codestyle - whitespace
Only code style and whitespace formatting issues. Everything should no be in ligne.
Diffstat (limited to 'manifests/puppetmaster/hasdb')
-rw-r--r--manifests/puppetmaster/hasdb/mysql.pp46
1 files changed, 23 insertions, 23 deletions
diff --git a/manifests/puppetmaster/hasdb/mysql.pp b/manifests/puppetmaster/hasdb/mysql.pp
index 51fd776..22e6434 100644
--- a/manifests/puppetmaster/hasdb/mysql.pp
+++ b/manifests/puppetmaster/hasdb/mysql.pp
@@ -1,31 +1,31 @@
# 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'
+ $dbname = 'puppet',
+ $dbhost = 'localhost',
+ $dbhostfqdn = "${fqdn}",
+ $dbuser = 'puppet',
+ $dbpwd,
+ $dbconnectinghost = 'localhost'
){
- @@mysql_database{$dbname:
- tag => "mysql_${dbhostfqdn}",
- }
+ @@mysql_database{$dbname:
+ tag => "mysql_${dbhostfqdn}",
+ }
- @@mysql_user{"${dbuser}@${dbconnectinghost}":
- password_hash => mysql_password("$dbpwd"),
- require => 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}",
- }
+ @@mysql_grant{"${dbuser}@${dbconnectinghost}/${dbname}":
+ privileges => all,
+ require => Mysql_user["${dbuser}@${dbconnectinghost}"],
+ tag => "mysql_${dbhostfqdn}",
+ }
- munin::plugin::deploy{'puppetresources':
- source => "puppet/munin/puppetresources.mysql",
- config => "env.mysqlopts --user=$dbuser --password=$dbpwd -h $dbhost\nenv.puppetdb $dbname",
- }
+ munin::plugin::deploy{'puppetresources':
+ source => "puppet/munin/puppetresources.mysql",
+ config => "env.mysqlopts --user=$dbuser --password=$dbpwd -h $dbhost\nenv.puppetdb $dbname",
+ }
}