Don't try to make a link before the directory
We need to copy the puppet modules BEFORE we make a link to the hieradata into the manifest_base directory. Doh. Change-Id: Ic62f32f50012b9787773fb436ce50a616adf42f7
This commit is contained in:
parent
7fff1b962c
commit
f5ec19782a
@ -26,13 +26,6 @@
|
||||
mode: 0600
|
||||
with_items: hiera_file_paths.paths|default()
|
||||
|
||||
- name: ensure hieradata manifest link is present
|
||||
file:
|
||||
src: "{{ hieradata }}"
|
||||
dest: "{{ manifest_base }}/hieradata"
|
||||
state: link
|
||||
when: manifest_base is defined
|
||||
|
||||
when: copy_hieradata
|
||||
|
||||
- block:
|
||||
@ -41,6 +34,13 @@
|
||||
src: "{{ manifest_base }}/{{ puppet_environment }}"
|
||||
dest: "{{ manifest_base }}"
|
||||
|
||||
- name: ensure hieradata manifest link is present
|
||||
file:
|
||||
src: "{{ hieradata }}"
|
||||
dest: "{{ manifest_base }}/hieradata"
|
||||
state: link
|
||||
when: copy_hieradata
|
||||
|
||||
- name: copy system puppet modules
|
||||
synchronize:
|
||||
src: /etc/puppet/modules
|
||||
|
Loading…
x
Reference in New Issue
Block a user