Fixed jenkins master node configuration

Change-Id: Ia57ef8841787840f9410417d05a00dbed49f88eb
diff --git a/_states/jenkins_node.py b/_states/jenkins_node.py
index 8e96f42..0b318c2 100644
--- a/_states/jenkins_node.py
+++ b/_states/jenkins_node.py
@@ -73,7 +73,7 @@
 }}
 if(changed){{
     Jenkins.instance.save()
-    print("SUCCESS")
+    print("CREATED")
 }}else{{
     print("EXISTS")
 }}
@@ -203,7 +203,7 @@
         ret['comment'] = 'Master node %s' % (status.lower())
     else:
         call_result = __salt__['jenkins_common.call_groovy_script'](
-            configure_master_groovy, {'num_executors': num_executors, 'labels': " ".join(labels), 'node_mode': node_mode})
+            configure_master_groovy, {'num_executors': num_executors, 'labels': " ".join(labels), 'node_mode': node_mode.upper()})
         if call_result["code"] == 200 and call_result["msg"] in ["CREATED", "EXISTS"]:
             status = call_result["msg"]
             if status == "CREATED":