We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4540939 commit 2d08c55Copy full SHA for 2d08c55
cookbooks/camsa/recipes/chefserver.rb
@@ -28,14 +28,14 @@
28
variables({
29
integration: lazy {
30
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb')) do
31
- ::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb')
+ ::IO.read(::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb'))
32
else
33
""
34
end
35
},
36
certificate: lazy {
37
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb')) do
38
- ::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb')
+ ::IO.read()::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb'))
39
40
41
0 commit comments