cfengine/design-center — pull request #3 by zzamboni (2012-02-24 00:51:59+00:00)
Title: Test mode, other changes

- Added ability to use a "restart" command instead of invoking the "stop" and "start" commands in sequence. If _ssh_restart_cmd is empty, then stop/start is used.
- Added test mode, in which /tmp/sshd_config is edited, by defining the SSH_TEST_MODE class.
- Added test mode for the case when there is no "restart" command, by defining the SSH_TEST_MODE_NORESTART class.
- Modified to use the new set_config_values_matching() bundle from cfengine_stdlib.cf, making the calling bundle much cleaner.