On Aug 14, 2009, at 4:39 PM, Nigel Kersten wrote: > To make it clearer, my primary concern is per-environment facts (and > thus plugins) > > > So here's how things stand as far as I can see: > > * factsyncing is deprecated for 0.25.x > > * plugins in modules with environments won't be working for 0.25.x > so we can't distribute facts that way
Plugin distribution per-environment should work just fine in 0.25, and as far as I've ever heard it does. The only thing that doesn't work per-environment, AFAIK, is anything that loads into memory in the puppetmaster, which means functions, resource types, and providers. > > * We can no longer create a 'plugins' module per-environment and > serve out of plugins/files/ as it always falls back to the > autogenerated mount point > > * If we try to override this by defining a path for the plugins > mount, Puppet ignores your attempt to set it. These two seem to be a similar problem and definitely what I would call a bug. > > The only workaround I have right now to allow you to have separate > facts per environment is to create another module, say 'custom' and > store all your plugins there, so a fact would be at: > > custom/files/facter/foo.rb > > and then the clients have: > > --pluginsync > --factpath $vardir/facter > --pluginsource puppet://$server/custom > > > This is pretty crappy. I missed watching the relevant bug, so didn't > notice Luke bumping it to 0.26.0 > > http://projects.reductivelabs.com/issues/1175 > > > Am I missing something? A bunch of bug reports? -- I am not young enough to know everything. -- Oscar Wilde --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
