Skip to content

Instantly share code, notes, and snippets.

@richardc
Created September 23, 2014 02:07
Show Gist options
  • Save richardc/49e137c76e7d1c592b67 to your computer and use it in GitHub Desktop.
Save richardc/49e137c76e7d1c592b67 to your computer and use it in GitHub Desktop.
[main]
trusted_node_data = true
parser = future
stringify_facts = false
$u = $facts['system_uptime']
each($u) | $k, $v | {
notice("$k $v")
}
$ puppet apply --config foo.conf foo.pp
Notice: seconds 265940
Notice: hours 73
Notice: days 3
Notice: uptime 3 days
Notice: Compiled catalog for socks.local in environment production in 0.40 seconds
Notice: Finished catalog run in 0.10 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment