diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-20 10:10:22 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-20 10:10:22 +0300 |
commit | 964cab623d85d877d2b420867446d8f7ad8125ba (patch) | |
tree | 94bfb6b67fdcc763d40846c2f09cbc65de8d2283 /modules/mysql | |
parent | 723d7496ba31764f65fae09c85b2386e6ab7f00d (diff) | |
download | puppet-964cab623d85d877d2b420867446d8f7ad8125ba.tar puppet-964cab623d85d877d2b420867446d8f7ad8125ba.tar.gz puppet-964cab623d85d877d2b420867446d8f7ad8125ba.tar.bz2 puppet-964cab623d85d877d2b420867446d8f7ad8125ba.tar.xz puppet-964cab623d85d877d2b420867446d8f7ad8125ba.zip |
lint fixes for mysql
Diffstat (limited to 'modules/mysql')
-rw-r--r-- | modules/mysql/manifests/init.pp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/mysql/manifests/init.pp b/modules/mysql/manifests/init.pp index 14440235..1d180778 100644 --- a/modules/mysql/manifests/init.pp +++ b/modules/mysql/manifests/init.pp @@ -3,22 +3,22 @@ class mysql { package {['mariadb', 'mariadb-obsolete']: } - service { mysqld: - alias => mysql, - subscribe => Package['mariadb'], + service { 'mysqld': + alias => mysql, + subscribe => Package['mariadb'], } - + # file { "/etc/my.cnf": -# +# # } } - - define database() { - exec { "mysqladmin create $name": - user => root, - # not sure if /dev/null is needed - unless => "mysqlshow $name" - } + + define database() { + exec { "mysqladmin create ${name}": + user => root, + # not sure if /dev/null is needed + unless => "mysqlshow ${name}" + } } # define user($password) { # |