sous-chef 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,16 +1,35 @@
1
1
  # SousChef
2
2
 
3
+ Note: This gem is a work in progress.
4
+
3
5
  Manage knife-solo nodes.
4
6
 
5
7
  ## Install
6
8
 
9
+ Add the following to your `Rakefile`:
10
+
7
11
  ```ruby
8
12
  require 'sous-chef'
9
13
  ```
10
14
 
11
15
  ## Configure
12
16
 
13
- agents.yml
17
+ nodes.yml
18
+
19
+ Create `nodes.yml` in your root. Example `nodes.yml`:
20
+
21
+ Key is node name and everything underneath is used for the sshconfig
22
+
23
+ ```yaml
24
+ SuperAwesomeNode:
25
+ HostName: 12.34.56.789
26
+ Port 1234
27
+ IdentityFile: ~/.ssh/other_id_rsa
28
+
29
+
30
+ OtherAwesome:
31
+ HostName: localhost
32
+ ```
14
33
 
15
34
  ## Usage
16
35
 
@@ -12,7 +12,7 @@ def run_knife(command, node)
12
12
  end
13
13
 
14
14
  def agents
15
- agents_path = File.join(Dir.pwd, "agents.yml")
15
+ agents_path = File.join(Dir.pwd, "nodes.yml")
16
16
  unless File.exists? agents_path
17
17
  puts "Can't find #{agents_path}"
18
18
  exit 1
data/sous-chef.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.email = "shaun@substantail.com"
7
7
 
8
8
  s.name = 'sous-chef'
9
- s.version = "0.0.1"
9
+ s.version = "0.0.2"
10
10
  s.description = %q{Manage knife-solo nodes}
11
11
  s.summary = %q{Manage knife-solo nodes}
12
12
  s.homepage = %q{http://github.com/substantial/sous-chef}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sous-chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: