Add ability to override mgmt manifest path

We have it currently hardcoded that the manifests on the management
server are going to have an environment path. Add a variable to allow
override of that idea.

Change-Id: I226c030332ff93c3ee74650c7ab725994971f007
Needed-By: https://review.openstack.org/592763
This commit is contained in:
Monty Taylor 2018-08-17 04:51:07 -05:00
parent d8a1943081
commit 0a3c32b5ac
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 2 additions and 1 deletions

View File

@ -17,3 +17,4 @@ puppet_environment_basedir: '/opt/system-config/'
puppet_environment: production
puppet_timeout: 30m
futureparser: False
mgmt_manifestpath: '{{ manifest_base }}/{{ puppet_environment }}'

View File

@ -73,7 +73,7 @@
- name: copy puppet modules
synchronize:
src: "{{ manifest_base }}/{{ puppet_environment }}"
src: "{{ mgmt_manifestpath }}"
dest: "{{ manifest_base }}"
- name: ensure hieradata manifest link is present