[ovirt-users] Automation and engine-setup

Trey Dockendorf treydock at gmail.com
Wed Feb 25 15:53:36 EST 2015


I am attempting to update my Puppet module [1] that manages oVirt and have
found my method for executing engine-setup works on a fresh install but
fails if run after install, for example to enable reports.

Normally I run this:

yes 'Yes' | engine-setup
--config-append=/var/lib/ovirt-engine/setup/answers/ovirt-engine-setup.conf

However if I've already installed ovirt-engine and then install the
packages for reports and re-run the above command it gets stuck at this
step:

[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel)
[OK]:

Since "Yes" is not a valid response my method does not work.  Is there a
flag I can provide in the answers file that would prevent the above
prompt?  I am semi familiar with using expect but was hoping to avoid using
expect from within a Puppet module.

Thanks,
- Trey

[1]: https://github.com/treydock/puppet-ovirt/tree/1.x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150225/fd6fe3c2/attachment.html>


More information about the Users mailing list