Displaying 1 result from an estimated 1 matches for "vi7fznz1jxej".
2012 Aug 13
1
Ruby Facter.add syntax please help
Hi,
Please could someone take a look at the below code and tell me where it is
failing ?
Facter.add(''syslocation'') do
#confine :kernel => "Linux"
setcode do
name = Facter.value(''hostname'')
case name
when /^e(t|d|u|s|p|q)(p|v)(sol|lin)\d+/
"E DC"
when