knife-server 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,18 @@
1
- ## 0.3.2.dev (unreleased)
1
+ ## 0.3.3.dev (unreleased)
2
+
3
+
4
+ ## 0.3.2 (December 19, 2012)
5
+
6
+ ### Improvements
7
+
8
+ * Pull request [#13](https://github.com/fnichol/knife-server/pull/13): Relax
9
+ version constraint on knife-ec2 gem. ([@wpeterson][])
10
+ * Issue [#9](https://github.com/fnichol/knife-server/issues/9): Highlight the
11
+ need to create set various knife.rb configuration settings. ([@fnichol][])
12
+ * Issue [#10](https://github.com/fnichol/knife-server/issues/10),
13
+ [#5](https://github.com/fnichol/knife-server/issues/5): Add more
14
+ instructions in knife.rb setup section as using Knife may be new to many
15
+ users of this gem. ([@fnichol][])
2
16
 
3
17
 
4
18
  ## 0.3.1 (December 12, 2012)
@@ -71,4 +85,5 @@ The initial release.
71
85
  [@fnichol]: https://github.com/fnichol
72
86
  [@iafonov]: https://github.com/iafonov
73
87
  [@stormsilver]: https://github.com/stormsilver
88
+ [@wpeterson]: https://github.com/wpeterson
74
89
  [@xdissent]: https://github.com/xdissent
data/README.md CHANGED
@@ -81,11 +81,16 @@ Or install it yourself as:
81
81
  $ gem install knife-server
82
82
  ```
83
83
 
84
+ Next, you **must** set up a [knife.rb configuration](#installation-knife) so
85
+ that the shipped Knife subcommands know where to place and modify key files,
86
+ backup directories, etc.
87
+
84
88
  ### <a name="installation-knife"></a> knife.rb Setup
85
89
 
86
90
  When creating a Chef Server the validation key and admin client key will
87
91
  be installed on your workstation. Therefore, several knife configuration
88
- options are required (descriptions courtesy of the [Chef wiki][wiki_knife]):
92
+ options are required (descriptions courtesy of the
93
+ [Chef docs site][docs_knife]):
89
94
 
90
95
  * `node_name`: User or client identity (i.e., name) to use for authenticating
91
96
  requests to the Chef Server.
@@ -95,7 +100,16 @@ options are required (descriptions courtesy of the [Chef wiki][wiki_knife]):
95
100
  new hosts. See knife-client(1) for more information about the validation
96
101
  client.
97
102
 
98
- For example:
103
+ It is important to note that the **knife server bootstrap** subcommands will
104
+ need write access to the `client_key` and `validation_key` files as well as
105
+ write access the their directories in order to create backup files. This means
106
+ that if you do not explicitly set `client_key` and `validation_key`, the
107
+ **knife server bootstrap** subcommands will attempt to write to
108
+ `"/etc/chef/client.pem"` and `"/etc/chef/validation.pem."` respectively.
109
+
110
+ For example, you could add lines similar to the following in your user's
111
+ `~/.chef/knife.rb` or your project's `.chef/knife.rb` file (assuming you
112
+ have a directory `"$HOME/.chef.d"` created with `mkdir -p $HOME/.chef.d`):
99
113
 
100
114
  ```ruby
101
115
  node_name "gramsay"
@@ -447,8 +461,8 @@ Apache License, Version 2.0 (see [LICENSE][license])
447
461
  [backup_restore]: https://github.com/stevendanna/knife-hacks/blob/master/plugins/backup_restore.rb
448
462
  [chef_bootstrap_knife_rb]: https://github.com/fnichol/chef-bootstrap-repo/blob/master/.chef/knife.rb
449
463
  [chef_bootstrap_repo]: https://github.com/fnichol/chef-bootstrap-repo/
464
+ [docs_knife]: http://docs.opscode.com/config_rb_knife.html
450
465
  [jtimberman]: https://github.com/jtimberman
451
466
  [knife-ec2]: https://github.com/opscode/knife-ec2
452
467
  [stevendanna]: https://github.com/stevendanna
453
468
  [vagrant_site]: http://vagrantup.com/
454
- [wiki_knife]: http://wiki.opscode.com/display/chef/Knife#Knife-Knifeconfiguration
data/knife-server.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency "fog", "~> 1.3"
19
19
  gem.add_dependency "net-ssh"
20
20
  gem.add_dependency "chef", ">= 0.10.10"
21
- gem.add_dependency "knife-ec2", "~> 0.5.12"
21
+ gem.add_dependency "knife-ec2", ">= 0.5.12"
22
22
 
23
23
  gem.add_development_dependency "rspec", "~> 2.10"
24
24
  gem.add_development_dependency "fakefs", "~> 0.4.0"
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Knife
20
20
  module Server
21
- VERSION = "0.3.1"
21
+ VERSION = "0.3.2"
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-12 00:00:00.000000000 Z
12
+ date: 2012-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -64,7 +64,7 @@ dependencies:
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ~>
67
+ - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: 0.5.12
70
70
  type: :runtime
@@ -72,7 +72,7 @@ dependencies:
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ~>
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: 0.5.12
78
78
  - !ruby/object:Gem::Dependency
@@ -169,12 +169,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
169
  - - ! '>='
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
+ segments:
173
+ - 0
174
+ hash: 2770646326129995573
172
175
  required_rubygems_version: !ruby/object:Gem::Requirement
173
176
  none: false
174
177
  requirements:
175
178
  - - ! '>='
176
179
  - !ruby/object:Gem::Version
177
180
  version: '0'
181
+ segments:
182
+ - 0
183
+ hash: 2770646326129995573
178
184
  requirements: []
179
185
  rubyforge_project:
180
186
  rubygems_version: 1.8.24