Ryan Barry has uploaded a new change for review. Change subject: Start puppet as a service on startup ......................................................................
Start puppet as a service on startup Enable the service if the plugin is installed so it persists through reboots. Change-Id: Ia4d179a082e60e98d5aa9e768b146407a939905a Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1163720 Signed-off-by: Ryan Barry <[email protected]> --- M ovirt-node.spec.in 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/09/35609/1 diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in index 8e1890c..8096118 100644 --- a/ovirt-node.spec.in +++ b/ovirt-node.spec.in @@ -182,6 +182,12 @@ This package provides a puppet plugin for use with %{product_family} image. %post plugin-puppet +%if %{is_systemd} +systemctl enable puppet.service +%else +chkconfig puppet on +%endif + %if %{is_el6} patch -d /usr/lib/ruby/site_ruby/1.8/facter -p0 < \ %else -- To view, visit http://gerrit.ovirt.org/35609 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia4d179a082e60e98d5aa9e768b146407a939905a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
