OSDN Git Service

add .envrc
[metasearch/grid-chef-repo.git] / roles / test-cdh-on-localhost.rb
index c55aae4..3cece58 100644 (file)
@@ -3,22 +3,31 @@ description 'Testing Cloudera\'s Distribution, including Apache Hadoop on local
 
 run_list(
   'role[node_commons]',
-  'role[chef_utils]',
+  #'role[chef_utils]',
   'role[nameservice-client]',
-  #'role[ganglia-gmond-ucast-localhost]',
-  #'role[ganglia-gmetad-localhost]',
-  #'role[ganglia-web]',
+  'role[ganglia-all-in-one-localhost]',
   #'role[nagios]',
   'role[yum-cdh]',
   'role[hadoop-pseudo-distributed-with-security]',
   #'role[zookeeper-pseudo-replicated-with-security]',
   #'role[hbase-pseudo-distributed-with-security]',
-  ##'role[pig]'
+  #'role[pig]',
+  #'role[grid-ops-utils]'
 )
 
 #env_run_lists()
 
 default_attributes(
+  'grid' => {
+    'gridctl' => {
+      'env' => {
+        #'DOMAIN' => '',
+        #'HADOOP_ARTIFACT_TYPE' => 'package',
+        'HADOOP_DISTRIBUTION' => 'cdh3',
+        #'HADOOP_HOME' => '',
+      }
+    }
+  },
   'openldap' => {
     'client' => {
       'URI' => 'ldap://localhost/',