knife-playground 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +6 -0
  2. data/VERSION +1 -1
  3. data/lib/chef/knife/pg.rb +8 -0
  4. metadata +3 -2
data/README.md CHANGED
@@ -8,6 +8,12 @@ Playground for various Opscode Chef Knife plugins
8
8
 
9
9
  # Commands Available
10
10
 
11
+ **knife pg config settings**
12
+
13
+ Print Chef::Config settings
14
+
15
+ knife pg config settings
16
+
11
17
  **knife pg clientnode delete CLIENT**
12
18
 
13
19
  Delete client + node from Opscode Chef Server
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2
1
+ 0.2.1
@@ -50,6 +50,13 @@ module KnifePlayground
50
50
 
51
51
  end
52
52
 
53
+ #
54
+ # Most of this code comes from Opscode Knife cookbook_upload.rb plugin:
55
+ #
56
+ # https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/cookbook_upload.rb
57
+ #
58
+ # Minor modifications to add Git support added
59
+ #
53
60
  class PgGitCookbookUpload < Chef::Knife
54
61
 
55
62
  CHECKSUM = "checksum"
@@ -59,6 +66,7 @@ module KnifePlayground
59
66
  require 'chef/exceptions'
60
67
  require 'chef/cookbook_loader'
61
68
  require 'chef/cookbook_uploader'
69
+ require 'git'
62
70
  end
63
71
 
64
72
  banner "knife pg git cookbook upload [COOKBOOKS...] (options)"
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-playground
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- version: "0.2"
9
+ - 1
10
+ version: 0.2.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sergio Rubio