Skip to content

Commit

Permalink
Hardcoding /opt/opscode is bad, mkay
Browse files Browse the repository at this point in the history
Signed-off-by: tyler-ball <[email protected]>
  • Loading branch information
tyler-ball committed Feb 2, 2017
1 parent c87299b commit 2b1a534
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
<%- if node['private_chef']['fips_enabled'] -%>
## Runtime switches to enable loading custom crypto module
## that supports OpenSSL-FIPS
-env ERLANG_CRYPTO2_PATH /opt/opscode/embedded/lib/erlang-crypto2/priv
-pa /opt/opscode/embedded/lib/erlang-crypto2/ebin
-env ERLANG_CRYPTO2_PATH <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/priv") =%>
-pa <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/ebin") =%>
<%- end -%>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
<%- if node['private_chef']['fips_enabled'] -%>
## Runtime switches to enable loading custom crypto module
## that supports OpenSSL-FIPS
-env ERLANG_CRYPTO2_PATH /opt/opscode/embedded/lib/erlang-crypto2/priv
-pa /opt/opscode/embedded/lib/erlang-crypto2/ebin
-env ERLANG_CRYPTO2_PATH <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/priv") =%>
-pa <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/ebin") =%>
<%- end -%>
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
<%- if node['private_chef']['fips_enabled'] -%>
## Runtime switches to enable loading custom crypto module
## that supports OpenSSL-FIPS
-env ERLANG_CRYPTO2_PATH /opt/opscode/embedded/lib/erlang-crypto2/priv
-pa /opt/opscode/embedded/lib/erlang-crypto2/ebin
-env ERLANG_CRYPTO2_PATH <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/priv") =%>
-pa <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/ebin") =%>
<%- end -%>
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
<%- if node['private_chef']['fips_enabled'] -%>
## Runtime switches to enable loading custom crypto module
## that supports OpenSSL-FIPS
-env ERLANG_CRYPTO2_PATH /opt/opscode/embedded/lib/erlang-crypto2/priv
-pa /opt/opscode/embedded/lib/erlang-crypto2/ebin
-env ERLANG_CRYPTO2_PATH <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/priv") =%>
-pa <%= File.join(node['private_chef']['install_path'], "/embedded/lib/erlang-crypto2/ebin") =%>
<%- end -%>

0 comments on commit 2b1a534

Please sign in to comment.