Update mysqltuner.pp

Enable present/absence.. in those cases when you only want mysqltuner installed for debugging
This commit is contained in:
David Collom 2013-09-24 14:43:11 +01:00
parent 9d0f9010c6
commit 0614fba911

View file

@ -1,8 +1,8 @@
#
class mysql::server::mysqltuner {
class mysql::server::mysqltuner($ensure='present') {
# mysql performance tester
file { '/usr/local/bin/mysqltuner':
ensure => present,
ensure => $ensure,
mode => '0550',
source => 'puppet:///modules/mysql/mysqltuner.pl',
}