From a55ce915da835e23b24054aa493d756f85f3b60d Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 4 Apr 2012 17:47:13 -0400 Subject: switch hiera to pull its variables in parameterized classes instead of inline in the manifest --- manifests/client.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/client.pp') diff --git a/manifests/client.pp b/manifests/client.pp index 8d2280f..005d8e8 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -1,12 +1,12 @@ -class mysql::client { +class mysql::client ( $use_shorewall = hiera('use_shorewall',false) { case $::operatingsystem { debian: { include mysql::client::debian } default: { include mysql::client::base } } - if hiera('use_shorewall',false) { + if $use_shorewall { include shorewall::rules::out::mysql } - + } -- cgit v1.2.3