search for: amrunningos

Displaying 1 result from an estimated 1 matches for "amrunningos".

2013 Oct 21
3
how to pass the value to custom function?
...> if oss.key?(cls) > return oss[cls][0] > else > return ''undefined'' > end > end > end > and then in my module''s init.pp, I have this: $h= am_running_oss($::am_os_type) > notify { "=*=*= amRunningOS <|:|> ${h} =*=*=*=*=*=*=*=": } > (am_os_type is a fact, that returns *win*, *mac* or *linux* based on the node type) I was expecting to see *Jaguar* as the return value but I get *undefined*instead. What am I doing wrong? Is there anything still am I missing in terms of passing t...