On Wednesday, November 12, 2014 12:20:53 PM UTC-6, Neil wrote: > > Hello > > I think the advantages of fact based implementation are you can use it in > hiera hieracy, query it in puppeydb etc > Facts do not provide an advantage over ordinary top-scope variables with respect to interpolation in Hiera <https://docs.puppetlabs.com/hiera/1/variables.html#passing-variables-to-hiera>. They do get recorded in puppetdb, but in a case like this, so too do all the underlying facts from which they are derived. The PuppetDB query API supports a regex match operator which could be used against the 'ipaddress' fact in this particular case, so at best the custom fact gets you a small convenience in your queries (which, however, are probably machine-generated anyway, so any such convenience is mostly wasted). I'm not sure what the "etc." could be.
John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/57531380-38d0-468e-a1aa-e0c459a8a6ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.