Closed knightorc closed 5 years ago
This is being polluted cwd ::File.dirname(new_resource.program)
Both cookbooks have in their helper.rb library ( I believe this is where the issue stems from)
consul
def config_prefix_path
windows? ? join_path(program_files, 'consul') : join_path('/etc', 'consul')
end
...
Chef::Node.send(:include, ConsulCookbook::Helpers)
hashicorp-vault
def config_prefix_path
windows? ? join_path(program_files, 'vault') : join_path('/etc', 'vault')
end
...
Chef::Node.send(:include, VaultCookbook::Helpers)
Offending Node.send lines....
I'll look at how difficult it would be to switch it to
extend VaultCookbook::Helpers or extend ConsulCookbook::Helpers
and remove the Chef::Node.send
where necessary and possibly submit a PR for you consideration.
Closed via #500
if this is incorrecrt pleas reopen
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm investigating this issue.
Testing pre release hashicorp-vault and I'm seeing it mucking with consul, 3.0.0 and 3.1.0
Specifically noticed this
cwd "C:\\Program Files\\vault\\0.8.4"
which was weird. should beconsul
notvault