Kapitan fails to compile with compose_node_name: true
ademariag opened this issue · 0 comments
ademariag commented
Describe the bug/feature
When using #933 and compose_node_name: true
, kapitan fails to compile when targeting individual target or labels
/kapitan compile -t test.dev
Rendered inventory (0.24s)
Compiled test.dev (0.12s)
Unknown (Non-Kapitan) error occurred:
Traceback (most recent call last):
File "/opt/venv/lib/python3.7/site-packages/kapitan/targets.py", line 179, in compile_targets
shutil.copytree(temp_path_target, compile_path_target)
File "/usr/local/lib/python3.7/shutil.py", line 318, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpufn67nog.kapitan/compiled/test.dev'
To Reproduce
Steps to reproduce the behavior:
- Enable compose_node_name: true following #933
- run
kapitan compile -t target_name
- crash