Skip to content

Instantly share code, notes, and snippets.

@doitian
Created December 20, 2011 11:47
Show Gist options
  • Save doitian/1501318 to your computer and use it in GitHub Desktop.
Save doitian/1501318 to your computer and use it in GitHub Desktop.

Revisions

  1. doitian revised this gist Dec 20, 2011. No changes.
  2. doitian revised this gist Dec 20, 2011. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions knife.rb
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,4 @@
    client_key File.expand_path('../solo.pem', __FILE__)
    cache_type 'BasicFile'
    cache_options( :path => File.expand_path('../checksums', __FILE__))
    cookbook_path [ File.expand_path('../../cookbooks', __FILE__) ]

    cookbook_copyright "YOUR COPYRIGHT"
    cookbook_license "YOUR LICENSE"
    cookbook_email "[email protected]"
    cookbook_path [ File.expand_path('../../cookbooks', __FILE__) ]
  3. doitian revised this gist Dec 20, 2011. 2 changed files with 12 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions knife.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    log_level :info
    log_location STDOUT
    node_name 'solo'
    client_key File.expand_path('../solo.pem', __FILE__)
    cache_type 'BasicFile'
    cache_options( :path => File.expand_path('../checksums', __FILE__))
    cookbook_path [ File.expand_path('../../cookbooks', __FILE__) ]

    cookbook_copyright "YOUR COPYRIGHT"
    cookbook_license "YOUR LICENSE"
    cookbook_email "[email protected]"
    1 change: 1 addition & 0 deletions solo.pem
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    You can generate this file using `ssh-keygen -f .chef/solo.pem`. It is really not used but must be here.
  4. doitian created this gist Dec 20, 2011.
    5 changes: 5 additions & 0 deletions solo.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    node_name 'solo'
    file_cache_path File.expand_path('../cache', __FILE__)
    file_backup_path File.expand_path('../backup', __FILE__)
    cookbook_path File.expand_path('../cookbooks', __FILE__)
    role_path File.expand_path('../roles', __FILE__)