Katello/katello — pull request #1268 by xsuchy (2012-12-17 16:33:56+00:00)
Title: stop foreman only if it is running

addressing:
```
katello-configure --reset-data=YES
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20121217-102554/main.log]
err: /Stage[main]/Foreman::Config/Exec[reset_foreman_db]/returns: change from notrun to 0 failed: rm -f /var/lib/katello/foreman_db_migrate_done; /usr/sbin/service-wait foreman stop returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/foreman/manifests/config.pp:113
```