Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Commit aa3cd87

Browse files
authored
Merge pull request #92 from 18F/mugizico/fix/sensitive-database
Prevent Database Secrets From Being Logged During Chef Run
2 parents e4b9c47 + afa40f3 commit aa3cd87

File tree

1 file changed

+1
-0
lines changed
  • lib/poise_application_ruby/resources

1 file changed

+1
-0
lines changed

lib/poise_application_ruby/resources/rails.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def write_database_yml
219219
group new_resource.parent.group
220220
mode '640'
221221
content new_resource.database_config_content
222+
sensitive true
222223
end
223224
end
224225

0 commit comments

Comments
 (0)