[Puppet Users] Detect when files are put in a directory? And alternatives?

2014-01-02 Thread Shark Laser
I'm a puppet newbie but have gone through the tutorial and now read most of a book on the subject.(So please tell me if I am approaching the problem wrong conceptually). Problem: We want a directory where any user can put a file which will signify a program that is to be installed by Pup

[Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Shark Laser
Platform: I've downloaded and installed the learning VM. This system runs CentOS with Facter v1.7.3 and Puppet v3.3.1 (Puppet Enterprise 3.1.0). I've created a fact called hello.rb with the following content: Facter.add(:hello) do setcode do "Hello world!

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Shark Laser
The simpler ruby script you gave still exhibits the same behavior. I'm sure the code in the facts I am using is correct, so I don't think it is a matter of their content. As I mentioned I have literally copied examples from the tutorial and elsewhere. If I run facter --debug all of the fa

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-09 Thread Shark Laser
ib/facter/ > > if you do a puppet agent -t, it will deployed in the right place by puppet. > > you can also do a 'puppet plugin download' > > hope this helps > > > > On 01/08/2014 10:52 PM, Shark Laser wrote: > > > Platform: I've downloaded