I need to add --server like following, otherwise it will won't finish the run.
(I don't have/want puppet entry in my /etc/hosts)

puppet agent --server=puppetmaster.test.com  --test

--tags option is not need  in my case.

tj
On Fri, Jun 17, 2011 at 7:52 AM, Stefan Goethals <zipkid....@gmail.com> wrote:
>
> puppet agent --test (-t)
>
> Zipkid
>
> On 17 Jun 2011, at 14:49, TJ Yang wrote:
>
>> How do I initiate a certificate request without going into non-daemon mode ?
>>
>> According to "Pro Puppet" book, so far the only way I know that can
>> trigger a certficate request with puppet master is like this
>>
>> puppet agent --server=puppetmaster.test.com --no-daemonize --verbose
>>
>> but doing so will break my intention of automation I need to create a
>> puppet client package. A control-C is needed to terminate the process.
>> I have puppetmaster configured to be auto grant and sign certificate
>> requests. and I like puppet client can auto issue a request which will
>> be granted and start itself up when running
>> "/etc/init.d/puppetagent268  start"
>>
>>
>> Is there a command  "puppet cert --clean puppetagent1.test.com" for
>> puppet agent ?
>> For now I have to go into $ssldir subdirectory to manually cleanup
>> existing certificate.
>>
>> --
>> T.J. Yang
>>
>> --
>> 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.
>>
>
> --
> 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.
>
>



-- 
T.J. Yang

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