gecko
2011-Nov-02 09:54 UTC
[Puppet Users] Puppetrun/kick : Possibility to choose environment
How could it be possible to choose an environment for deploy via Puppetrun ? It''s easy by ssh (ssh user@hostname sudo puppetd -t -- environment="env"), i''am running with puppet 2.6.4 on Ubuntu 8.04/10.04. Cheers -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jo Rhett
2011-Nov-03 07:41 UTC
Re: [Puppet Users] Puppetrun/kick : Possibility to choose environment
From what I have read in the docs, you can''t. You have to switch over to using tags. On Nov 2, 2011, at 2:54 AM, gecko wrote:> How could it be possible to choose an environment for deploy via > Puppetrun ? It''s easy by ssh (ssh user@hostname sudo puppetd -t -- > environment="env"), i''am running with puppet 2.6.4 on Ubuntu > 8.04/10.04. > > Cheers > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Andrew Hendry
2011-Nov-04 08:27 UTC
Re: [Puppet Users] Puppetrun/kick : Possibility to choose environment
Couldn''t figure this one out either. It would be great to run a kick and pass it a git tag, then have the master notice that and setup some kind of temporary environment to serve that tag. For the moment we have a bunch of different environments, eg projectA, projectB, projectC and the clients in each have their puppet.conf environment set to the right one. This allows kicks to come back to the right environment, but still gets annoying when we want projectA dev systems to point to git tag projectA-1.03 and projectA prod systems to point to git tag projectA-1.01 at the same time. Making an environment named ''project-version'' for every release of an environment could work but would create environment sprawl and churn in puppet.conf. Also haven''t found normal puppet tags too useful for the multiple projects different versions case. If you find a way to make kick work with different environments please tell :) On Thu, Nov 3, 2011 at 6:41 PM, Jo Rhett <jrhett@netconsonance.com> wrote:> From what I have read in the docs, you can''t. You have to switch over to using tags. > > On Nov 2, 2011, at 2:54 AM, gecko wrote: >> How could it be possible to choose an environment for deploy via >> Puppetrun ? It''s easy by ssh (ssh user@hostname sudo puppetd -t -- >> environment="env"), i''am running with puppet 2.6.4 on Ubuntu >> 8.04/10.04. >> >> Cheers >> >> -- >> 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+unsubscribe@googlegroups.com. >> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >> > > -- > Jo Rhett > Net Consonance : consonant endings by net philanthropy, open source and other randomness > > -- > 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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.