From 42145601c1cc268c1b120d75f6d4e5f455a8c103 Mon Sep 17 00:00:00 2001 From: Jan Collijs Date: Thu, 16 May 2013 09:37:50 +0200 Subject: [PATCH] Puppet-lint 0.3.2 qualified code --- .puppet-lint.rc | 1 + manifests/adminpass.pp | 2 +- manifests/service.pp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.puppet-lint.rc b/.puppet-lint.rc index b0d12b7..fb37551 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1 +1,2 @@ --no-80chars-check +--no-class_inherits_from_params_class-check diff --git a/manifests/adminpass.pp b/manifests/adminpass.pp index cf11239..a3baf69 100644 --- a/manifests/adminpass.pp +++ b/manifests/adminpass.pp @@ -48,7 +48,7 @@ ) { exec {"percona-adminpass-${name}": - onlyif => [ + onlyif => [ 'test -f /usr/bin/mysqladmin', "mysqladmin -u${user} -h${host} status", ], diff --git a/manifests/service.pp b/manifests/service.pp index 921cf48..81fe610 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -9,8 +9,8 @@ if $::percona::server { service { $service_name: - alias => 'mysql', ensure => $service_ensure, + alias => 'mysql', enable => $service_enable, require => [ Class['percona::config::server'],