Hello Ohad,

     Essentially I'm trying to have two separate sets of nodes: One
set defined externally via Foreman (Main Env), and one set specified
directly in puppet (development_prog env ).  I'm just trying to test
out how my code works in one env versus the other.  Is this possible?
Can I serve internal and external nodes via the same puppet/foreman
install?  Please advise.

Thanks,


On Sep 13, 10:39 am, Ohad Levy <[email protected]> wrote:
> what is the foreman environment for the node? if you are using external
> nodes, than you usually just need to define the environment there (and its
> not required on the puppet.conf).
>
> afair there was a bug with the ordering if its defined in multiple places
> (e.g. who has a higher prio when defined in puppet.conf and in external
> nodes).
>
> Ohad
>
>
>
> On Mon, Sep 13, 2010 at 4:26 PM, CraftyTech <[email protected]> wrote:
> > Has anyone ran into this particular issue before?  It seems straight
> > forward to have multiple environments, by outlining them in
> > puppet.conf for both server and client, but for some reason is not
> > working.  Has anyone have had experience with this particular issue?
>
> > Thanks,
>
> > On Sep 10, 3:14 pm, CraftyTech <[email protected]> wrote:
> > > puppet.conf (server):
>
> > > [main]
> > >     vardir = /var/lib/puppet
> > >     logdir = /var/log/puppet
> > >     rundir = /var/run/puppet
> > >     reports= log,foreman
> > >     clientyamldir = /var/lib/puppet/yaml/node
> > >     pluginsync = true
> > >     external_nodes = /etc/puppet/external_node.rb
> > >     node_terminus = exec
> > >     manifest  = /etc/puppet/manifests/site.pp
> > >     modulepath = /etc/puppet/modules
>
> > > [development_prog]
> > >     manifest  = /code/puppet/manifests/site.pp
> > >     modulepath = /code/puppet/modules
>
> > > [puppetmasterd]
> > >     ssl_client_header = SSL_CLIENT_S_DN
> > >     ssl_client_verify_header = SSL_CLIENT_VERIFY
> > >     templatedir = /etc/puppet/manifests/templates
> > >     clientyamldir = /var/lib/puppet/yaml/node
> > >     reportdir = /var/lib/puppet/reports
> > >     storeconfigs = true
> > >     dbadapter = mysql
> > >     dbuser = app_puppet
> > >     dbpassword = xxxxxxxxxxxx
> > >     dbserver = localhost
> > >     dbsocket = /sql/mysql/mysql.sock
> > >     rrddir = /var/lib/puppet/rrd
> > >     rrdinterval = $runinterval
> > >     rrdgraph = true
>
> > > [puppetd]
> > >     report = true
>
> > > Puppet.conf (client):
> > > [puppetd]
> > > environment = development_prog
> > > report = true
> > > listen = true
> > > runinterval =  43200
>
> > >      Yet, when I run "puppetd -t" it still tries to use the external
> > > node classifier, and it ignores the development_prog setting... What
> > > am I missing here?  Does the fact that I foreman as an external node
> > > classifier precludes me from using an alternate dev environment
> > > locally?  Please advise.
>
> > > Cheers,
>
> > --
> > 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]<puppet-users%2bunsubscr...@google 
> > groups.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 [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