Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

Commit 6a9cfdb

Browse files
committed
wip
1 parent 7d5d8a0 commit 6a9cfdb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbooks/bcpc/recipes/apache2.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@
146146
notifies :restart, 'service[apache2]', :delayed
147147
end
148148

149-
# A json files that contains bach configs, such as services and their ports.
149+
# A json files that expose the configs for easier consumption programatically.
150+
# NOTE: node['bcpc']['bach_web'] should NOT contain anything sensitive or confidential
151+
# otherwise a dedicated hash should be used
150152
file "#{node['bcpc']['bach_web']['document_root']}/#{node['bcpc']['bach_web']['json_file']}" do
151153
content Chef::JSONCompat.to_json_pretty(node['bcpc']['bach_web'].to_hash)
152154
end

0 commit comments

Comments
 (0)