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

How to form an array from the attribute of the resources collected using resource collector?

$
0
0
@@host { $::fqdn: ensure => 'present', host_aliases => [$::hostname], ip => $::ipaddress, tag => 'classroom', } Host <<| tag == 'classroom' |>> How can i form a array of ip addresses (ip attribute of host resource) of all the hosts tagged classroom?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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