Hi all,

i have some trouble using environments and fileservicing.

I have tried to configure multiple environments like '10_1_0' and
'10_2_0' for example.
The environment is stored within the environment variable in LDAP node
definition.
e.g. evironment=10_2_0

* puppet-version: 0.25.4

puppet.conf:
...
[main]
        ...
        modulepath = $confdir/modules
        manifestdir = $confdir/manifests
        manifest = $manifestdir/site.pp
        ...
[10_1_0]
        modulepath = $confdir/10_1_0/modules
[10_2_0]
        modulepath = $confdir/10_2_0/modules
...

If i run the puppetd on the client, i got the error:
err: //testfiletransfer::base::solaris/File[/var/tmp/andreas]: Failed
to retrieve current state of resource: Could not retrieve information
from source(s) puppet:///modules/testfiletransfer/Solaris/file5m at /
pkg/AMPM/AMPMnp/sfw/etc/puppet/10_2_0/modules/testfiletransfer/
manifests/classes/base_solaris.pp:7

The error doesn't occurs if i use the '--environment=10_2_0' comand
line parameter on the client side.

But i want to use the 'puppetrun' command from master server, and not
running the command on the client side.

If  i add the production environment section into the main section of
puppet.conf, th file out of these environment will be served, an not
the file out of the configured environment...

Is it possible to run the fileserver with multiple environments which
are configured inexternal node definitions?

Regards
A&T

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to