Pārlūkot izejas kodu

AMBARI-512. Fix puppet manifests for tarball downloads via rpms. (Contributed by Mahadev)

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

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-512. Fix puppet manifests for tarball downloads via rpms. (Mahadev via Vikram)
+
   AMBARI-511. Support rpms for mysql connector and other tars. (Jitendra via Vikram)
 
   AMBARI-510. Modify the router to force redirection to "Add Nodes Progress" popup (Yusaku via Vikram)

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

@@ -15,11 +15,11 @@ class hdp-hive::mysql-connector()
        command => "mkdir -p ${artifact_dir} ;  cp /usr/share/java/mysql-connector-java.jar  ${target}",
        unless  => "test -f ${target}",
        creates => $target,
-       path    => ["/bin","/usr/bin/"]
+       path    => ["/bin","/usr/bin/"],
        require => Hdp::Package['mysql-connector-java-5.0.8-4.jpp5'],
        notify  =>  Anchor['hdp-hive::mysql-connector::end'],
    }
 
-   anchor { hdp-hive::mysql-connector::end':}
+   anchor { 'hdp-hive::mysql-connector::end':}
 
 }

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

@@ -15,7 +15,7 @@ class hdp-oozie::download-ext-zip()
        command => "mkdir -p ${artifact_dir} ;  cp /tmp/HDP-oozie/${zip_name} ${target}",
        unless  => "test -f ${target}",
        creates => $target,
-       path    => ["/bin","/usr/bin/"]
+       path    => ["/bin","/usr/bin/"],
        require => Hdp::Package['extjs-2.2-1'],
        notify  =>  Anchor['hdp-oozie::download-ext-zip::end'],
    }

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

@@ -16,7 +16,7 @@ class hdp-templeton::download-hive-tar()
        command => "mkdir -p ${artifact_dir} ;  cp /tmp/HDP-templeton/${src_tar_name} ${target}",
        unless  => "test -f ${target}",
        creates => $target,
-       path    => ["/bin","/usr/bin/"]
+       path    => ["/bin","/usr/bin/"],
        require => Hdp::Package['templeton-tar-hive-0.0.1-1'],
        notify  =>  Anchor['hdp-templeton::download-hive-tar::end'],
    }

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

@@ -16,7 +16,7 @@ class hdp-templeton::download-pig-tar()
        command => "mkdir -p ${artifact_dir} ;  cp /tmp/HDP-templeton/${src_tar_name} ${target}",
        unless  => "test -f ${target}",
        creates => $target,
-       path    => ["/bin","/usr/bin/"]
+       path    => ["/bin","/usr/bin/"],
        require => Hdp::Package['templeton-tar-pig-0.0.1-1'],
        notify  =>  Anchor['hdp-templeton::download-pig-tar::end'],
    }