spiceweasel 2.6.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +33 -9
- data/bin/spiceweasel +3 -3
- data/lib/spiceweasel.rb +3 -2
- data/lib/spiceweasel/berksfile.rb +6 -10
- data/lib/spiceweasel/cli.rb +174 -129
- data/lib/spiceweasel/clusters.rb +31 -23
- data/lib/spiceweasel/command.rb +23 -5
- data/lib/spiceweasel/command_helper.rb +36 -2
- data/lib/spiceweasel/config.rb +4 -3
- data/lib/spiceweasel/cookbooks.rb +76 -57
- data/lib/spiceweasel/data_bags.rb +100 -64
- data/lib/spiceweasel/environments.rb +78 -56
- data/lib/spiceweasel/execute.rb +6 -7
- data/lib/spiceweasel/extract_local.rb +59 -46
- data/lib/spiceweasel/knife.rb +21 -20
- data/lib/spiceweasel/log.rb +5 -5
- data/lib/spiceweasel/nodes.rb +261 -193
- data/lib/spiceweasel/roles.rb +107 -76
- data/lib/spiceweasel/version.rb +5 -3
- data/test/chef-repo/Berksfile +4 -0
- data/test/chef-repo/Berksfile.lock +10 -0
- data/test/chef-repo/PASSWORD +1 -0
- data/test/chef-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/abc/README.md +68 -0
- data/test/chef-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/def/README.md +68 -0
- data/test/chef-repo/cookbooks/def/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/fail1/README.md +68 -0
- data/test/chef-repo/cookbooks/fail1/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail2/README.md +68 -0
- data/test/chef-repo/cookbooks/fail2/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail3/README.md +68 -0
- data/test/chef-repo/cookbooks/fail3/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/ghi/README.md +68 -0
- data/test/chef-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/jkl/README.md +68 -0
- data/test/chef-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/chef-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/mno/README.md +68 -0
- data/test/chef-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/chef-repo/data_bags/junk/README +1 -0
- data/test/chef-repo/data_bags/junk/abc.json +4 -0
- data/test/chef-repo/data_bags/junk/ade.json +4 -0
- data/test/chef-repo/data_bags/junk/afg.json +4 -0
- data/test/chef-repo/data_bags/junk/bcd.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/chef-repo/data_bags/users/README +1 -0
- data/test/chef-repo/data_bags/users/badjson.json +8 -0
- data/test/chef-repo/data_bags/users/failname.json +8 -0
- data/test/chef-repo/data_bags/users/mray.json +8 -0
- data/test/chef-repo/data_bags/users/ubuntu.json +8 -0
- data/test/chef-repo/environments/development.rb +2 -0
- data/test/chef-repo/environments/fail2.rb +8 -0
- data/test/chef-repo/environments/fail3.rb +2 -0
- data/test/chef-repo/environments/production-blue.json +177 -0
- data/test/chef-repo/environments/production-green.json +177 -0
- data/test/chef-repo/environments/production-red.json +177 -0
- data/test/chef-repo/environments/qa.rb +2 -0
- data/test/chef-repo/environments/sub/efg1.rb +2 -0
- data/test/chef-repo/environments/sub/efg2.json +177 -0
- data/test/chef-repo/fail-cookbook1.yml +19 -0
- data/test/chef-repo/fail-cookbook2.yml +21 -0
- data/test/chef-repo/fail-cookbook3.yml +37 -0
- data/test/chef-repo/fail-cookbook4.yml +37 -0
- data/test/chef-repo/fail-cookbook5.yml +10 -0
- data/test/chef-repo/fail-cookbook6.yml +9 -0
- data/test/chef-repo/fail-db1.yml +12 -0
- data/test/chef-repo/fail-db2.yml +10 -0
- data/test/chef-repo/fail-db3.yml +10 -0
- data/test/chef-repo/fail-db4.yml +10 -0
- data/test/chef-repo/fail-env1.yml +27 -0
- data/test/chef-repo/fail-env2.yml +27 -0
- data/test/chef-repo/fail-env3.yml +28 -0
- data/test/chef-repo/fail-env4.yml +28 -0
- data/test/chef-repo/fail-roles1.yml +22 -0
- data/test/chef-repo/fail-roles2.yml +21 -0
- data/test/chef-repo/fail-roles3.yml +23 -0
- data/test/chef-repo/fail-roles4.yml +23 -0
- data/test/chef-repo/fail-roles5.yml +23 -0
- data/test/chef-repo/infrastructure.yml +43 -0
- data/test/chef-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/chef-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/chef-repo/roles/README +1 -0
- data/test/chef-repo/roles/base.rb +18 -0
- data/test/chef-repo/roles/base2.rb +16 -0
- data/test/chef-repo/roles/base3.rb +17 -0
- data/test/chef-repo/roles/base4.rb +15 -0
- data/test/chef-repo/roles/fail1.rb +8 -0
- data/test/chef-repo/roles/fail2.rb +5 -0
- data/test/chef-repo/roles/fail3.rb +5 -0
- data/test/chef-repo/roles/sub/bw2.json +21 -0
- data/test/chef-repo/roles/sub/bwi1.json +20 -0
- data/test/chef-repo/roles/tc.rb +13 -0
- data/test/examples/cluster-file-example.yml +14 -0
- data/test/examples/example-cluster.yml +8 -0
- data/test/examples/example.json +127 -0
- data/test/examples/example.rb +128 -0
- data/test/examples/example.yml +67 -0
- data/test/examples/google-example.yml +33 -0
- data/test/examples/joyent-vsphere-example.yml +15 -0
- data/test/examples/knife.yml +7 -0
- data/test/examples/kvm-example.yml +22 -0
- data/test/examples/node-example.yml +23 -0
- data/test/examples/php-quick-start.yml +83 -0
- data/test/extract-repo/Berksfile +4 -0
- data/test/extract-repo/Berksfile.lock +10 -0
- data/test/extract-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/abc/README.md +68 -0
- data/test/extract-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/def/README.md +68 -0
- data/test/extract-repo/cookbooks/def/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/ghi/README.md +68 -0
- data/test/extract-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/jkl/README.md +68 -0
- data/test/extract-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/extract-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/mno/README.md +68 -0
- data/test/extract-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/extract-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/extract-repo/data_bags/junk/README +1 -0
- data/test/extract-repo/data_bags/junk/abc.json +4 -0
- data/test/extract-repo/data_bags/junk/ade.json +4 -0
- data/test/extract-repo/data_bags/junk/afg.json +4 -0
- data/test/extract-repo/data_bags/junk/bcd.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/extract-repo/data_bags/users/README +1 -0
- data/test/extract-repo/data_bags/users/mray.json +8 -0
- data/test/extract-repo/data_bags/users/ubuntu.json +8 -0
- data/test/extract-repo/environments/development.rb +2 -0
- data/test/extract-repo/environments/production-blue.json +177 -0
- data/test/extract-repo/environments/production-green.json +177 -0
- data/test/extract-repo/environments/production-red.json +177 -0
- data/test/extract-repo/environments/qa.rb +2 -0
- data/test/extract-repo/environments/sub/efg1.rb +2 -0
- data/test/extract-repo/environments/sub/efg2.json +177 -0
- data/test/extract-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/extract-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/extract-repo/roles/README +1 -0
- data/test/extract-repo/roles/base.rb +18 -0
- data/test/extract-repo/roles/base2.rb +16 -0
- data/test/extract-repo/roles/base3.rb +17 -0
- data/test/extract-repo/roles/base4.rb +16 -0
- data/test/extract-repo/roles/sub/bw2.json +21 -0
- data/test/extract-repo/roles/sub/bwi1.json +20 -0
- data/test/extract-repo/roles/tc.rb +13 -0
- data/test/extract-repo2/cookbooks/README.md +1 -0
- data/test/extract-repo2/data_bags/README.md +1 -0
- data/test/extract-repo2/environments/README.md +1 -0
- data/test/extract-repo2/nodes/README.md +1 -0
- data/test/extract-repo2/roles/README.md +1 -0
- metadata +357 -67
- data/spec/bin/chef_client_spec.rb +0 -72
- data/spec/bin/google_spec.rb +0 -105
- data/spec/bin/joyent-vsphere_spec.rb +0 -25
- data/spec/bin/knife_spec.rb +0 -18
- data/spec/bin/kvm_spec.rb +0 -29
- data/spec/bin/node_spec.rb +0 -108
- data/spec/bin/spiceweasel_spec.rb +0 -136
@@ -0,0 +1 @@
|
|
1
|
+
README FOR SURE!
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name "base"
|
2
|
+
description "Default run_list for testing"
|
3
|
+
run_list(
|
4
|
+
"recipe[abc]",
|
5
|
+
"recipe[def]",
|
6
|
+
"recipe[jkl]",
|
7
|
+
"recipe[mno]"
|
8
|
+
)
|
9
|
+
|
10
|
+
default_attributes(
|
11
|
+
"authorization" => {
|
12
|
+
"sudo" => {
|
13
|
+
"groups" => ["admin", "wheel", "sysadmin"],
|
14
|
+
"users" => ["mray"],
|
15
|
+
"passwordless" => true
|
16
|
+
}
|
17
|
+
}
|
18
|
+
)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name "base2"
|
2
|
+
description "Default run_list 2 for testing"
|
3
|
+
run_list(
|
4
|
+
"recipe[abc]",
|
5
|
+
"recipe[def::other]"
|
6
|
+
)
|
7
|
+
|
8
|
+
default_attributes(
|
9
|
+
"authorization" => {
|
10
|
+
"sudo" => {
|
11
|
+
"groups" => ["admin", "wheel", "sysadmin"],
|
12
|
+
"users" => ["mray"],
|
13
|
+
"passwordless" => true
|
14
|
+
}
|
15
|
+
}
|
16
|
+
)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
name "base3"
|
2
|
+
description "Default run_list 3 for testing"
|
3
|
+
run_list(
|
4
|
+
"recipe[def]",
|
5
|
+
"recipe[jkl]",
|
6
|
+
"recipe[mno]"
|
7
|
+
)
|
8
|
+
|
9
|
+
default_attributes(
|
10
|
+
"authorization" => {
|
11
|
+
"sudo" => {
|
12
|
+
"groups" => ["admin", "wheel", "sysadmin"],
|
13
|
+
"users" => ["mray"],
|
14
|
+
"passwordless" => true
|
15
|
+
}
|
16
|
+
}
|
17
|
+
)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name "base4"
|
2
|
+
description "Default run_list 4 for testing"
|
3
|
+
run_list(
|
4
|
+
"recipe[mno]",
|
5
|
+
"recipe[chef-pry]"
|
6
|
+
)
|
7
|
+
|
8
|
+
default_attributes(
|
9
|
+
"authorization" => {
|
10
|
+
"sudo" => {
|
11
|
+
"groups" => ["admin", "wheel", "sysadmin"],
|
12
|
+
"users" => ["mray"],
|
13
|
+
"passwordless" => true
|
14
|
+
}
|
15
|
+
}
|
16
|
+
)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"name": "bw2",
|
3
|
+
"default_attributes": {
|
4
|
+
"dns": {
|
5
|
+
"public_forward_zone": "bw2.attcompute.com"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"json_class": "Chef::Role",
|
9
|
+
"env_run_lists": {
|
10
|
+
},
|
11
|
+
"run_list": [
|
12
|
+
"role[base2]"
|
13
|
+
],
|
14
|
+
"description": "A role for BW2 nodes.",
|
15
|
+
"chef_type": "role",
|
16
|
+
"override_attributes": {
|
17
|
+
"interfaces": {
|
18
|
+
"dns-nameservers": [ "135.207.177.11", "135.207.164.11"]
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "bwi1",
|
3
|
+
"default_attributes": {
|
4
|
+
"dns": {
|
5
|
+
"public_forward_zone": "bwi1.attcompute.com"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"json_class": "Chef::Role",
|
9
|
+
"env_run_lists": {
|
10
|
+
},
|
11
|
+
"run_list": [
|
12
|
+
],
|
13
|
+
"description": "A role for BWI1 nodes.",
|
14
|
+
"chef_type": "role",
|
15
|
+
"override_attributes": {
|
16
|
+
"interfaces": {
|
17
|
+
"dns-nameservers": [ "135.207.177.11", "135.207.164.11"]
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
ISSUE79 test
|
@@ -0,0 +1 @@
|
|
1
|
+
ISSUE79 test
|
@@ -0,0 +1 @@
|
|
1
|
+
ISSUE79 test
|
@@ -0,0 +1 @@
|
|
1
|
+
ISSUE79 test
|
@@ -0,0 +1 @@
|
|
1
|
+
ISSUE79 test
|
metadata
CHANGED
@@ -1,155 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spiceweasel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Ray
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: yajl
|
14
|
+
name: ffi-yajl
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: mixlib-
|
28
|
+
name: mixlib-config
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: mixlib-
|
42
|
+
name: mixlib-cli
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.5'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: mixlib-log
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.6'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mixlib-shellout
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.4'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: chef
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '11.16'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '11.16'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: berkshelf
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3'
|
103
|
+
version: '3.1'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3'
|
110
|
+
version: '3.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
118
|
-
type: :
|
117
|
+
version: '3'
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '3'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '10.3'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '10.3'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rubocop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 0.18.1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 0.18.1
|
153
153
|
description: Provides a CLI tool for generating knife commands to build Chef-managed
|
154
154
|
infrastructure from a simple JSON or YAML file.
|
155
155
|
email:
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- LICENSE
|
163
163
|
- README.md
|
164
164
|
- bin/spiceweasel
|
165
|
+
- lib/spiceweasel.rb
|
165
166
|
- lib/spiceweasel/berksfile.rb
|
166
167
|
- lib/spiceweasel/cli.rb
|
167
168
|
- lib/spiceweasel/clusters.rb
|
@@ -178,14 +179,158 @@ files:
|
|
178
179
|
- lib/spiceweasel/nodes.rb
|
179
180
|
- lib/spiceweasel/roles.rb
|
180
181
|
- lib/spiceweasel/version.rb
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
182
|
+
- test/chef-repo/Berksfile
|
183
|
+
- test/chef-repo/Berksfile.lock
|
184
|
+
- test/chef-repo/PASSWORD
|
185
|
+
- test/chef-repo/cookbooks/abc/CHANGELOG.md
|
186
|
+
- test/chef-repo/cookbooks/abc/README.md
|
187
|
+
- test/chef-repo/cookbooks/abc/metadata.rb
|
188
|
+
- test/chef-repo/cookbooks/abc/recipes/default.rb
|
189
|
+
- test/chef-repo/cookbooks/def/CHANGELOG.md
|
190
|
+
- test/chef-repo/cookbooks/def/README.md
|
191
|
+
- test/chef-repo/cookbooks/def/metadata.rb
|
192
|
+
- test/chef-repo/cookbooks/def/recipes/default.rb
|
193
|
+
- test/chef-repo/cookbooks/fail1/README.md
|
194
|
+
- test/chef-repo/cookbooks/fail1/metadata.rb
|
195
|
+
- test/chef-repo/cookbooks/fail2/README.md
|
196
|
+
- test/chef-repo/cookbooks/fail2/metadata.rb
|
197
|
+
- test/chef-repo/cookbooks/fail3/README.md
|
198
|
+
- test/chef-repo/cookbooks/fail3/metadata.rb
|
199
|
+
- test/chef-repo/cookbooks/ghi/CHANGELOG.md
|
200
|
+
- test/chef-repo/cookbooks/ghi/README.md
|
201
|
+
- test/chef-repo/cookbooks/ghi/metadata.rb
|
202
|
+
- test/chef-repo/cookbooks/ghi/recipes/default.rb
|
203
|
+
- test/chef-repo/cookbooks/jkl/CHANGELOG.md
|
204
|
+
- test/chef-repo/cookbooks/jkl/README.md
|
205
|
+
- test/chef-repo/cookbooks/jkl/metadata.rb
|
206
|
+
- test/chef-repo/cookbooks/jkl/recipes/default.rb
|
207
|
+
- test/chef-repo/cookbooks/mno/CHANGELOG.md
|
208
|
+
- test/chef-repo/cookbooks/mno/README.md
|
209
|
+
- test/chef-repo/cookbooks/mno/metadata.rb
|
210
|
+
- test/chef-repo/cookbooks/mno/recipes/default.rb
|
211
|
+
- test/chef-repo/data_bags/junk/README
|
212
|
+
- test/chef-repo/data_bags/junk/abc.json
|
213
|
+
- test/chef-repo/data_bags/junk/ade.json
|
214
|
+
- test/chef-repo/data_bags/junk/afg.json
|
215
|
+
- test/chef-repo/data_bags/junk/bcd.json
|
216
|
+
- test/chef-repo/data_bags/junk/sub1/cde1.json
|
217
|
+
- test/chef-repo/data_bags/junk/sub1/cde2.json
|
218
|
+
- test/chef-repo/data_bags/junk/sub2/def1.json
|
219
|
+
- test/chef-repo/data_bags/junk/sub2/def2.json
|
220
|
+
- test/chef-repo/data_bags/users/README
|
221
|
+
- test/chef-repo/data_bags/users/badjson.json
|
222
|
+
- test/chef-repo/data_bags/users/failname.json
|
223
|
+
- test/chef-repo/data_bags/users/mray.json
|
224
|
+
- test/chef-repo/data_bags/users/ubuntu.json
|
225
|
+
- test/chef-repo/environments/development.rb
|
226
|
+
- test/chef-repo/environments/fail2.rb
|
227
|
+
- test/chef-repo/environments/fail3.rb
|
228
|
+
- test/chef-repo/environments/production-blue.json
|
229
|
+
- test/chef-repo/environments/production-green.json
|
230
|
+
- test/chef-repo/environments/production-red.json
|
231
|
+
- test/chef-repo/environments/qa.rb
|
232
|
+
- test/chef-repo/environments/sub/efg1.rb
|
233
|
+
- test/chef-repo/environments/sub/efg2.json
|
234
|
+
- test/chef-repo/fail-cookbook1.yml
|
235
|
+
- test/chef-repo/fail-cookbook2.yml
|
236
|
+
- test/chef-repo/fail-cookbook3.yml
|
237
|
+
- test/chef-repo/fail-cookbook4.yml
|
238
|
+
- test/chef-repo/fail-cookbook5.yml
|
239
|
+
- test/chef-repo/fail-cookbook6.yml
|
240
|
+
- test/chef-repo/fail-db1.yml
|
241
|
+
- test/chef-repo/fail-db2.yml
|
242
|
+
- test/chef-repo/fail-db3.yml
|
243
|
+
- test/chef-repo/fail-db4.yml
|
244
|
+
- test/chef-repo/fail-env1.yml
|
245
|
+
- test/chef-repo/fail-env2.yml
|
246
|
+
- test/chef-repo/fail-env3.yml
|
247
|
+
- test/chef-repo/fail-env4.yml
|
248
|
+
- test/chef-repo/fail-roles1.yml
|
249
|
+
- test/chef-repo/fail-roles2.yml
|
250
|
+
- test/chef-repo/fail-roles3.yml
|
251
|
+
- test/chef-repo/fail-roles4.yml
|
252
|
+
- test/chef-repo/fail-roles5.yml
|
253
|
+
- test/chef-repo/infrastructure.yml
|
254
|
+
- test/chef-repo/nodes/boxy.lab.atx.json
|
255
|
+
- test/chef-repo/nodes/guenter.home.atx.json
|
256
|
+
- test/chef-repo/roles/README
|
257
|
+
- test/chef-repo/roles/base.rb
|
258
|
+
- test/chef-repo/roles/base2.rb
|
259
|
+
- test/chef-repo/roles/base3.rb
|
260
|
+
- test/chef-repo/roles/base4.rb
|
261
|
+
- test/chef-repo/roles/fail1.rb
|
262
|
+
- test/chef-repo/roles/fail2.rb
|
263
|
+
- test/chef-repo/roles/fail3.rb
|
264
|
+
- test/chef-repo/roles/sub/bw2.json
|
265
|
+
- test/chef-repo/roles/sub/bwi1.json
|
266
|
+
- test/chef-repo/roles/tc.rb
|
267
|
+
- test/examples/cluster-file-example.yml
|
268
|
+
- test/examples/example-cluster.yml
|
269
|
+
- test/examples/example.json
|
270
|
+
- test/examples/example.rb
|
271
|
+
- test/examples/example.yml
|
272
|
+
- test/examples/google-example.yml
|
273
|
+
- test/examples/joyent-vsphere-example.yml
|
274
|
+
- test/examples/knife.yml
|
275
|
+
- test/examples/kvm-example.yml
|
276
|
+
- test/examples/node-example.yml
|
277
|
+
- test/examples/php-quick-start.yml
|
278
|
+
- test/extract-repo/Berksfile
|
279
|
+
- test/extract-repo/Berksfile.lock
|
280
|
+
- test/extract-repo/cookbooks/abc/CHANGELOG.md
|
281
|
+
- test/extract-repo/cookbooks/abc/README.md
|
282
|
+
- test/extract-repo/cookbooks/abc/metadata.rb
|
283
|
+
- test/extract-repo/cookbooks/abc/recipes/default.rb
|
284
|
+
- test/extract-repo/cookbooks/def/CHANGELOG.md
|
285
|
+
- test/extract-repo/cookbooks/def/README.md
|
286
|
+
- test/extract-repo/cookbooks/def/metadata.rb
|
287
|
+
- test/extract-repo/cookbooks/def/recipes/default.rb
|
288
|
+
- test/extract-repo/cookbooks/ghi/CHANGELOG.md
|
289
|
+
- test/extract-repo/cookbooks/ghi/README.md
|
290
|
+
- test/extract-repo/cookbooks/ghi/metadata.rb
|
291
|
+
- test/extract-repo/cookbooks/ghi/recipes/default.rb
|
292
|
+
- test/extract-repo/cookbooks/jkl/CHANGELOG.md
|
293
|
+
- test/extract-repo/cookbooks/jkl/README.md
|
294
|
+
- test/extract-repo/cookbooks/jkl/metadata.rb
|
295
|
+
- test/extract-repo/cookbooks/jkl/recipes/default.rb
|
296
|
+
- test/extract-repo/cookbooks/mno/CHANGELOG.md
|
297
|
+
- test/extract-repo/cookbooks/mno/README.md
|
298
|
+
- test/extract-repo/cookbooks/mno/metadata.rb
|
299
|
+
- test/extract-repo/cookbooks/mno/recipes/default.rb
|
300
|
+
- test/extract-repo/data_bags/junk/README
|
301
|
+
- test/extract-repo/data_bags/junk/abc.json
|
302
|
+
- test/extract-repo/data_bags/junk/ade.json
|
303
|
+
- test/extract-repo/data_bags/junk/afg.json
|
304
|
+
- test/extract-repo/data_bags/junk/bcd.json
|
305
|
+
- test/extract-repo/data_bags/junk/sub1/cde1.json
|
306
|
+
- test/extract-repo/data_bags/junk/sub1/cde2.json
|
307
|
+
- test/extract-repo/data_bags/junk/sub2/def1.json
|
308
|
+
- test/extract-repo/data_bags/junk/sub2/def2.json
|
309
|
+
- test/extract-repo/data_bags/users/README
|
310
|
+
- test/extract-repo/data_bags/users/mray.json
|
311
|
+
- test/extract-repo/data_bags/users/ubuntu.json
|
312
|
+
- test/extract-repo/environments/development.rb
|
313
|
+
- test/extract-repo/environments/production-blue.json
|
314
|
+
- test/extract-repo/environments/production-green.json
|
315
|
+
- test/extract-repo/environments/production-red.json
|
316
|
+
- test/extract-repo/environments/qa.rb
|
317
|
+
- test/extract-repo/environments/sub/efg1.rb
|
318
|
+
- test/extract-repo/environments/sub/efg2.json
|
319
|
+
- test/extract-repo/nodes/boxy.lab.atx.json
|
320
|
+
- test/extract-repo/nodes/guenter.home.atx.json
|
321
|
+
- test/extract-repo/roles/README
|
322
|
+
- test/extract-repo/roles/base.rb
|
323
|
+
- test/extract-repo/roles/base2.rb
|
324
|
+
- test/extract-repo/roles/base3.rb
|
325
|
+
- test/extract-repo/roles/base4.rb
|
326
|
+
- test/extract-repo/roles/sub/bw2.json
|
327
|
+
- test/extract-repo/roles/sub/bwi1.json
|
328
|
+
- test/extract-repo/roles/tc.rb
|
329
|
+
- test/extract-repo2/cookbooks/README.md
|
330
|
+
- test/extract-repo2/data_bags/README.md
|
331
|
+
- test/extract-repo2/environments/README.md
|
332
|
+
- test/extract-repo2/nodes/README.md
|
333
|
+
- test/extract-repo2/roles/README.md
|
189
334
|
homepage: https://github.com/mattray/spiceweasel
|
190
335
|
licenses:
|
191
336
|
- Apache
|
@@ -196,25 +341,170 @@ require_paths:
|
|
196
341
|
- lib
|
197
342
|
required_ruby_version: !ruby/object:Gem::Requirement
|
198
343
|
requirements:
|
199
|
-
- -
|
344
|
+
- - ">="
|
200
345
|
- !ruby/object:Gem::Version
|
201
346
|
version: '1.9'
|
202
347
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
348
|
requirements:
|
204
|
-
- -
|
349
|
+
- - ">="
|
205
350
|
- !ruby/object:Gem::Version
|
206
351
|
version: '0'
|
207
352
|
requirements: []
|
208
353
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
354
|
+
rubygems_version: 2.2.2
|
210
355
|
signing_key:
|
211
356
|
specification_version: 4
|
212
357
|
summary: CLI for generating Chef knife commands from a simple JSON or YAML file.
|
213
358
|
test_files:
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
359
|
+
- test/chef-repo/Berksfile
|
360
|
+
- test/chef-repo/Berksfile.lock
|
361
|
+
- test/chef-repo/cookbooks/abc/CHANGELOG.md
|
362
|
+
- test/chef-repo/cookbooks/abc/metadata.rb
|
363
|
+
- test/chef-repo/cookbooks/abc/README.md
|
364
|
+
- test/chef-repo/cookbooks/abc/recipes/default.rb
|
365
|
+
- test/chef-repo/cookbooks/def/CHANGELOG.md
|
366
|
+
- test/chef-repo/cookbooks/def/metadata.rb
|
367
|
+
- test/chef-repo/cookbooks/def/README.md
|
368
|
+
- test/chef-repo/cookbooks/def/recipes/default.rb
|
369
|
+
- test/chef-repo/cookbooks/fail1/metadata.rb
|
370
|
+
- test/chef-repo/cookbooks/fail1/README.md
|
371
|
+
- test/chef-repo/cookbooks/fail2/metadata.rb
|
372
|
+
- test/chef-repo/cookbooks/fail2/README.md
|
373
|
+
- test/chef-repo/cookbooks/fail3/metadata.rb
|
374
|
+
- test/chef-repo/cookbooks/fail3/README.md
|
375
|
+
- test/chef-repo/cookbooks/ghi/CHANGELOG.md
|
376
|
+
- test/chef-repo/cookbooks/ghi/metadata.rb
|
377
|
+
- test/chef-repo/cookbooks/ghi/README.md
|
378
|
+
- test/chef-repo/cookbooks/ghi/recipes/default.rb
|
379
|
+
- test/chef-repo/cookbooks/jkl/CHANGELOG.md
|
380
|
+
- test/chef-repo/cookbooks/jkl/metadata.rb
|
381
|
+
- test/chef-repo/cookbooks/jkl/README.md
|
382
|
+
- test/chef-repo/cookbooks/jkl/recipes/default.rb
|
383
|
+
- test/chef-repo/cookbooks/mno/CHANGELOG.md
|
384
|
+
- test/chef-repo/cookbooks/mno/metadata.rb
|
385
|
+
- test/chef-repo/cookbooks/mno/README.md
|
386
|
+
- test/chef-repo/cookbooks/mno/recipes/default.rb
|
387
|
+
- test/chef-repo/data_bags/junk/abc.json
|
388
|
+
- test/chef-repo/data_bags/junk/ade.json
|
389
|
+
- test/chef-repo/data_bags/junk/afg.json
|
390
|
+
- test/chef-repo/data_bags/junk/bcd.json
|
391
|
+
- test/chef-repo/data_bags/junk/README
|
392
|
+
- test/chef-repo/data_bags/junk/sub1/cde1.json
|
393
|
+
- test/chef-repo/data_bags/junk/sub1/cde2.json
|
394
|
+
- test/chef-repo/data_bags/junk/sub2/def1.json
|
395
|
+
- test/chef-repo/data_bags/junk/sub2/def2.json
|
396
|
+
- test/chef-repo/data_bags/users/badjson.json
|
397
|
+
- test/chef-repo/data_bags/users/failname.json
|
398
|
+
- test/chef-repo/data_bags/users/mray.json
|
399
|
+
- test/chef-repo/data_bags/users/README
|
400
|
+
- test/chef-repo/data_bags/users/ubuntu.json
|
401
|
+
- test/chef-repo/environments/development.rb
|
402
|
+
- test/chef-repo/environments/fail2.rb
|
403
|
+
- test/chef-repo/environments/fail3.rb
|
404
|
+
- test/chef-repo/environments/production-blue.json
|
405
|
+
- test/chef-repo/environments/production-green.json
|
406
|
+
- test/chef-repo/environments/production-red.json
|
407
|
+
- test/chef-repo/environments/qa.rb
|
408
|
+
- test/chef-repo/environments/sub/efg1.rb
|
409
|
+
- test/chef-repo/environments/sub/efg2.json
|
410
|
+
- test/chef-repo/fail-cookbook1.yml
|
411
|
+
- test/chef-repo/fail-cookbook2.yml
|
412
|
+
- test/chef-repo/fail-cookbook3.yml
|
413
|
+
- test/chef-repo/fail-cookbook4.yml
|
414
|
+
- test/chef-repo/fail-cookbook5.yml
|
415
|
+
- test/chef-repo/fail-cookbook6.yml
|
416
|
+
- test/chef-repo/fail-db1.yml
|
417
|
+
- test/chef-repo/fail-db2.yml
|
418
|
+
- test/chef-repo/fail-db3.yml
|
419
|
+
- test/chef-repo/fail-db4.yml
|
420
|
+
- test/chef-repo/fail-env1.yml
|
421
|
+
- test/chef-repo/fail-env2.yml
|
422
|
+
- test/chef-repo/fail-env3.yml
|
423
|
+
- test/chef-repo/fail-env4.yml
|
424
|
+
- test/chef-repo/fail-roles1.yml
|
425
|
+
- test/chef-repo/fail-roles2.yml
|
426
|
+
- test/chef-repo/fail-roles3.yml
|
427
|
+
- test/chef-repo/fail-roles4.yml
|
428
|
+
- test/chef-repo/fail-roles5.yml
|
429
|
+
- test/chef-repo/infrastructure.yml
|
430
|
+
- test/chef-repo/nodes/boxy.lab.atx.json
|
431
|
+
- test/chef-repo/nodes/guenter.home.atx.json
|
432
|
+
- test/chef-repo/PASSWORD
|
433
|
+
- test/chef-repo/roles/base.rb
|
434
|
+
- test/chef-repo/roles/base2.rb
|
435
|
+
- test/chef-repo/roles/base3.rb
|
436
|
+
- test/chef-repo/roles/base4.rb
|
437
|
+
- test/chef-repo/roles/fail1.rb
|
438
|
+
- test/chef-repo/roles/fail2.rb
|
439
|
+
- test/chef-repo/roles/fail3.rb
|
440
|
+
- test/chef-repo/roles/README
|
441
|
+
- test/chef-repo/roles/sub/bw2.json
|
442
|
+
- test/chef-repo/roles/sub/bwi1.json
|
443
|
+
- test/chef-repo/roles/tc.rb
|
444
|
+
- test/examples/cluster-file-example.yml
|
445
|
+
- test/examples/example-cluster.yml
|
446
|
+
- test/examples/example.json
|
447
|
+
- test/examples/example.rb
|
448
|
+
- test/examples/example.yml
|
449
|
+
- test/examples/google-example.yml
|
450
|
+
- test/examples/joyent-vsphere-example.yml
|
451
|
+
- test/examples/knife.yml
|
452
|
+
- test/examples/kvm-example.yml
|
453
|
+
- test/examples/node-example.yml
|
454
|
+
- test/examples/php-quick-start.yml
|
455
|
+
- test/extract-repo/Berksfile
|
456
|
+
- test/extract-repo/Berksfile.lock
|
457
|
+
- test/extract-repo/cookbooks/abc/CHANGELOG.md
|
458
|
+
- test/extract-repo/cookbooks/abc/metadata.rb
|
459
|
+
- test/extract-repo/cookbooks/abc/README.md
|
460
|
+
- test/extract-repo/cookbooks/abc/recipes/default.rb
|
461
|
+
- test/extract-repo/cookbooks/def/CHANGELOG.md
|
462
|
+
- test/extract-repo/cookbooks/def/metadata.rb
|
463
|
+
- test/extract-repo/cookbooks/def/README.md
|
464
|
+
- test/extract-repo/cookbooks/def/recipes/default.rb
|
465
|
+
- test/extract-repo/cookbooks/ghi/CHANGELOG.md
|
466
|
+
- test/extract-repo/cookbooks/ghi/metadata.rb
|
467
|
+
- test/extract-repo/cookbooks/ghi/README.md
|
468
|
+
- test/extract-repo/cookbooks/ghi/recipes/default.rb
|
469
|
+
- test/extract-repo/cookbooks/jkl/CHANGELOG.md
|
470
|
+
- test/extract-repo/cookbooks/jkl/metadata.rb
|
471
|
+
- test/extract-repo/cookbooks/jkl/README.md
|
472
|
+
- test/extract-repo/cookbooks/jkl/recipes/default.rb
|
473
|
+
- test/extract-repo/cookbooks/mno/CHANGELOG.md
|
474
|
+
- test/extract-repo/cookbooks/mno/metadata.rb
|
475
|
+
- test/extract-repo/cookbooks/mno/README.md
|
476
|
+
- test/extract-repo/cookbooks/mno/recipes/default.rb
|
477
|
+
- test/extract-repo/data_bags/junk/abc.json
|
478
|
+
- test/extract-repo/data_bags/junk/ade.json
|
479
|
+
- test/extract-repo/data_bags/junk/afg.json
|
480
|
+
- test/extract-repo/data_bags/junk/bcd.json
|
481
|
+
- test/extract-repo/data_bags/junk/README
|
482
|
+
- test/extract-repo/data_bags/junk/sub1/cde1.json
|
483
|
+
- test/extract-repo/data_bags/junk/sub1/cde2.json
|
484
|
+
- test/extract-repo/data_bags/junk/sub2/def1.json
|
485
|
+
- test/extract-repo/data_bags/junk/sub2/def2.json
|
486
|
+
- test/extract-repo/data_bags/users/mray.json
|
487
|
+
- test/extract-repo/data_bags/users/README
|
488
|
+
- test/extract-repo/data_bags/users/ubuntu.json
|
489
|
+
- test/extract-repo/environments/development.rb
|
490
|
+
- test/extract-repo/environments/production-blue.json
|
491
|
+
- test/extract-repo/environments/production-green.json
|
492
|
+
- test/extract-repo/environments/production-red.json
|
493
|
+
- test/extract-repo/environments/qa.rb
|
494
|
+
- test/extract-repo/environments/sub/efg1.rb
|
495
|
+
- test/extract-repo/environments/sub/efg2.json
|
496
|
+
- test/extract-repo/nodes/boxy.lab.atx.json
|
497
|
+
- test/extract-repo/nodes/guenter.home.atx.json
|
498
|
+
- test/extract-repo/roles/base.rb
|
499
|
+
- test/extract-repo/roles/base2.rb
|
500
|
+
- test/extract-repo/roles/base3.rb
|
501
|
+
- test/extract-repo/roles/base4.rb
|
502
|
+
- test/extract-repo/roles/README
|
503
|
+
- test/extract-repo/roles/sub/bw2.json
|
504
|
+
- test/extract-repo/roles/sub/bwi1.json
|
505
|
+
- test/extract-repo/roles/tc.rb
|
506
|
+
- test/extract-repo2/cookbooks/README.md
|
507
|
+
- test/extract-repo2/data_bags/README.md
|
508
|
+
- test/extract-repo2/environments/README.md
|
509
|
+
- test/extract-repo2/nodes/README.md
|
510
|
+
- test/extract-repo2/roles/README.md
|