Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Check if a resource has been collected

$
0
0
Hi, It's possible to check if a resource has been collected in <<| |>> or <| |> sentences ? Use case: node 1: export a resource with self-info (like hostname in an augeas properties.lens) node 2: tries to import/collect that resource. If it has been collected, the augeas (containing the hostname) is used to write in a local properties file. If not, that hostname must be retrieved from hiera. Is that possible with puppet ? Thanks in advance.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>