Allow overiding the remote hieradata link dest
In order to support the layouts being different on the management server and the remote nodes, we need to also be able to override the location of the link that gets made. Add a variable that defaults to the old value. Change-Id: I7434c1b1a9d79f04b3e872e750057d69490e80e0
This commit is contained in:
parent
0a3c32b5ac
commit
7fc585e1ab
@ -18,3 +18,4 @@ puppet_environment: production
|
||||
puppet_timeout: 30m
|
||||
futureparser: False
|
||||
mgmt_manifestpath: '{{ manifest_base }}/{{ puppet_environment }}'
|
||||
puppet_hieradata_link_dest: '{{ manifest_base }}/hieradata'
|
||||
|
@ -79,7 +79,7 @@
|
||||
- name: ensure hieradata manifest link is present
|
||||
file:
|
||||
src: "{{ '/etc/puppet/hieradata' if puppet_version == '3' else '/etc/puppetlabs/code/environments' }}"
|
||||
dest: "{{ manifest_base }}/hieradata"
|
||||
dest: "{{ puppet_hieradata_link_dest }}"
|
||||
state: link
|
||||
when: copy_hieradata
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user