Issue #3550 has been updated by James Turnbull. Category set to plumbing Status changed from Unreviewed to Duplicate
---------------------------------------- Bug #3550: multiple fileserver configs don't work http://projects.puppetlabs.com/issues/3550 Author: Russell Miller Status: Duplicate Priority: Normal Assigned to: Category: plumbing Target version: Affected version: 0.25.4 Keywords: Branch: I sent this to puppet-dashboard. Moving it here instead... Russell Miller wrote: > I have a multiple environment puppet server set up with the following structure: there are five environments. each one has a separate fileserverconfig variable pointing to a different fileserver.conf file. Each fileserver.conf file has a different path setting for [files]. > > However, it only seems to read the first one. No matter which environment I use, it points to the "development" environment. This isn't the behavior I was expecting. > > puppet.conf: > > [main] > # Where Puppet stores dynamic and growing data. > # The default value is '/var/puppet'. > vardir = /var/lib/puppet > > # The Puppet log directory. > # The default value is '$vardir/log'. > logdir = /var/log/puppet > > # Where Puppet PID files are kept. > # The default value is '$vardir/run'. > rundir = /var/run/puppet > > # Where SSL certificates are kept. > # The default value is '$confdir/ssl'. > ssldir = $vardir/ssl > > pluginsync = true > factpath = $vardir/lib/facter > > modulepath = /etc/puppet/modules > > [puppetd] > # The file in which puppetd stores a list of the classes > # associated with the retrieved configuratiion. Can be loaded in > # the separate ``puppet`` executable using the ``--loadclasses`` > # option. > # The default value is '$confdir/classes.txt'. > classfile = $vardir/classes.txt > > # Where puppetd caches the local configuration. An > # extension indicating the cache format is added automatically. > # The default value is '$confdir/localconfig'. > localconfig = $vardir/localconfig > server = pupp002.ir.dc > # splay = true > runinterval = 600 > > report = true > > [puppetmasterd] > reportdir = /var/lib/puppet/reports > reports = puppet_dashboard > > [development] > manifest = /home/svn/puppet/repo/manifests/site.pp > modulepath = /home/svn/puppet/repo/modules > fileserverconfig = /etc/puppet/fileserver.conf.development > > [qa] > manifest = /home/svn/puppet/releases/qa/puppet/manifests/site.pp > modulepath = /home/svn/puppet/releases/qa/puppet/modules > fileserverconfig = /etc/puppet/fileserver.conf.qa > > [staging] > manifest = /home/svn/puppet/releases/staging/puppet/manifests/site.pp > modulepath = /home/svn/puppet/releases/staging/puppet/modules > fileserverconfig = /etc/puppet/fileserver.conf.staging > > [prodtest] > manifest = /home/svn/puppet/releases/prodtest/puppet/manifests/site.pp > modulepath = /home/svn/puppet/releases/prodtest/puppet/modules > fileserverconfig = /etc/puppet/fileserver.conf.prodtest > > [production] > manifest = /home/svn/puppet/releases/prod/puppet/manifests/site.pp > modulepath = /home/svn/puppet/releases/prod/puppet/modules > fileserverconfig = /etc/puppet/fileserver.conf.prod > > > > and one of the fileserver.confs: > > # This file consists of arbitrarily named sections/modules > # defining where files are served from and to whom > > # Define a section 'files' > # Adapt the allow/deny settings to your needs. Order > # for allow/deny does not matter, allow always takes precedence > # over deny > # [files] > # path /var/lib/puppet/files > # allow *.example.com > # deny *.evil.example.com > # allow 192.168.0.0/24 > [files] > path /home/svn/puppet/repo/manifests/files > allow 192.168.0.0/16 > allow 10.0.0.0/8 > > [plugins] > allow 192.168.0.0/16 > allow 10.0.0.0/8 > > > Thanks. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
