Emily Marx
2013-Feb-13 20:19 UTC
[Puppet Users] facter-dot-d: not reading /etc/facts.d on agent
Hello, I am a new puppet user and I am trying to have my agent use facts defined in /etc/facts.d. I followed the instructions in the facter-dot-d readme and did the following: 1. Included stdlib in the node 2. agent -t --pluginsync (confirmed that facter-dot-d was run) 3. created a test.txt file with values (test=123) in /etc/facts.d 4. ran facter --puppet My fact was not displayed. When I did something similar on the master (put file in /etc/puppetlabs/facter/facts.d) it worked fine. Does anyone know how I can create and set these facts on the agent? Thanks, Emily -- 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.
Peter Brown
2013-Feb-14 02:16 UTC
Re: [Puppet Users] facter-dot-d: not reading /etc/facts.d on agent
Hello Emily, I am reasonably sure you put your yaml files in /etc/facter/facts.d On 14 February 2013 06:19, Emily Marx <etmarx@gmail.com> wrote:> Hello, > > I am a new puppet user and I am trying to have my agent use facts defined > in /etc/facts.d. I followed the instructions in the facter-dot-d readme and > did the following: > 1. Included stdlib in the node > 2. agent -t --pluginsync (confirmed that facter-dot-d was run) > 3. created a test.txt file with values (test=123) in /etc/facts.d > 4. ran facter --puppet > > My fact was not displayed. When I did something similar on the master (put > file in /etc/puppetlabs/facter/facts.d) it worked fine. Does anyone know > how I can create and set these facts on the agent? > > Thanks, > > Emily > > -- > 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. > > >-- 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.