Brice Damn, I had a feeling that might be the case :(
Have raised PUP-2717 [1]. Let me know if you need any further info... Cheers Gavin [1] https://tickets.puppetlabs.com/browse/PUP-2717 On Tuesday, 3 June 2014 09:12:03 UTC+1, Brice Figureau wrote: > > 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/7b9de63c-7471-4f29-839c-d077c30836be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
