diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:46 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:46 -0300 |
commit | 3be799287f7bb8945f8e1578de257c08a12ac20f (patch) | |
tree | 460e596c8773ca65f043768890f587a49e7c66ca | |
parent | d9d7c4705ab704f8dcc9b34c984cc550f6ae5534 (diff) | |
download | puppet-mysql-3be799287f7bb8945f8e1578de257c08a12ac20f.tar.gz puppet-mysql-3be799287f7bb8945f8e1578de257c08a12ac20f.tar.bz2 |
Changes for puppet 4 compatibility
-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'], - } - } } |