diff options
Diffstat (limited to 'modules/mysql/manifests')
-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) { # |