Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (11 sloc) 0.52 kb
1 2 3 4 5 6 7 8 9 10 11 12
name 'hadoop_s3_keys'
description 'Add S3 keys to node attributes for hadoop s3:// and s3n:// filesystem access'

# Attributes applied if the node doesn't have it set already.
default_attributes({
    # Needed if you want to access S3 files via s3n:// and s3:// urls
    :aws => {
      :aws_access_key => Chef::Config.knife[:aws_access_key_id],
      :aws_access_key_id => Chef::Config.knife[:aws_access_key_id],
      :aws_secret_access_key => Chef::Config.knife[:aws_secret_access_key],
    },
  })
Something went wrong with that request. Please try again.