Hi Karl,

you can achieve this by one of the following procedures:

1. by stage
- enable stages 
http://docs.puppetlabs.com/puppet/latest/reference/lang_run_stages.html
- put build class into an early stage
- put all other classes into main stage

Pro: does need one puppet run only.

2. by fact
- in initial class we manage a fact (/etc/facter/facts.d) and provide all 
required resources which are needed initially.
- in standard modules we check for fact availability.

Note: the fact does not get delivered via pluginsync.
Con: needs two puppet runs as minimum.

hth,

Martin


On Sep 9, 2013, at 1:37 AM, kdo <[email protected]> wrote:

> Hey All,
> 
> I have been wondering how it might be possible to run a specific build module 
> when a puppet client signs in for the first time after being built. So I 
> guess the puppet master would need to be run in auto sign in mode and then 
> have a specific build module applied, ideally just once. Anyone looked into 
> this before ?
> 
> this build module is used to configure a server from start to finish at build 
> time only and is the removed. this would remove an additional step in our 
> build process
> 
> 
> 
> 
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users.
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to