Pārlūkot izejas kodu

AMBARI-513. Patch to fix previous patch (Contributed by Ramya)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347366 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K 13 gadi atpakaļ
vecāks
revīzija
c7fdfd43d3

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-513. Fix for previous patch (Ramya via Vikram)
+
   AMBARI-515. Modules tar size increases. (Jitendra via Vikram)
 
   AMBARI-514. Fix parsing error in puppet manifests. (Mahadev via Vikram)

+ 2 - 2
hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp

@@ -7,7 +7,7 @@ class hdp-hive::mysql-connector()
   
   anchor { 'hdp-hive::mysql-connector::begin':}
 
-   hdp::package { 'mysql-connector-java-5.0.8-4.jpp5' :
+   hdp::package { 'mysql-connector' :
      require   => Anchor['hdp-hive::mysql-connector::begin']
    }
 
@@ -16,7 +16,7 @@ class hdp-hive::mysql-connector()
        unless  => "test -f ${target}",
        creates => $target,
        path    => ["/bin","/usr/bin/"],
-       require => Hdp::Package['mysql-connector-java-5.0.8-4.jpp5'],
+       require => Hdp::Package['mysql-connector'],
        notify  =>  Anchor['hdp-hive::mysql-connector::end'],
    }
 

+ 2 - 2
hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp

@@ -7,7 +7,7 @@ class hdp-oozie::download-ext-zip()
 
   anchor { 'hdp-oozie::download-ext-zip::begin':}
 
-   hdp::package { 'extjs-2.2-1' :
+   hdp::package { 'extjs' :
      require   => Anchor['hdp-oozie::download-ext-zip::begin']
    }
 
@@ -16,7 +16,7 @@ class hdp-oozie::download-ext-zip()
        unless  => "test -f ${target}",
        creates => $target,
        path    => ["/bin","/usr/bin/"],
-       require => Hdp::Package['extjs-2.2-1'],
+       require => Hdp::Package['extjs'],
        notify  =>  Anchor['hdp-oozie::download-ext-zip::end'],
    }
 

+ 1 - 1
hmc/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp

@@ -8,7 +8,7 @@ class hdp-sqoop::mysql-connector()
 
   anchor { 'hdp-sqoop::mysql-connector::begin':}
 
-   hdp::exec { 'yum install -y mysql-connector-java-5.0.8-4.jpp5'
+   hdp::exec { 'yum install -y mysql-connector-java-5.0.8-4.jpp5':
        command => "yum install -y mysql-connector-java-5.0.8-4.jpp5",
        unless  => "rpm -qa | grep mysql-connector-java-5.0.8-4.jpp5",
        path    => ["/bin","/usr/bin/"],

+ 2 - 2
hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp

@@ -8,7 +8,7 @@ class hdp-templeton::download-hive-tar()
  
   anchor { 'hdp-templeton::download-hive-tar::begin':}         
 
-   hdp::package { 'templeton-tar-hive-0.0.1-1' :
+   hdp::package { 'templeton-tar-hive' :
      require   => Anchor['hdp-templeton::download-hive-tar::begin']                                                              
    }
   
@@ -17,7 +17,7 @@ class hdp-templeton::download-hive-tar()
        unless  => "test -f ${target}",
        creates => $target,
        path    => ["/bin","/usr/bin/"],
-       require => Hdp::Package['templeton-tar-hive-0.0.1-1'],
+       require => Hdp::Package['templeton-tar-hive'],
        notify  =>  Anchor['hdp-templeton::download-hive-tar::end'],
    }
 

+ 2 - 2
hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp

@@ -8,7 +8,7 @@ class hdp-templeton::download-pig-tar()
 
   anchor { 'hdp-templeton::download-pig-tar::begin':}
 
-   hdp::package { 'templeton-tar-pig-0.0.1-1' :
+   hdp::package { 'templeton-tar-pig' :
      require   => Anchor['hdp-templeton::download-pig-tar::begin']
    }
 
@@ -17,7 +17,7 @@ class hdp-templeton::download-pig-tar()
        unless  => "test -f ${target}",
        creates => $target,
        path    => ["/bin","/usr/bin/"],
-       require => Hdp::Package['templeton-tar-pig-0.0.1-1'],
+       require => Hdp::Package['templeton-tar-pig'],
        notify  =>  Anchor['hdp-templeton::download-pig-tar::end'],
    }
 

+ 12 - 0
hmc/puppet/modules/hdp/manifests/params.pp

@@ -214,6 +214,18 @@ class hdp::params()
     },
     mysql => {
       32 =>  ['mysql','mysql-server']
+  },
+    mysql-connector => {
+      64 =>  ['mysql-connector-java-5.0.8-4.jpp5']
+  },
+    extjs => {
+      64 =>  ['extjs-2.2-1']
+  },
+     templeton-tar-hive => { 
+      64 => ['templeton-tar-hive-0.0.1-1']
+  },
+     templeton-tar-pig => {
+       64 => ['templeton-tar-pig-0.0.1-1']
   }
 }
   $packages = 'bigtop'