diff options
author | Evans Ye <innovansye@gmail.com> | 2014-05-20 11:17:39 -0700 |
---|---|---|
committer | Konstantin Boudnik <cos@apache.org> | 2014-05-20 11:20:19 -0700 |
commit | 5f41289c9ede9ac8fa29d791660b2ba3dd75f096 (patch) | |
tree | 4b4d797752a0f36afcfa1c4c443f2f775cc2a16b /bigtop-deploy | |
parent | 11a609801d4c943f25bfc9ad0a0b4c46dc6abf8d (diff) |
BIGTOP-1163. puppet apply shows db init error if the oozie server is already running
Diffstat (limited to 'bigtop-deploy')
-rw-r--r-- | bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop-oozie/manifests/init.pp index 572203ab..46b937b7 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": |