toft 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +57 -0
- data/Rakefile +1 -0
- data/features/checker.feature +14 -0
- data/features/chef.feature +52 -0
- data/features/command.feature +19 -0
- data/features/node.feature +21 -0
- data/features/step_definitions/checker.rb +15 -0
- data/features/step_definitions/chef.rb +35 -0
- data/features/step_definitions/command.rb +21 -0
- data/features/step_definitions/node.rb +38 -0
- data/features/support/env.rb +19 -0
- data/fixtures/chef/cookbooks/test/attributes/default.rb +4 -0
- data/fixtures/chef/cookbooks/test/recipes/attribute.rb +19 -0
- data/fixtures/chef/cookbooks/test/recipes/default.rb +4 -0
- data/fixtures/chef/cookbooks/test/recipes/role.rb +4 -0
- data/fixtures/chef/roles/test.rb +3 -0
- data/lib/toft/chef/chef_attributes.rb +29 -0
- data/lib/toft/chef/chef_runner.rb +64 -0
- data/lib/toft/file_checker.rb +42 -0
- data/lib/toft/node.rb +140 -0
- data/lib/toft/node_controller.rb +32 -0
- data/lib/toft/version.rb +3 -0
- data/lib/toft.rb +38 -0
- data/scripts/bash/install-chef-ubuntu.sh +11 -0
- data/scripts/bash/install-rvm.sh +79 -0
- data/scripts/cookbooks/lxc/attributes/default.rb +1 -0
- data/scripts/cookbooks/lxc/files/default/lxc-create-ubuntu-image +61 -0
- data/scripts/cookbooks/lxc/recipes/default.rb +42 -0
- data/scripts/cookbooks/lxc/templates/default/lxc-lucid-chef +328 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/tuft/chef_attributes_spec.rb +33 -0
- metadata +164 -0
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: toft
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Huang Liang
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-09-26 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: cucumber
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: vagrant
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 49
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
- 8
|
60
|
+
- 7
|
61
|
+
version: 0.8.7
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: net-ssh
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
type: :runtime
|
77
|
+
version_requirements: *id004
|
78
|
+
description: toft currently support testing chef, shell scripts using cucumber on lxc on ubuntu
|
79
|
+
email:
|
80
|
+
- exceedhl@gmail.com
|
81
|
+
executables: []
|
82
|
+
|
83
|
+
extensions: []
|
84
|
+
|
85
|
+
extra_rdoc_files: []
|
86
|
+
|
87
|
+
files:
|
88
|
+
- Gemfile
|
89
|
+
- Gemfile.lock
|
90
|
+
- Rakefile
|
91
|
+
- features/checker.feature
|
92
|
+
- features/chef.feature
|
93
|
+
- features/command.feature
|
94
|
+
- features/node.feature
|
95
|
+
- features/step_definitions/checker.rb
|
96
|
+
- features/step_definitions/chef.rb
|
97
|
+
- features/step_definitions/command.rb
|
98
|
+
- features/step_definitions/node.rb
|
99
|
+
- features/support/env.rb
|
100
|
+
- fixtures/chef/cookbooks/test/attributes/default.rb
|
101
|
+
- fixtures/chef/cookbooks/test/recipes/attribute.rb
|
102
|
+
- fixtures/chef/cookbooks/test/recipes/default.rb
|
103
|
+
- fixtures/chef/cookbooks/test/recipes/role.rb
|
104
|
+
- fixtures/chef/roles/test.rb
|
105
|
+
- lib/toft.rb
|
106
|
+
- lib/toft/chef/chef_attributes.rb
|
107
|
+
- lib/toft/chef/chef_runner.rb
|
108
|
+
- lib/toft/file_checker.rb
|
109
|
+
- lib/toft/node.rb
|
110
|
+
- lib/toft/node_controller.rb
|
111
|
+
- lib/toft/version.rb
|
112
|
+
- scripts/bash/install-chef-ubuntu.sh
|
113
|
+
- scripts/bash/install-rvm.sh
|
114
|
+
- scripts/cookbooks/lxc/attributes/default.rb
|
115
|
+
- scripts/cookbooks/lxc/files/default/lxc-create-ubuntu-image
|
116
|
+
- scripts/cookbooks/lxc/recipes/default.rb
|
117
|
+
- scripts/cookbooks/lxc/templates/default/lxc-lucid-chef
|
118
|
+
- spec/spec_helper.rb
|
119
|
+
- spec/tuft/chef_attributes_spec.rb
|
120
|
+
homepage: https://github.com/exceedhl/toft
|
121
|
+
licenses: []
|
122
|
+
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
|
126
|
+
require_paths:
|
127
|
+
- lib
|
128
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
hash: 3
|
134
|
+
segments:
|
135
|
+
- 0
|
136
|
+
version: "0"
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
hash: 3
|
143
|
+
segments:
|
144
|
+
- 0
|
145
|
+
version: "0"
|
146
|
+
requirements: []
|
147
|
+
|
148
|
+
rubyforge_project: toft
|
149
|
+
rubygems_version: 1.8.8
|
150
|
+
signing_key:
|
151
|
+
specification_version: 3
|
152
|
+
summary: toft aims to help test infrastructure code such as chef
|
153
|
+
test_files:
|
154
|
+
- features/checker.feature
|
155
|
+
- features/chef.feature
|
156
|
+
- features/command.feature
|
157
|
+
- features/node.feature
|
158
|
+
- features/step_definitions/checker.rb
|
159
|
+
- features/step_definitions/chef.rb
|
160
|
+
- features/step_definitions/command.rb
|
161
|
+
- features/step_definitions/node.rb
|
162
|
+
- features/support/env.rb
|
163
|
+
- spec/spec_helper.rb
|
164
|
+
- spec/tuft/chef_attributes_spec.rb
|