diff options
-rw-r--r-- | manifests/server.pp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index ef59cb3..788654f 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -24,7 +24,7 @@ class mysql::server( require => [ Service['mysql'], Mysql::Cnf['root'] ], owner => root, group => root, - mode => 0500, + mode => '0500', notify => Exec['set_mysql_rootpw'], } @@ -39,15 +39,4 @@ class mysql::server( home => "/root", passwd => $rootpw, } - - define mysql::cnf($home, $passwd) { - file { "$home/.my.cnf": - content => template('mysql/my.cnf.erb'), - require => Service['mysql'], - owner => root, - group => root, - mode => 0400, - notify => Exec['set_mysql_rootpw'], - } - } } |