Sha256: 4e7b1456167c146d037bf2d3cd7fba732b1348b718ff3632c67f0ce62224e373
Contents?: true
Size: 479 Bytes
Versions: 7
Compression:
Stored size: 479 Bytes
Contents
# A plan that stores facts retrieved by the facts::retrieve plan # from the specified nodes into the inventory. # # The $nodes parameter is a list of nodes to retrieve the facts for. plan facts(TargetSpec $nodes) { $result_set = run_plan(facts::retrieve, nodes => $nodes) $result_set.each |$result| { # Store facts for nodes from which they were succefully retrieved if ($result.ok) { add_facts($result.target, $result.value) } } return $result_set }
Version data entries
7 entries across 7 versions & 1 rubygems