Dear all,
I have a parameterized class and one of the args is a hash or an array
and I would like to check if they are empty or not?
I tried with
class test($hash, $array){
if $hash.empty? == true
{
}
if $array.empty? == true
{
}
}
but when I just
puppet parser validate init.pp
I would g
On Thu, 13 Oct 2011 10:01:49 -0700, midair77 wrote:
>
> Dear all,
>
> I have a parameterized class and one of the args is a hash or an array
> and I would like to check if they are empty or not?
>
> I tried with
>
> class test($hash, $array){
>if $hash.empty? == true
> {
> }
> if $array.e