knife-opc 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -1
  3. data/lib/knife-opc/version.rb +1 -1
  4. metadata +64 -10
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 92b4653f93629de8ea38f0523ea80c7fc897fca8
4
+ data.tar.gz: a8a8b03dece21b66e347ad46f7641a191a79a8cd
5
+ SHA512:
6
+ metadata.gz: 7cc93df53f43488d2327de0ca541164c5aaaa962d64fae46a19f0856400eb39d0120dba98346e14a941904fb8a434afff0bf26ae229b9455bd06577d3181f9e5
7
+ data.tar.gz: 19c3259da6d761e448fc43e70db24501aee682ac499a7f489ce9b0876a6ba8f3fc37676248b8fbd6e6c7f350c753ac3aff9e2be039571b6d111ee3c2ab13ceb9
data/README.md CHANGED
@@ -36,7 +36,17 @@ of your OPC installation:
36
36
  chef_server_root https://chef.yourdomain.com/
37
37
 
38
38
  Note that most users in an OPC installation lack the permissions to
39
- run most of the commands from this plugin.
39
+ run most of the commands from this plugin. In order to use commands
40
+ such as `knife opc org create`, you must authenticate as the 'pivotal' user.
41
+ Add the following to your knife.rb to use the user 'pivotal':
42
+
43
+ node_name 'pivotal'
44
+ client_key '/etc/opscode/pivotal.pem'
45
+
46
+ Note that the key for the pivotal user is in /etc/opscode on any node
47
+ in your Chef Server cluster. We recommend that you only use the
48
+ pivotal user from a Chef Server itself and not copy this key off the
49
+ machine.
40
50
 
41
51
  # Subcommands
42
52
 
@@ -102,6 +112,14 @@ validator client is returned.
102
112
 
103
113
  Deletes the given OPC user.
104
114
 
115
+ # KNOWN ISSUES
116
+
117
+ * Attempting to delete and immediately recreate an organization will
118
+ result in an error (a 500 or a 409 Conflict depending on the server
119
+ version). This is because of a server-side cache that must be
120
+ cleared. Restarting the frontend services before recreating the org
121
+ is necessary to avoid the error.
122
+
105
123
  # TODO
106
124
 
107
125
  * `--with-users` option for `org show` subcommand.
@@ -1,3 +1,3 @@
1
1
  module KnifeOPC
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,16 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-opc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Steven Danna
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-27 00:00:00.000000000 Z
13
- dependencies: []
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: chef
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
14
69
  description: Knife Tools for Opscode Private Chef
15
70
  email: steve@opscode.com
16
71
  executables: []
@@ -33,27 +88,26 @@ files:
33
88
  - lib/knife-opc/version.rb
34
89
  homepage: http://wiki.opscode.com/display/chef
35
90
  licenses: []
91
+ metadata: {}
36
92
  post_install_message:
37
93
  rdoc_options: []
38
94
  require_paths:
39
95
  - lib
40
96
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
97
  requirements:
43
- - - ! '>='
98
+ - - ">="
44
99
  - !ruby/object:Gem::Version
45
100
  version: '0'
46
101
  required_rubygems_version: !ruby/object:Gem::Requirement
47
- none: false
48
102
  requirements:
49
- - - ! '>='
103
+ - - ">="
50
104
  - !ruby/object:Gem::Version
51
105
  version: '0'
52
106
  requirements: []
53
107
  rubyforge_project:
54
- rubygems_version: 1.8.23
108
+ rubygems_version: 2.2.1
55
109
  signing_key:
56
- specification_version: 3
110
+ specification_version: 4
57
111
  summary: Knife Tools for Opscode Private Chef
58
112
  test_files: []
59
113
  has_rdoc: