@@ -379,6 +379,12 @@ class AmbariBlueprint:
return retCode
pass
+ except urllib2.HTTPError, e:
+ logger.error("POST request failed.")
+ logger.error('HTTPError : %s' % e.read())
+ if e.code == 409:
+ return '409'
+ pass
except Exception, e:
logger.error("POST request failed.")
logger.error(e)
@@ -49,6 +49,7 @@
<property require-input = "true">
<name>oozie_metastore_user_passwd</name>
<value></value>
+ <type>PASSWORD</type>
<description>Database password to use to connect to the database</description>
</property>
<property>
@@ -1,4 +1,11 @@
{
+ "configurations" : [
+ {
+ "global" : {
+ "nagios_contact" : "admin@localhost"
+ }
+ ],
"host_groups" : [
"name" : "master_1",
"name" : "host_group_1",