Re: [Puppet Users] Custom fact question

2011-07-29 Thread Paul Morgan
On Jul 29, 2011 9:25 AM, "Oliver Beattie" wrote: > > I need it to run at a specified point during the manifest though. The value of the fact depends on a package being installed. And my config files depend on the value of the fact Will stages (pre, main, etc) help in this case? -- You received

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Craig White
On Jul 29, 2011, at 6:25 AM, Oliver Beattie wrote: > I need it to run at a specified point during the manifest though. The value > of the fact depends on a package being installed. And my config files depend > on the value of the fact. Rather than just conceptualize it - assume it works a

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Oliver Beattie
I need it to run at a specified point during the manifest though. The value of the fact depends on a package being installed. And my config files depend on the value of the fact. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this dis

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Nan Liu
On Fri, Jul 29, 2011 at 8:55 AM, Oliver Beattie wrote: > Hi, > I need to use the output of a script to set the value of a variable. I > understand the only way to do this is to use a custom Facter fact. > However, this script will only run when (naturally) it's been installed, > which is something

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Aaron Grewell
If you put your custom fact in a module and enable plugin sync it should be deployed and run before your manifest IIRC. On Jul 29, 2011 5:55 AM, "Oliver Beattie" wrote: > Hi, > > I need to use the output of a script to set the value of a variable. I > understand the only way to do this is to use a

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Dominik Zyla
On Fri, Jul 29, 2011 at 05:55:33AM -0700, Oliver Beattie wrote: > Hi, > > I need to use the output of a script to set the value of a variable. I > understand the only way to do this is to use a custom Facter fact. > > However, this script will only run when (naturally) it's been installed, which

[Puppet Users] Custom fact question

2011-07-29 Thread Oliver Beattie
Hi, I need to use the output of a script to set the value of a variable. I understand the only way to do this is to use a custom Facter fact. However, this script will only run when (naturally) it's been installed, which is something Puppet takes care of. Conf files, which I would very much li