Joey Boggs
2009-Apr-27 18:00 UTC
[Ovirt-devel] [PATCH server] fix the ovirt-mongrel-rails restart problem in the installer if ran more than once
Due to the service name not matching the actual process name, puppet thinks that ovirt-mongrel-rails is never running and tries to start it everytime the installer runs, this adds the hasstatus option to use a service status check rather than puppet's process grep method. --- installer/modules/ovirt/manifests/ovirt.pp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/installer/modules/ovirt/manifests/ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp index 09b1925..03a93a7 100644 --- a/installer/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -156,7 +156,8 @@ class ovirt::setup { enable => true, require => [Package[ovirt-server],Single_Exec[db_migrate]], ensure => running, - notify => Service[httpd] + notify => Service[httpd], + hasstatus => true } service {"ovirt-taskomatic" : -- 1.6.0.6
Jason Guiditta
2009-May-18 16:03 UTC
[Ovirt-devel] [PATCH server] fix the ovirt-mongrel-rails restart problem in the installer if ran more than once
ACK, wfm. Successfully ran installer again on a working server, server continued working afterwards. On Mon, Apr 27, 2009 at 2:00 PM, Joey Boggs <jboggs at redhat.com> wrote:> Due to the service name not matching the actual process name, puppet thinks > that ovirt-mongrel-rails is never running and tries to start it everytime > the installer runs, this adds the hasstatus option to use a service status > check rather than puppet's process grep method. > > --- > installer/modules/ovirt/manifests/ovirt.pp | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/installer/modules/ovirt/manifests/ovirt.pp > b/installer/modules/ovirt/manifests/ovirt.pp > index 09b1925..03a93a7 100644 > --- a/installer/modules/ovirt/manifests/ovirt.pp > +++ b/installer/modules/ovirt/manifests/ovirt.pp > @@ -156,7 +156,8 @@ class ovirt::setup { > enable => true, > require => [Package[ovirt-server],Single_Exec[db_migrate]], > ensure => running, > - notify => Service[httpd] > + notify => Service[httpd], > + hasstatus => true > } > > service {"ovirt-taskomatic" : > -- > 1.6.0.6 > > _______________________________________________ > Ovirt-devel mailing list > Ovirt-devel at redhat.com > https://www.redhat.com/mailman/listinfo/ovirt-devel >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090518/2b7094b5/attachment.htm>
Reasonably Related Threads
- [PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
- [PATCH server] update installer exec items to single_exec where applicable
- ovirt ace error
- [PATCH server] add ipv6 postgres trust
- [PATCH] Set up ovirt-agent so it starts as a daemon