Thanks Daniel, in puppet.conf on the server: (we are just trying to get a file installed to the int environment client)
[main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl pidfile=$rundir/puppetmaster.pid [int] # modulepath = /etc/puppet/modules/int # manifest = /etc/puppet/manifests/int/site.pp manifest = /etc/puppet/int/site.pp modulepath = /etc/puppet/int/modules [pfm] modulepath = /etc/puppet/modules/pfm manifest = /etc/puppet/manifests/pfm/site.pp [site2] modulepath = /etc/puppet/modules/site2 manifest = /etc/puppet/manifests/site2/site.pp [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig # libdir = /usr/local/puppet-dashboard/lib:/usr/local/puppet-dashboard/lib/puppet [master] reports = http, store environments = pfm,int,site2 # environment = pfm ----------------------------------------------------------------------------------- the client puppet.conf: [main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig runinterval = 300 environment=int report = true ------------------------------------------------------------------------------------ # /etc/puppet/int/site.pp import "modules" import "nodes" node default { include barfoo } ------------------------------------------------------------------------------------ #/etc/puppet/int/modules/barfoo/manifests/init.pp class barfoo { file { "/tmp/myFile": owner => root, group => root, mode => 666, source => "puppet:///modules/barfoo/myFile" } } ------------------------------------------------------------------------------------ /etc/puppet/int/modules/barfoo/files/myFile exists but it doesn't get put on the agent in the int environment. There must be something we are not seeing here. On Thu, Nov 11, 2010 at 4:27 PM, Daniel Pittman <dan...@rimspace.net> wrote: > techn0gichida <jgloui...@gmail.com> writes: > > > Moving from 2.5 to 2.6.2 and I was wondering if there is a preferred > > directory structure for using multiple environments? Does it work much > > different in 2.6 than in 2.5? > > Not really substantially, no. > > > When I made the move I assumed (I know) that my current structure and > > configurations would just roll over but that isn't the case. > > It would be super-great if you could let us know what the problems were. > (Perhaps you have in other messages, but better to ask twice than never > hear > what problems folks are hitting, I figure. :) > > Regards, > Daniel > -- > ✣ Daniel Pittman ✉ dan...@rimspace.net ☎ +61 401 155 > 707 > ♽ made with 100 percent post-consumer electrons > > -- > 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<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- “Twenty years from now you will be more disappointed by the things that you didn’t do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.” – Mark Twain -- 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.