diff --git a/spec/unit/classes/server/database_ini_spec.rb b/spec/unit/classes/server/database_ini_spec.rb index 4d6a5810..94d1b86f 100644 --- a/spec/unit/classes/server/database_ini_spec.rb +++ b/spec/unit/classes/server/database_ini_spec.rb @@ -38,11 +38,12 @@ it { is_expected.to contain_ini_setting('puppetdb_psdatabase_password') .with( - 'ensure' => 'present', - 'path' => "#{pdbconfdir}/database.ini", - 'section' => 'database', - 'setting' => 'password', - 'value' => 'puppetdb', + 'ensure' => 'present', + 'path' => "#{pdbconfdir}/database.ini", + 'section' => 'database', + 'setting' => 'password', + 'value' => 'puppetdb', + 'show_diff' => false, ) } it { diff --git a/spec/unit/classes/server/read_database_ini_spec.rb b/spec/unit/classes/server/read_database_ini_spec.rb index a5f189f0..db48096c 100644 --- a/spec/unit/classes/server/read_database_ini_spec.rb +++ b/spec/unit/classes/server/read_database_ini_spec.rb @@ -38,11 +38,12 @@ it { is_expected.to contain_ini_setting('puppetdb_read_database_password') .with( - 'ensure' => 'present', - 'path' => '/etc/puppetlabs/puppetdb/conf.d/read_database.ini', - 'section' => 'read-database', - 'setting' => 'password', - 'value' => 'puppetdb-read', + 'ensure' => 'present', + 'path' => '/etc/puppetlabs/puppetdb/conf.d/read_database.ini', + 'section' => 'read-database', + 'setting' => 'password', + 'value' => 'puppetdb-read', + 'show_diff' => false, ) } it {