module-puppetdb/spec/unit/classes/server
Ken Barber 59100fd6bc (PDB-2571) Ensure all managed ini files have correct permissions
Much like read-database.ini, we need to ensure the permissions for puppetdb.ini and others are set explicitly
to ensure permissions are still correct after configuration. Without this users with different umask
settings may find their files are no longer accessible after the module runs.

This patch fixes the globally for all the ini files we currently manage (repl.ini is not managed fwiw).

This also fixes a bug whereby we were missing puppetdb::server::global from the main server class, it adds this
back and fixes the tests to ensure we don't lose it.

Signed-off-by: Ken Barber <ken@bob.sh>
2016-05-12 18:31:50 +01:00
..
command_processing_spec.rb (PDB-1913) manage vardir 2015-09-16 15:26:50 -07:00
database_ini_spec.rb (PDB-2571) Ensure all managed ini files have correct permissions 2016-05-12 18:31:50 +01:00
db_connection_uri_spec.rb (PDB-1913) manage vardir 2015-09-16 15:26:50 -07:00
global_ini_spec.rb (PDB-2571) Ensure all managed ini files have correct permissions 2016-05-12 18:31:50 +01:00
jetty_ini_spec.rb (PDB-2571) Ensure all managed ini files have correct permissions 2016-05-12 18:31:50 +01:00
puppetdb_ini_spec.rb (PDB-2571) Ensure all managed ini files have correct permissions 2016-05-12 18:31:50 +01:00
read_database_ini_spec.rb (PDB-2571) Ensure all managed ini files have correct permissions 2016-05-12 18:31:50 +01:00