diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:05:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:05:45 -0300 |
commit | 8d669d382652acd8b2ca4f827ddfc672527ca791 (patch) | |
tree | 67f9be268818942d3311c34c383fbe0245c6c2cf | |
parent | 0293b06e919015d2df78f182fcbb01e06a16711c (diff) | |
download | puppet-database-8d669d382652acd8b2ca4f827ddfc672527ca791.tar.gz puppet-database-8d669d382652acd8b2ca4f827ddfc672527ca791.tar.bz2 |
Changes for puppet 4 compatibility
-rw-r--r-- | manifests/config.pp | 2 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index c2883fd..1a9eb91 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -3,7 +3,7 @@ define database::config($value, $ensure = 'present') { ensure => $ensure, owner => root, group => root, - mode => 0644, + mode => '0644', content => "[mysqld]\n${name} = ${value}\n", notify => Service['mysql'], } diff --git a/manifests/init.pp b/manifests/init.pp index 92add17..90b1342 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -10,7 +10,7 @@ class database { ensure => absent, owner => root, group => root, - mode => 0644, + mode => '0644', content => "mysql soft nofile 24000\nmysql hard nofile 32000\n", } |