So I have a bunch of linux servers in different groups. Each server's group
is defined as a custom fact. I want to set an array variable based on the
server's group membership, so I have code like this:
case $servergroup {
MAMMAL: { $foo = ['horse', 'cow', 'dog'] }
REPTILE: { $foo =
On Fri, Feb 21, 2014 at 3:47 PM, Kim Scarborough chow...@gmail.com wrote:
Is what I'm trying possible? Am I going about this totally the wrong way?
Check out how classifying your data using Hiera can resolve and simplify this:
http://docs.puppetlabs.com/hiera/1/index.html#why-hiera
--
You
On Friday, February 21, 2014 7:09:43 PM UTC-6, Trammael wrote:
Check out how classifying your data using Hiera can resolve and simplify
this:
http://docs.puppetlabs.com/hiera/1/index.html#why-hiera
Wow, that's hard to understand (at least for me). Will that still work with
an array in a