Hi, On Mon, 2014-06-02 at 14:42 -0700, Gavin Williams wrote: > Hey all, > > I'm trying to use 'confine' on a network device provider to restrict > based on fact gathered from the network device. > > However for the life of me, I just cant get it to work... > The code looks like [1]. > > As you can see, I'm trying to confine on the 'clustered' fact, which > you can see is set in [2]. > > The logs of a puppet device run show 'Could not find a suitable > provider for netapp_volume' - full run is [3]. > > I'm currently using Puppet 3.5.1, with webrick. Though not sure if > that should make a difference. > > So, should confine based on network device facts work?!
I don't think this can work, because the confiner uses Facter directly instead of delegating to the fact terminus. Thus it looks into the hosts facts instead of asking the network devices facts. Unfortunately beside modifying the confiner system, I don't see any workarounds. Can you open a ticket, I'll see if I can come with a solution to this issue. Thanks! -- Brice Figureau My Blog: http://www.masterzen.fr/ -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/1401783119.418.5.camel%40arsenic.daysofwonder.com. For more options, visit https://groups.google.com/d/optout.
