From 6c947dad34917990f24c9d590ff973ff72b5f82d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 12 Dec 2014 08:13:32 -0800 Subject: [PATCH] Only use environments on the master Having environment configs on not-master breaks puppet apply. Also, environments with puppet apply don't make sense. Change-Id: Ief6c8e9bf7d71ddc63dba484390124546f14b93a --- modules/openstack_project/templates/puppet.conf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openstack_project/templates/puppet.conf.erb b/modules/openstack_project/templates/puppet.conf.erb index c5c5024066..6e7e19e0f5 100644 --- a/modules/openstack_project/templates/puppet.conf.erb +++ b/modules/openstack_project/templates/puppet.conf.erb @@ -6,9 +6,6 @@ rundir=/var/run/puppet server=puppetmaster.openstack.org certname=<%= @certname %> pluginsync=true -basemodulepath = /etc/puppet/modules -environmentpath = /etc/puppet/environments -environmenttimeout = 0 [master] @@ -17,6 +14,9 @@ environmenttimeout = 0 ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY reports=store,puppetdb +basemodulepath = /etc/puppet/modules +environmentpath = /etc/puppet/environments +environmenttimeout = 0 <% if @ca_server -%> ca = false ca_server = <%= @ca_server %>