We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b3c167 commit 807d5b6Copy full SHA for 807d5b6
1 file changed
spec/acceptance/basic_spec.rb
@@ -36,6 +36,26 @@ class { 'puppetdb': postgresql_ssl_on => true,
36
apply_manifest(pp, catch_errors: true)
37
apply_manifest(pp, catch_changes: true)
38
end
39
+
40
+ ini_pp = <<-EOS
41
+ ini_setting { "puppetdb password":
42
+ ensure => present,
43
+ path => '/etc/puppetlabs/puppetdb/conf.d/database.ini',
44
+ section => 'database',
45
+ setting => 'password',
46
+ value => 'random_password',
47
+ notify => Service[puppetdb]
48
+ }
49
50
+ service { 'puppetdb':
51
+ ensure => 'running',
52
53
+ EOS
54
+ it 'make sure it starts with wrong password' do
55
56
+ apply_manifest(ini_pp, catch_errors: true)
57
+ apply_manifest(ini_pp, catch_changes: true)
58
+ end
59
60
61
describe 'enabling report processor' do
0 commit comments