[36/50] [abbrv] ambari git commit: AMBARI-18613: Minor fixes for HDF mpack (jluniya)

2016-10-19 Thread ncole
AMBARI-18613: Minor fixes for HDF mpack (jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d132ca17
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d132ca17
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d132ca17

Branch: refs/heads/branch-dev-patch-upgrade
Commit: d132ca17354b867cb167f8800e868a27f0b6252d
Parents: 73f1dea
Author: Jayush Luniya 
Authored: Mon Oct 17 13:06:51 2016 -0700
Committer: Jayush Luniya 
Committed: Mon Oct 17 13:06:51 2016 -0700

--
 .../NIFI/1.0.0/package/scripts/params.py|  2 +-
 .../resources/stacks/HDF/2.0/repos/repoinfo.xml | 20 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
index 087cef4..def8f45 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
@@ -350,7 +350,7 @@ if has_ranger_admin:
   nifi_authentication = 
config['configurations']['ranger-nifi-plugin-properties']['nifi.authentication']
   ranger_id_owner_for_certificate = 
config['configurations']['ranger-nifi-plugin-properties']['owner.for.certificate']
   nifi_id_owner_for_certificate = 
config['configurations']['ranger-nifi-policymgr-ssl']['owner.for.certificate']
-  regex = r"(CN)=([a-zA-Z0-9\.\-\* ]*)"
+  regex = r"(CN)=([a-zA-Z0-9\.\-\*\[\]\|\:]*)"
   match = re.search(regex, nifi_id_owner_for_certificate)
   common_name_for_certificate = match.group(2) if match else 'NONE'
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
index 3f8fd9e..27cf047 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
@@ -16,10 +16,10 @@
limitations under the License.
 -->
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/hdf_urlinfo.json
+  http://public-repo-1.hortonworks.com/HDF/hdf_urlinfo.json
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -31,7 +31,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -43,7 +43,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -55,7 +55,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -67,7 +67,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -79,24 +79,24 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian6
+  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian7
   HDP-UTILS-1.1.0.21
   HDP-UTILS
 
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu12
+  
http://public-repo-1.hortonworks.

[02/12] ambari git commit: AMBARI-18613: Minor fixes for HDF mpack (jluniya)

2016-10-18 Thread jonathanhurley
AMBARI-18613: Minor fixes for HDF mpack (jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d132ca17
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d132ca17
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d132ca17

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: d132ca17354b867cb167f8800e868a27f0b6252d
Parents: 73f1dea
Author: Jayush Luniya 
Authored: Mon Oct 17 13:06:51 2016 -0700
Committer: Jayush Luniya 
Committed: Mon Oct 17 13:06:51 2016 -0700

--
 .../NIFI/1.0.0/package/scripts/params.py|  2 +-
 .../resources/stacks/HDF/2.0/repos/repoinfo.xml | 20 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
index 087cef4..def8f45 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
@@ -350,7 +350,7 @@ if has_ranger_admin:
   nifi_authentication = 
config['configurations']['ranger-nifi-plugin-properties']['nifi.authentication']
   ranger_id_owner_for_certificate = 
config['configurations']['ranger-nifi-plugin-properties']['owner.for.certificate']
   nifi_id_owner_for_certificate = 
config['configurations']['ranger-nifi-policymgr-ssl']['owner.for.certificate']
-  regex = r"(CN)=([a-zA-Z0-9\.\-\* ]*)"
+  regex = r"(CN)=([a-zA-Z0-9\.\-\*\[\]\|\:]*)"
   match = re.search(regex, nifi_id_owner_for_certificate)
   common_name_for_certificate = match.group(2) if match else 'NONE'
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
index 3f8fd9e..27cf047 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
@@ -16,10 +16,10 @@
limitations under the License.
 -->
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/hdf_urlinfo.json
+  http://public-repo-1.hortonworks.com/HDF/hdf_urlinfo.json
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -31,7 +31,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -43,7 +43,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -55,7 +55,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -67,7 +67,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -79,24 +79,24 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian6
+  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian7
   HDP-UTILS-1.1.0.21
   HDP-UTILS
 
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu12
+  
http://public-repo-1.hortonwor

ambari git commit: AMBARI-18613: Minor fixes for HDF mpack (jluniya)

2016-10-17 Thread jluniya
Repository: ambari
Updated Branches:
  refs/heads/trunk 73f1dea96 -> d132ca173


AMBARI-18613: Minor fixes for HDF mpack (jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d132ca17
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d132ca17
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d132ca17

Branch: refs/heads/trunk
Commit: d132ca17354b867cb167f8800e868a27f0b6252d
Parents: 73f1dea
Author: Jayush Luniya 
Authored: Mon Oct 17 13:06:51 2016 -0700
Committer: Jayush Luniya 
Committed: Mon Oct 17 13:06:51 2016 -0700

--
 .../NIFI/1.0.0/package/scripts/params.py|  2 +-
 .../resources/stacks/HDF/2.0/repos/repoinfo.xml | 20 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
index 087cef4..def8f45 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/common-services/NIFI/1.0.0/package/scripts/params.py
@@ -350,7 +350,7 @@ if has_ranger_admin:
   nifi_authentication = 
config['configurations']['ranger-nifi-plugin-properties']['nifi.authentication']
   ranger_id_owner_for_certificate = 
config['configurations']['ranger-nifi-plugin-properties']['owner.for.certificate']
   nifi_id_owner_for_certificate = 
config['configurations']['ranger-nifi-policymgr-ssl']['owner.for.certificate']
-  regex = r"(CN)=([a-zA-Z0-9\.\-\* ]*)"
+  regex = r"(CN)=([a-zA-Z0-9\.\-\*\[\]\|\:]*)"
   match = re.search(regex, nifi_id_owner_for_certificate)
   common_name_for_certificate = match.group(2) if match else 'NONE'
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/d132ca17/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
--
diff --git 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
index 3f8fd9e..27cf047 100644
--- 
a/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
+++ 
b/contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/repos/repoinfo.xml
@@ -16,10 +16,10 @@
limitations under the License.
 -->
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/hdf_urlinfo.json
+  http://public-repo-1.hortonworks.com/HDF/hdf_urlinfo.json
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -31,7 +31,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -43,7 +43,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -55,7 +55,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/suse11sp3/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -67,7 +67,7 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu12/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
@@ -79,24 +79,24 @@
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/debian7/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian6
+  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/debian7
   HDP-UTILS-1.1.0.21
   HDP-UTILS
 
   
   
 
-  
http://s3.amazonaws.com/dev.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
+  
http://public-repo-1.hortonworks.com/HDF/ubuntu14/2.x/updates/2.0.0.0
   HDF-2.0
   HDF
 
 
-  
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1