This is solved with pluginsync option. Puppet will download any custom
facts/providers, so you should not distribute them to the agent as
file resources.
Thanks,
Nan
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Pluginsync should occur before facter executes and facts get submitted
to the server, so it should not be necessary to run puppet twice. Any
more info about your puppet version and system setup?
Ah, in this case lsbdistcodename is dependent on lsb packages. Yeah,
unfortunately this can't be solved with pluginsync, since pluginsync
doesn't install packages. This is one package I would suggest
including in the base image.
Pluginsync takes care of facts written purely in Ruby, so I did not
consider these other cases and I don't have a good solution for facts
with external dependency. Maybe tag resources required for facts and
run puppet agent -t --tags plugins. Definitely open for other better
solutions.
Thanks,
Nan