Just in case you didn't know that command will only apply the
environment for that run.
It won't switch the node to the environment permanently, you need to
set environment in puppet.conf to do that.

On 9 August 2012 02:18, Ryan Coleman <[email protected]> wrote:
> On Wed, Aug 8, 2012 at 8:45 AM, Bernd Adamowicz
> <[email protected]> wrote:
>> Tried to attach one of my agents to another environment with a command like 
>> this:
>>
>> puppet agent --verbose --debug --server my.puppet.master --environment 
>> my_new_env --no-daemonize
>>
>> But it still receives the old catalog of the old environment. No errors or 
>> warnings in log files both on master and agent. So I can't provide more 
>> information. Agent and master are on version 2.6.12.
>>
>> Any ideas?
>
> What does the configuration look like in puppet.conf for the
> my_new_env environment?
>
>>
>> Thanks
>> Bernd
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>
>
> --
> Ryan Coleman | about.me/ryc
> Modules & Forge @ Puppet Labs
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to