Skip to content

Commit a110611

Browse files
Correctd synatx for if statement
Signed-off-by: Russell Seymour <[email protected]>
1 parent 95a6410 commit a110611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbooks/camsa/recipes/chefserver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
template node['camsa']['chefserver']['file']['config'] do
2828
variables({
2929
integration: lazy {
30-
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb')) do
30+
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb'))
3131
::IO.read(::File.join(node['camsa']['chefserver']['dir']['config'], 'datacollector.rb'))
3232
else
3333
""
3434
end
3535
},
3636
certificate: lazy {
37-
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb')) do
37+
if ::File.exist?(::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb'))
3838
::IO.read(::File.join(node['camsa']['chefserver']['dir']['config'], 'chefssl.rb'))
3939
else
4040
""

0 commit comments

Comments
 (0)