I am trying to setup two branches on my puppet server. /etc/puppet will be the production one /etc/puppet.testing will be testing.
I have everything working except when on a client I run puppetd --test --masterport=8141 (which is the testing one) it will use /etc/puppet.testing/manifests/nodes.pp but when it pulls the packages in it uses the production aka /etc/puppet/modules/sudo/files/sudoers instead of /etc/puppet.testing/ modules/sudo/files/sudoers my thoughts are its in the config.ru somewhere but this is the file I dont fully understand. Both my test and production are the same and there is a copy below. #/etc/puppet.testing/puppetmasterd/config.ru # This file is mostly based on puppetmasterd, which is part of # the standard puppet distribution. require 'rack' require 'puppet' require 'puppet/network/http_server/rack' # startup code stolen from bin/puppetmasterd Puppet.parse_config Puppet::Util::Log.level = :info Puppet::Util::Log.newdestination(:syslog) # A temporary solution, to at least make the master work for now. Puppet::Node::Facts.terminus_class = :yaml # Cache our nodes in yaml. Currently not configurable. Puppet::Node.cache_class = :yaml # The list of handlers running inside this puppetmaster handlers = { :Status => {}, :FileServer => {}, :Master => {}, :CA => {}, :FileBucket => {}, :Report => {} } # Fire up the Rack-Server instance server = Puppet::Network::HTTPServer::Rack.new(handlers) # prepare the rack app app = proc do |env| server.process(env) end # Go. run app --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---