puppetlabs/puppet-acceptance — pull request #129 by cprice-puppet (2012-02-02 17:11:48+00:00)
Title: Minor tweaks and new utility methods in acceptance framework test-case

This commit includes the following:

* Minor cleanup for readability on failure error messages
* Documentation for with_master_running_on method
* New defaults for with_master_running_on:
** will automatically add "--daemonize" if you haven't specified either that or --no-daemonize
** will automatically add "--logdest=/log/puppetmaster.log" if you don't specify a logdest; sending acceptance framework log messages to syslog didn't seem very useful
** will automatically add "--dns_alt_names" if you don't specify it
** will automatically add "--autosign" if you don't specify it
** no longer deletes log dir between executions of master
* New "get_puppet_tmpdir_path()" method, to hopefully start quarantining acceptance test temp files in a common location
* Documentation for "create_remote_file" method
* New options for create_remote_file method to ensure files are visible to "puppet" user et al:
** "mkdirs": will attempt to create parent directory structure before creating file
** "owner": a username to chown the new file to
** "group": a groupname to chown the new file to
** "mode": file permissions to chmod the new file to
* new "mkdirs_on" method
* new "rmdirs_on" method
* new "file_exists_on?" method