Hi Dan,

Thanks for this information. The --pluginsync option worked as
suggested.

Will look at adding this to our build process for new servers.

I agree it would be good to see pluginsync set to true as default in
the future.

Cheers,
Josh

On Aug 3, 7:28 pm, Dan Carley <dan.car...@gmail.com> wrote:
> On 3 August 2011 04:38, josbal <joshua.bald...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > Hi All,
>
> > I have an issue with puppet where we are getting errors on some of our
> > new built servers where the catalogue is trying to render before
> > distributing custom facts that are required to render the catalogue
> > correctly.
>
> > We are running puppet 2.6.6 server and client.
>
> > Error:
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: Failed to parse template sudo/sudoers: Could not find value
> > for 'customfact1' at /etc/puppet/default/modules/sudo/manifests/
> > init.pp:11 on node host.example.com
>
> > Its my understanding the 'customfact1' fact is meant to be transferred
> > to the host as part of the pluginsync process before the catalogue is
> > rendered, but this doesn't seem to be happening on our new builds from
> > the above error.
>
> > Does anyone have any insight into the pluginsync/catalogue process and
> > how this is fixable?
>
> The "pluginsync" config var defaults to false. I believe there's a ticket to
> default it to true in the future. But until that happens you have a few
> options:
>
> 1. Populate "pluginsync = true" in "puppet.conf" before the first run.
> 2. Use the "--pluginsync" argument on the first run
> 3. Possibly use stages to send out the correct "puppet.conf" before any
> modules use variables that are populated by custom facts.

-- 
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