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" <oli...@obeattie.com> 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 Puppet takes care of. Conf files, which I would very
much
> like to be able to install as part of the same run depend on the variable
> being set.
>
> So, it seems I have myself a lovely little chicken and egg problem — any
> ideas?
>
> —Oliver
>
> --
> You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/D9ctUZ0f6CQJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to