From: František Dvořák Date: Thu, 18 Dec 2014 23:27:27 +0000 (+0100) Subject: Separate class for Cloudera, II. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=56ea3cf06168238f5e897d3fb7dba019326b3e0c;p=meta-site_hadoop.git Separate class for Cloudera, II. --- diff --git a/manifests/config.pp b/manifests/config.pp index d54ff68..135875b 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -9,25 +9,4 @@ class site_hadoop::config { target => "${site_hadoop::mc_setup}.sh", } } - - if $::osfamily == 'Debian' { - # cloudera repo - exec { 'key-cloudera': - command => 'apt-key adv --fetch-key http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/archive.key', - path => $site_hadoop::path, - creates => '/etc/apt/sources.list.d/cloudera.list', - } - -> - exec { 'wget-cloudera': - command => 'wget -P /etc/apt/sources.list.d/ http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/cloudera.list', - path => $site_hadoop::path, - creates => '/etc/apt/sources.list.d/cloudera.list', - } - ~> - exec { 'apt-get-update': - command => 'apt-get update', - refreshonly => true, - path => $site_hadoop::path, - } - } }