Skip to content

Instantly share code, notes, and snippets.

@chef
Created August 10, 2010 21:56

Revisions

  1. opscode created this gist Aug 10, 2010.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    onfig_dir = File.dirname(__FILE__)
    cookbook_dir = File.join(config_dir, ".." ,"cookbooks")
    organization = File.basename(File.expand_path(File.join(File.dirname(__FILE__), "..")))

    log_level :info
    log_location STDOUT
    node_name 'adam'
    client_key "#{config_dir}/adam.pem"
    chef_server_url "https://api.opscode.us/organizations/#{organization}"
    cache_type 'BasicFile'
    cache_options( :path => "#{config_dir}/checksums" )
    cookbook_path [ cookbook_dir ]