Remove also Oozie puppet helper file to reset local ACLs. master
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 20 Jul 2016 21:23:03 +0000 (23:23 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 20 Jul 2016 21:23:03 +0000 (23:23 +0200)
2-upgrade.sh

index 4f3819f..f0510b8 100755 (executable)
@@ -44,7 +44,7 @@ for d in hadoop hbase hive hue zookeeper spark pig oozie impala sentry; do
     update-alternatives --auto ${d}-conf
   fi
 done
-rm -fv ~hbase/.puppet-ssl-facl
+rm -fv ~hbase/.puppet-ssl-facl ~oozie/.puppet-ssl-facl || :
 shs='/etc/init.d/spark-history-server'
 test -f ${shs} && mv -v ${shs} ${shs}.fuck || :