On Wed, Jul 13, 2011 at 11:18 AM, newguy <[email protected]> wrote: > I have two development environments, main and development and my > puppet.conf looks like this: > > > [main] > logdir=/var/log/puppet > vardir=/var/lib/puppet > ssldir=/var/lib/puppet/ssl > rundir=/var/run/puppet > factpath=$vardir/lib/facter > pluginsync=false > templatedir=$confdir/templates > prerun_command=/etc/puppet/etckeeper-commit-pre > postrun_command=/etc/puppet/etckeeper-commit-post > > [development] > modulepath = /etc/puppet/environments/development/modules > manifests=/etc/puppet/environments/development/manifests/site.pp > > I have made nodes.pp for both environments. > > now when I execute the following on the client: > puppetd --test --verbose --environment development > it access the nodes.pp in the /etc/puppet/manifests rather than going > to /etc/puppet/environments/development/manifests/nodes.pp > > In my site.pp stored at /etc/puppet/environments/development/manifests/ > site.pp I have the following: > import 'nodes.pp' > > How should I make puppet access the correct nodes.pp???
Try: [development] modulepath = /etc/puppet/environments/development/modules manifestdir = /etc/puppet/environments/development/manifests manifests=/etc/puppet/environments/development/manifests/site.pp Thanks, Nan -- 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.
