Skip to content

Commit

Permalink
[fips-proxy] read file lazily
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Aug 4, 2023
1 parent 23e456b commit c8a457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/dd-fips-proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
owner 'root'
group 'root'
mode 0766
content ::File.open('/etc/datadog-fips-proxy/datadog-fips-proxy.cfg.example').read
content lazy { ::File.open('/etc/datadog-fips-proxy/datadog-fips-proxy.cfg.example').read }
not_if { ::File.exist?('/etc/datadog-fips-proxy/datadog-fips-proxy.cfg') }
action :create
end
Expand Down

0 comments on commit c8a457d

Please sign in to comment.