Description of problem: Add a 'Are you sure?' verification step to aeolus-cleanup command. It is to easy to remove everything. seriously.
This should include specifing confirmation on the commandline with '-y'
https://lists.fedorahosted.org/pipermail/aeolus-devel/2012-September/012547.html
on master as 0b3dad6867fda2556376e17d0e420e7804a9be00 on 1.1 as 7ed26735ec17993c9d41281a7421ea5d904a078a
Verified on : [root@dhcp201-113 ~]# rpm -qa|grep aeolus aeolus-conductor-0.13.7-1.el6cf.noarch aeolus-all-0.13.7-1.el6cf.noarch aeolus-conductor-daemons-0.13.7-1.el6cf.noarch aeolus-configure-2.8.6-1.el6cf.noarch aeolus-conductor-doc-0.13.7-1.el6cf.noarch rubygem-aeolus-cli-0.7.1-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch [root@dhcp201-113 ~]# aeolus-cleanup -y notice: /Stage[main]/Aeolus::Deltacloud::Disabled/Exec[remove_deltacloud_tmp_files]/returns: executed successfully notice: /Stage[main]/Aeolus::Conductor::Disabled/Aeolus::Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: executed successfully notice: /Stage[main]/Aeolus::Conductor::Disabled/Postgres::User[aeolus]/Exec[drop_aeolus_postgres_user]/returns: could not change directory to "/root" [root@dhcp201-113 ~]# aeolus-cleanup aeolus-cleanup will delete local aeolus installations. Are you sure you wish to proceed? [y/N]: y notice: /File[/var/lib/aeolus-conductor]/ensure: removed notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-conductor]/ensure: ensure changed 'running' to 'stopped' notice: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully notice: /Stage[main]/Aeolus::Deltacloud::Disabled/Service[deltacloud-core]/ensure: ensure changed 'running' to 'stopped' notice: /Stage[ma
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-1516.html