[Puppet Users] Facts for Testing

2010-08-04 Thread Druwerd
I'm trying to setup a test environment where I can do a dry run of each puppet module. Ex: "puppet --noop module/tests/init.pp" However some modules rely on facts and I want to mimic the production environment as close as possible. Is there a way to load facts from a file for the test environment?

[Puppet Users] Setting permissions on nagios service check file

2010-07-02 Thread Druwerd
Is there a better way to set the permissions on the cfg files generated by the nagios_service type? I want each nagios service check to have it's own file, but don't want to write it out each time. Is there a way to set default permissions for the nagios_service cfg files? # Monitor ntp servic