Repository: bigtop Updated Branches: refs/heads/master 11a609801 -> 5f41289c9
BIGTOP-1163. puppet apply shows db init error if the oozie server is already running Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/5f41289c Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/5f41289c Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/5f41289c Branch: refs/heads/master Commit: 5f41289c9ede9ac8fa29d791660b2ba3dd75f096 Parents: 11a6098 Author: Evans Ye <[email protected]> Authored: Tue May 20 11:17:39 2014 -0700 Committer: Konstantin Boudnik <[email protected]> Committed: Tue May 20 11:20:19 2014 -0700 ---------------------------------------------------------------------- bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/5f41289c/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp index 572203a..46b937b 100644 --- a/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp +++ b/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp @@ -43,6 +43,7 @@ class hadoop-oozie { cwd => "/var/lib/oozie", creates => "/var/lib/oozie/derby.log", require => Package["oozie"], + unless => "/etc/init.d/oozie status", } service { "oozie":
