Andriy Yurchuk
2013-May-02 17:23 UTC
[Puppet Users] Facter and Puppet Agent custom confdir
I set custom confdir for Puppet Agent, start Puppet Agent as non-root user and then use pluginsync to sync my custom Facter facts to this agent (as a result they reside in $custom_confdir/var/lib/facter). With this config Facter fails to pick up my custom facts (facter -p does not show them). The same situation is with MCollective (mcollective-service-agent) that should use custom Puppet service providers from $custom_confdir/var/lib/puppet/provider/service but it can''t find them too. If I put my custom facts and service providers to ~/.puppet/var/lib/facterand ~/.puppet/var/lib/puppet/provider/service respectively everything works fine. I suspect that Facter and MCollective use either /etc/puppet or ~/.puppet (depending on who is running the agent) to find libdir. Is there any way I could tell Facter/MCollective to use my custom confdir/libdir? -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.