projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030bb35
)
Ignore properties with no value
author
Tom Hughes
<tom@compton.nu>
Sun, 17 Mar 2019 12:03:28 +0000
(12:03 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 17 Mar 2019 12:03:28 +0000
(12:03 +0000)
cookbooks/web/resources/rails_port.rb
patch
|
blob
|
history
diff --git
a/cookbooks/web/resources/rails_port.rb
b/cookbooks/web/resources/rails_port.rb
index 90f36397e85a981f9e2b6bd8d755d3a407751388..de6f97ad8ae4936d8ba412e985839fe3fcc4b9ef 100644
(file)
--- a/
cookbooks/web/resources/rails_port.rb
+++ b/
cookbooks/web/resources/rails_port.rb
@@
-310,7
+310,7
@@
action :create do
"totp_key",
"csp_enforce",
"csp_report_url"
- ).merge(
+ ).
reject { |_k, v| v.nil? }.
merge(
"server_protocol" => "https",
"server" => new_resource.site,
"publisher_url" => "https://plus.google.com/111953119785824514010",