Hi Ohad,

On your forum I've posted a bit more extensive question
(http://theforeman.org/boards/2/topics/show/119) just in case this is a bit
offtopic here.

I'm already using Foreman for a while with external node mode.
But I've configured now puppet with environments like this:
==================
(...)
[development]
    modulepath = /etc/puppet/development/modules:/etc/puppet/modules
[testing]
    modulepath = /etc/puppet/testing/modules:/etc/puppet/modules
==================
But I don't see these environments showing up on the Foreman interface.
I've also tried to create an environment inside foreman and assign it to a
host, but I don't see it having any effect on the class assignment. 

In other words, foreman's environments are not working here and not relating
to puppet's, and I can't find documentation about it in foreman's wiki or
anywhere.

It might be worth mentioning that I'm not using foreman to deploy new
machines yet. I'm managing existing machines and now they are all assigned
to "production", and I would like now to assign some of them to
"development" and "testing" to be able to develop and deploy new
modules/classes to them without affecting production.

Pls Help ? :)

Thanks!
Cheers,
Marcello


> -----Original Message-----
> From: puppet-users@googlegroups.com [mailto:puppet-
> us...@googlegroups.com] On Behalf Of Ohad Levy
> Sent: vrijdag 26 februari 2010 18:55
> To: puppet-users@googlegroups.com
> Subject: Re: [Puppet Users] Foreman environments vs. Puppet
> Environments
> 
> Foreman can manage puppet environment assignments to hosts if you use
> external nodes mode
> (http://theforeman.org/wiki/foreman/External_Nodes).
> 
> Foreman can scan your existing modules assigning the right classes to
> the relevant environments.
> 
> there is another environment settings in foreman (e.g. if you start the
> server in the command line) - this is rails environment and is not
> related to puppet at all.
> 
> hope this helps,
> Ohad
> 
> 
> On Fri, Feb 26, 2010 at 6:56 PM, Marcello de Sousa <li...@area151.com>
> wrote:
> 
> 
>       Does anybody know or have a Howto on how to use "Foreman
> environments" and
>       their relationship and interaction with "puppet environments" ?
> 
>       If they are not related, is there a way to assign a machine to a
> "puppet
>       environment" via Foreman's interface ?
> 
>       Cheers,
>       Marcello
> 
>       --
>       You received this message because you are subscribed to the
> Google Groups "Puppet Users" group.
>       To post to this group, send email to puppet-
> us...@googlegroups.com.
>       To unsubscribe from this group, send email to puppet-
> users+unsubscr...@googlegroups.com <mailto:puppet-
> users%2bunsubscr...@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-us...@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-us...@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