From 56ea3cf06168238f5e897d3fb7dba019326b3e0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 19 Dec 2014 00:27:27 +0100 Subject: [PATCH] Separate class for Cloudera, II. --- manifests/config.pp | 21 --------------------- 1 file changed, 21 deletions(-) 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, - } - } } -- 1.8.2.3