You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The list of unsafe processes is not being generated in a way the facter expects it. The processes are concatenated by \n instead of a newline character.
Expected Behavior
The file "patching_unsafe_processes" should list the process names line by line.
Steps to Reproduce
Just add multiple unsafe processes, e.g. in Hiera:
patching_as_code::unsafe_process_list:
proc1
proc2
proc3
Environment
patching_as_code 1.1.7
Additional Context
The \n must be enclosed in double quotes instead of single quotes to be interpreted as newline. The affected line in init.pp should read:
content => $unsafe_process_list.join("\n"),
The text was updated successfully, but these errors were encountered:
Describe the Bug
The list of unsafe processes is not being generated in a way the facter expects it. The processes are concatenated by \n instead of a newline character.
Expected Behavior
The file "patching_unsafe_processes" should list the process names line by line.
Steps to Reproduce
Just add multiple unsafe processes, e.g. in Hiera:
patching_as_code::unsafe_process_list:
Environment
patching_as_code 1.1.7
Additional Context
The \n must be enclosed in double quotes instead of single quotes to be interpreted as newline. The affected line in init.pp should read:
content => $unsafe_process_list.join("\n"),
The text was updated successfully, but these errors were encountered: