On Feb 10, 3:59 pm, Forrie <for...@gmail.com> wrote:
> Facter will display the values associated with network_* specific
> settings.   Shouldn't there be a way to display all connected (active)
> networks in one command?    For example:
>
> # facter networks
> 192.168.1.2
> 10.0.1.1
> 10.10.23.0
>

Sounds like it would be simple enough to write a custom fact to do
this. My approach would probably involve returning an array of
existing facts that match ^network_

I'd probably want to take it a bit further though and return CIDR
formatted networks by combining the returned value of each
corresponding netmask_ fact.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to