search for: utc_hour

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

Did you mean: tm_hour
2012 Mar 16
3
custom fact issue
Would anyone please assist me on this one? This fact seems to work, but it doesn''t return when called directly via facter --puppet noop, but the resulting facts end up in the reports. I''m at wits end with this. Thanks! <snip> utc_hour = Facter::Util::Resolution.exec(%q</bin/date -u +"%H">).chomp Facter.add(:noop) do setcode do environment = Facter.value(:environment) if environment.match("test|dev|qa") result = false else...