Skip to content

Commit

Permalink
sensitive?!
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 16, 2024
1 parent 8903ba2 commit a2f3872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/foreman_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@

it 'should configure the database' do

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on almalinux-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on almalinux-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on centos-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on centos-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on debian-11-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on debian-12-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on redhat-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on redhat-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on ubuntu-20.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman on ubuntu-22.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on almalinux-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on ubuntu-22.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on centos-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on debian-11-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on ubuntu-20.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on redhat-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on redhat-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on debian-12-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on centos-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9

Check failure on line 493 in spec/classes/foreman_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman on almalinux-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(sensitive(/password: "secret"/)) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to Sensitive(/password: "secret"/) but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -Sensitive [value redacted] +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
should contain_file('/etc/foreman/database.yml')
.with_content(/password: "secret"/)
.with_content(sensitive(/password: "secret"/))
end
end
end
Expand Down

0 comments on commit a2f3872

Please sign in to comment.