Skip to content

Commit

Permalink
Merge pull request #376 from coderanger/patch-1
Browse files Browse the repository at this point in the history
Don't log the config file data because it can contain tokens and other unsafe things.
  • Loading branch information
johnbellone authored Nov 21, 2016
2 parents dec4039 + 01abb7f commit daee447
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/consul_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def tls?
mode '0640'
end
content new_resource.to_json
sensitive true
end
end
end
Expand Down

0 comments on commit daee447

Please sign in to comment.