----- Original Message -----
> From: "Shannon McFarland" <shmcf...@gmail.com>
> To: puppet-users@googlegroups.com
> Sent: Tuesday, July 31, 2012 4:22:31 PM
> Subject: Re: [Puppet Users] $concat_basedir not defined
> 
> Here is the deal, we are trying to launch the puppet agent --test
> from the preseed file using this line:
> d-i preseed/late_command string in-target puppet agent --test
> --waitforcert 0 || true;
> 
> 
> I tried using 'puppet agent --config=/etc/puppet/puppet.conf --test
> --waitforcert 0' given your suggestion but I don't think that it is
> a valid flag for the puppet agent (--config).
> 
> 
> During the late_command run it gets a cert from the master just fine
> but then dies:
> 
> 
> 
> Jul 31 23:13:08 puppet-agent[5244]: Caching certificate for
> controller-1.example.com
> Jul 31 23:13:08 in-target: ^[[0;32minfo: Caching certificate for
> controller-1.example.com^[[0m
> Jul 31 23:13:09 puppet-agent[5244]: Caching
> certificate_revocation_list for ca
> Jul 31 23:13:09 in-target: ^[[0;32minfo: Caching
> certificate_revocation_list for ca^[[0m
> Jul 31 23:13:11 puppet-agent[5244]: Could not retrieve catalog from
> remote server: Error 400 on
> SERVER: $concat_basedir not defined. Try running again with
> pluginsync enabled at /usr/share/pup
> pet/modules/concat/manifests/setup.pp:25 on node controller
> Jul 31 23:13:11 in-target: ^[[1;35merr: Could not retrieve catalog
> from remote server: Error 400
> on SERVER: $concat_basedir not defined. Try running again with
> pluginsync enabled at /usr/share
> /puppet/modules/concat/manifests/setup.pp:25 on node control
> Jul 31 23:13:11 puppet-agent[5244]: Not using cache on failed catalog
> Jul 31 23:13:11 in-target: ^[[0;33mwarning: Not using cache on failed
> catalog^[[0m
> Jul 31 23:13:11 puppet-agent[5244]: Could not retrieve catalog;
> skipping run
> Jul 31 23:13:11 in-target: ^[[1;35merr: Could not retrieve catalog;
> skipping run^[[0m
> 
> 
> Does the 'puppet agent' command support a path to the correct
> puppet.conf?

it does, are you certain it has pluginsync=true in the config 
file at that time? 

you can also just do --pluginsync on the command line

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