diff options
author | Micah Anderson <micah@riseup.net> | 2012-04-04 17:47:13 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-04-04 17:47:13 -0400 |
commit | a55ce915da835e23b24054aa493d756f85f3b60d (patch) | |
tree | a0bf9e2c39b0da814b9fac006aacaa5b2830e485 /manifests/client.pp | |
parent | 32fdce32d9e90bd5a658b59c7ca5fe295412f0ae (diff) |
switch hiera to pull its variables in parameterized classes instead of inline in the manifest
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 6 |
1 files changed, 3 insertions, 3 deletions
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 } - + } |