Closed ljesmin closed 8 years ago
@ljesmin thanks for your contribution! The catch to use lazy evaluation for the two fault properties is a great fix.
However, if ZK is executed in a subshell via SysV, all of the env vars should probably be exported, right? In either case, rather than add two additional lines to the end, I’d ask you please just export the vars at their initial assignment.
I went ahead & rebased this to fix it up against recent code changes, and merged it in. We’ll see what Travis has to say!
This PR solved three issues for me:
%{zookeeper_version}
)exports_config
was evaluated with value "true"/etc/default/zookeeper
was executed but now passed to subshells as variables were not exported. Exported some variables.