Separate class for Cloudera, II.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Dec 2014 23:27:27 +0000 (00:27 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Dec 2014 23:27:27 +0000 (00:27 +0100)
manifests/config.pp

index d54ff68..135875b 100644 (file)
@@ -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,
-    }
-  }
 }