abiquo-chef-agent 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/bin/abiquo-chef-run +3 -0
- data/lib/abiquo-chef-agent.rb +1 -1
- metadata +148 -102
data/Rakefile
CHANGED
@@ -12,8 +12,8 @@ Jeweler::Tasks.new do |gem|
|
|
12
12
|
gem.license = "MIT"
|
13
13
|
gem.summary = %Q{Abiquo Chef Agent}
|
14
14
|
gem.description = %Q{Abiquo Chef Agent}
|
15
|
-
gem.email = "
|
16
|
-
gem.authors = ["Sergio Rubio"]
|
15
|
+
gem.email = "salvador.girones@abiquo.com"
|
16
|
+
gem.authors = ["Salvador Girones", "Sergio Rubio"]
|
17
17
|
gem.add_runtime_dependency 'run-as-root'
|
18
18
|
gem.add_runtime_dependency 'chef'
|
19
19
|
gem.add_runtime_dependency 'daemons'
|
data/bin/abiquo-chef-run
CHANGED
@@ -175,6 +175,9 @@ else
|
|
175
175
|
File.open('/etc/hostname', 'w') do |f|
|
176
176
|
f.puts node_name
|
177
177
|
end
|
178
|
+
File.open('/etc/hosts', 'a') do |f|
|
179
|
+
f.puts "127.0.0.1 #{node_name}"
|
180
|
+
end
|
178
181
|
log "chef-client run OK"
|
179
182
|
log "Running chef-client in daemon mode"
|
180
183
|
# Now we run it in daemon mode
|
data/lib/abiquo-chef-agent.rb
CHANGED
metadata
CHANGED
@@ -1,124 +1,161 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: abiquo-chef-agent
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 10
|
10
|
+
version: 1.0.10
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
13
|
+
- Salvador Girones
|
8
14
|
- Sergio Rubio
|
9
15
|
autorequire:
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
requirement: &
|
18
|
+
|
19
|
+
date: 2012-10-16 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
23
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
22
|
-
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
version_requirements: *id001
|
32
|
+
name: rspec
|
23
33
|
prerelease: false
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
|
27
|
-
requirement: &70208823773140 !ruby/object:Gem::Requirement
|
34
|
+
type: :development
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
37
|
none: false
|
29
|
-
requirements:
|
38
|
+
requirements:
|
30
39
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
hash: 23
|
42
|
+
segments:
|
43
|
+
- 1
|
44
|
+
- 0
|
45
|
+
- 0
|
32
46
|
version: 1.0.0
|
33
|
-
|
47
|
+
version_requirements: *id002
|
48
|
+
name: bundler
|
34
49
|
prerelease: false
|
35
|
-
version_requirements: *70208823773140
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: jeweler
|
38
|
-
requirement: &70208823772660 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ! '>='
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '0'
|
44
50
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: simplecov
|
49
|
-
requirement: &70208823772180 !ruby/object:Gem::Requirement
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
53
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
version_requirements: *id003
|
62
|
+
name: jeweler
|
56
63
|
prerelease: false
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
|
60
|
-
requirement: &70208823771700 !ruby/object:Gem::Requirement
|
64
|
+
type: :development
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
61
67
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
version_requirements: *id004
|
76
|
+
name: simplecov
|
67
77
|
prerelease: false
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
|
71
|
-
requirement: &70208823792020 !ruby/object:Gem::Requirement
|
78
|
+
type: :development
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
81
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
version: "0"
|
89
|
+
version_requirements: *id005
|
90
|
+
name: run-as-root
|
78
91
|
prerelease: false
|
79
|
-
version_requirements: *70208823792020
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: daemons
|
82
|
-
requirement: &70208823791540 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
|
-
requirements:
|
85
|
-
- - ! '>='
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
88
92
|
type: :runtime
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
name: rest-client
|
93
|
-
requirement: &70208823791060 !ruby/object:Gem::Requirement
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
94
95
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
103
|
+
version_requirements: *id006
|
104
|
+
name: chef
|
105
|
+
prerelease: false
|
99
106
|
type: :runtime
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 3
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
117
|
+
version_requirements: *id007
|
118
|
+
name: daemons
|
100
119
|
prerelease: false
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
103
|
-
|
104
|
-
requirement: &70208823790580 !ruby/object:Gem::Requirement
|
120
|
+
type: :runtime
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
105
123
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
hash: 3
|
128
|
+
segments:
|
129
|
+
- 0
|
130
|
+
version: "0"
|
131
|
+
version_requirements: *id008
|
132
|
+
name: rest-client
|
133
|
+
prerelease: false
|
110
134
|
type: :runtime
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
hash: 3
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
version: "0"
|
145
|
+
version_requirements: *id009
|
146
|
+
name: xml-simple
|
111
147
|
prerelease: false
|
112
|
-
|
148
|
+
type: :runtime
|
113
149
|
description: Abiquo Chef Agent
|
114
|
-
email:
|
115
|
-
executables:
|
150
|
+
email: salvador.girones@abiquo.com
|
151
|
+
executables:
|
116
152
|
- abiquo-chef-run
|
117
153
|
extensions: []
|
118
|
-
|
154
|
+
|
155
|
+
extra_rdoc_files:
|
119
156
|
- LICENSE.txt
|
120
157
|
- README.md
|
121
|
-
files:
|
158
|
+
files:
|
122
159
|
- Gemfile
|
123
160
|
- LICENSE.txt
|
124
161
|
- README.md
|
@@ -137,28 +174,37 @@ files:
|
|
137
174
|
- spec/unit/config_spec.rb
|
138
175
|
- spec/unit/util_spec.rb
|
139
176
|
homepage: http://github.com/abiquo/abiquo-chef-agent
|
140
|
-
licenses:
|
177
|
+
licenses:
|
141
178
|
- MIT
|
142
179
|
post_install_message:
|
143
180
|
rdoc_options: []
|
144
|
-
|
181
|
+
|
182
|
+
require_paths:
|
145
183
|
- lib
|
146
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
147
185
|
none: false
|
148
|
-
requirements:
|
149
|
-
- -
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
|
152
|
-
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
hash: 3
|
190
|
+
segments:
|
191
|
+
- 0
|
192
|
+
version: "0"
|
193
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
194
|
none: false
|
154
|
-
requirements:
|
155
|
-
- -
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
hash: 3
|
199
|
+
segments:
|
200
|
+
- 0
|
201
|
+
version: "0"
|
158
202
|
requirements: []
|
203
|
+
|
159
204
|
rubyforge_project:
|
160
|
-
rubygems_version: 1.8.
|
205
|
+
rubygems_version: 1.8.11
|
161
206
|
signing_key:
|
162
207
|
specification_version: 3
|
163
208
|
summary: Abiquo Chef Agent
|
164
209
|
test_files: []
|
210
|
+
|