Re: [Puppet Users] register question

2013-10-31 Thread Jo Rhett
Use "--environment nonexistent" or "--tags nothingmatchesme" :)

On Oct 30, 2013, at 1:44 PM, Paras pradhan  wrote: 
> When I register to master using:  puppet agent --server puppetmaster 
> --waitforcert 60 --test , it does register but also runs: puppet agent -t 
> internally. I *only* need to register to master.  is it possibie?
> 
> 
> 
> Thanks
> 
> Paras.
> 
> 
> -- 
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/aacf59f5-a1de-48c9-a87b-16c17daab716%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.

Author of Instant Puppet 3 Starter: 
http://www.netconsonance.com/instant-puppet-3-starter-book/



-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8680D630-8742-422E-83C5-A0AFDDC3BBE3%40netconsonance.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] register question

2013-10-31 Thread Jo Rhett
On Oct 31, 2013, at 5:55 AM, Dan White  wrote:
> --waitforcert
> This option only matters for daemons that do not yet have certificates and it 
> is enabled by default, with a value of 120 (seconds). This causes 'puppet 
> agent' to connect to the server every 2 minutes and ask it to sign a 
> certificate request. This is useful for the initial setup of a puppet client. 
> You can turn off waiting for certificates by specifying a time of 0.

Every build of puppet I've ever used over the years doesn't have a default for 
waitforcert. I never specify the option because I want it to fail immediately, 
and it does ;-)

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.

Author of Instant Puppet 3 Starter: 
http://www.netconsonance.com/instant-puppet-3-starter-book/



-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/91A34899-2E14-4659-BB0D-BF8F0E4CFC8F%40netconsonance.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] register question

2013-10-30 Thread Paras pradhan
 

Hi, 

When I register to master using:  puppet agent --server puppetmaster 
--waitforcert 60 --test , it does register but also runs: puppet agent -t 
internally. I *only* need to register to master.  is it possibie?


Thanks

Paras.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/aacf59f5-a1de-48c9-a87b-16c17daab716%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.