Sandro Bonazzola has posted comments on this change.

Change subject: loading broker.conf from the shared storage
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.ovirt.org/#/c/42209/6/ovirt-hosted-engine-ha.spec.in
File ovirt-hosted-engine-ha.spec.in:

Line 108: install -dDm 0750 %{buildroot}%{_sysconfdir}/sudoers.d
Line 109: install -Dm 0440 sudoers/sudoers 
%{buildroot}%{_sysconfdir}/sudoers.d/60_ovirt-ha
Line 110: 
Line 111: %pre
Line 112: # Copy previous broker.conf on upgrade path
Please note that if you want this to be done only on upgrade you should do:

 %pre
 if [ $1 -gt 1 ] ; then
 ....
 fi


See https://fedoraproject.org/wiki/Packaging:ScriptletSnippets
Line 113: if [ -e "%{engine_ha_confdir}/broker.conf" ] && ! [ -s 
"%{engine_ha_statedir}/broker.conf" ]; then
Line 114:         cp "%{engine_ha_confdir}/broker.conf" 
"%{engine_ha_statedir}/broker.conf"
Line 115: fi
Line 116: 


-- 
To view, visit https://gerrit.ovirt.org/42209
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia6a1a6213834f9c8b97834ebd95456fac2ca224d
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lve...@redhat.com>
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to