Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Is there a setting or search path I need to create?
 
 Details:
 
 puppet 3.0.1 facter 1.6.14-1.el6


I don't think this is supported in facter 1.6. One used to have the
stdlib module for it until facter 1.7 should be released, which will
provide that.

But maybe I'm wrong.

~pete
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFpd30ACgkQbwltcAfKi3921wCgqqmxl7eAybhAtl4Z7AKs0k5c
q2cAn3ynRWqJLoqxYFFY8YoSKPPjm8uG
=RMny
-END PGP SIGNATURE-

-- 
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+unsubscr...@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.




Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Keith Burdis
From that page: External facts are only available in Facter 1.7 and later.

I expect you need to either upgrade or install the stdlib module.

  - Keith
On 13 Apr 2013 15:18, Larry Fast lfast1...@gmail.com wrote:

 I'm trying to load custom facts via /etc/facter/facts.d/*  according to
 instructions on
 http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts

 I must have missed a setting somewhere because I get nothing.  The first
 clue may be that /etc/facter didn't exist. I had to create it manually.

 Is there a setting or search path I need to create?

 Details:

 puppet 3.0.1
 facter 1.6.14-1.el6
 centos 6

 I created 4 files in /etc/facter/facts.d:   y1.yaml, t1.txt, j1.json and
 r1.rb
 Each file has it's appropriate format yaml, text, json, ruby.
 facter --debug says nothing about these files
 running puppet agent the facts from these files do not appear

 --
 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+unsubscr...@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+unsubscr...@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.




Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Larry Fast
 From that page: External facts are only available in Facter 1.7 and 
later.
 I expect you need to either upgrade or install the stdlib module.
Thanks for that.  I knew I missed something.  ... but tell me more about 
the stdlib option.  I'm a bit leery of depending on the first RC of facter 
1.7.  Do you know that stdlib has some answer to this problem or was it 
just a speculation?
Thanks,
Larry

-- 
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+unsubscr...@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.




Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Dan White
I can speak directly on this !

You want http://forge.puppetlabs.com/puppetlabs/stdlib/3.2.0

This has the /etc/facter/facts.d/* Magic Pixie Dust in it.

I just went thru a brief panic attack when I updated to Facter 1.7 and 
puppetlabs-stdlib 4.0.2 !
The changelog says Remove facter_dot_d for compatibility with external facts” 
and I had to do some rapid searching and verifying that stuff put into 
/etc/facter/facts.d/* still worked.  Short answer: They do !

As far as details on stdlib, here you go:

https://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppet-labs-standard-library/

https://puppetlabs.com/blog/module-of-the-week-puppetlabs-stdlib-puppet-labs-standard-library-part-2/

https://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppetlabs-standard-library-part-3/

I find it very useful.  Hope you do as well.

On Apr 13, 2013, at 5:27 PM, Larry Fast wrote:

  From that page: External facts are only available in Facter 1.7 and later.
  I expect you need to either upgrade or install the stdlib module.
 Thanks for that.  I knew I missed something.  ... but tell me more about the 
 stdlib option.  I'm a bit leery of depending on the first RC of facter 1.7.  
 Do you know that stdlib has some answer to this problem or was it just a 
 speculation?
 Thanks,
 Larry
 
 
 -- 
 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+unsubscr...@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+unsubscr...@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.




Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Larry Fast
Thanks Dan,
I shall hunt down the elusive pixie dust!  BTW, do you know where to look
for a compatibility tree between stdlib and puppet version?
Cheers,
Larry


On Sat, Apr 13, 2013 at 2:38 PM, Dan White y...@comcast.net wrote:

 I can speak directly on this !

 You want http://forge.puppetlabs.com/puppetlabs/stdlib/3.2.0

 This has the /etc/facter/facts.d/* Magic Pixie Dust in it.

 I just went thru a brief panic attack when I updated to Facter 1.7 and
 puppetlabs-stdlib 4.0.2 !
 The changelog says Remove facter_dot_d for compatibility with external
 facts” and I had to do some rapid searching and verifying that stuff put
 into /etc/facter/facts.d/* still worked.  Short answer: They do !

 As far as details on stdlib, here you go:


 https://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppet-labs-standard-library/


 https://puppetlabs.com/blog/module-of-the-week-puppetlabs-stdlib-puppet-labs-standard-library-part-2/


 https://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppetlabs-standard-library-part-3/

 I find it very useful.  Hope you do as well.

 On Apr 13, 2013, at 5:27 PM, Larry Fast wrote:

   From that page: External facts are only available in Facter 1.7 and
 later.
   I expect you need to either upgrade or install the stdlib module.
  Thanks for that.  I knew I missed something.  ... but tell me more about
 the stdlib option.  I'm a bit leery of depending on the first RC of facter
 1.7.  Do you know that stdlib has some answer to this problem or was it
 just a speculation?
  Thanks,
  Larry
 
 
  --
  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+unsubscr...@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 a topic in the
 Google Groups Puppet Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/puppet-users/dsqLBBFpwGE/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 puppet-users+unsubscr...@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+unsubscr...@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.




Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Dan White
On the linked page !  First two sub-headings are “Versions” and “Compatibility” 

On Apr 13, 2013, at 5:46 PM, Larry Fast wrote:

 Thanks Dan,
 I shall hunt down the elusive pixie dust!  BTW, do you know where to look for 
 a compatibility tree between stdlib and puppet version?
 Cheers,
 Larry

-- 
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+unsubscr...@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.