abiquo-chef-agent 2.0.8 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- M2QyMWZjNTM3NzJlYjlmMjYzYmI3YmI5YmZiMzJjZDdmZDQ2NTFkOA==
5
- data.tar.gz: !binary |-
6
- YWM3MGNmOGY3MjIxMzhmYjI5MTJlYWU3YTQzMjhlZGFkOTA2ZDE5NA==
2
+ SHA1:
3
+ metadata.gz: d5b4e63ac7b335b7e41addf06ca461b159c95d16
4
+ data.tar.gz: 5e50daf80b113985c4d8cc053688a3d173e43f71
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MDcwNzc4OWM3MzVjYmE1M2FjZWRiMTdlOTMwNzk2MzdmMzJmMDAyZjNhYjYw
10
- OWY4YTg1YTA5OGQ0NDJkYjQ1Nzg4MjgzMWYxOTRlYjczNjBiMmZiMzY5ZDgw
11
- ZGQ1NTZjM2M2Nzc5YzBhODlkMWJmMTg3ZTI1YjI2ZDdhZjY4MDk=
12
- data.tar.gz: !binary |-
13
- MDA3YWY4MTE4OGUwNjBhOGE1ZTIzNGZiNzAxMzYwNjBhZDBlNzM5NjZlMWFi
14
- YzM4YTI2MGY5MTQ3ZGMyMzMyYTNhNzI0ZGQ0MDBlOWI4OTQzZTk1OWQ1NTVm
15
- YThlNzljZTM3YzQ3MTQ1NDY0MjVjNTdhNTllOWViN2M5NDQzMjU=
6
+ metadata.gz: 56628feb8938783520400aa7b9a2e8e0fb984aded2f318ad129293bcd3444e1b1588b1614391147448b826259dd8264e5e721d1d19a41cf93c79115b8bbbbeff
7
+ data.tar.gz: bf6971dc4de33aa0d66d413360803322e7799143f3461a9ad4eff02c3fb4c4ea56f9a36610402ad7195d0c1bea739e9729879d8bc70bffc7af03faf2e795c36b
@@ -0,0 +1,47 @@
1
+ # rcov generated
2
+ coverage
3
+
4
+ # rdoc generated
5
+ rdoc
6
+
7
+ # yard generated
8
+ doc
9
+ .yardoc
10
+
11
+ # bundler
12
+ .bundle
13
+
14
+ # jeweler generated
15
+ pkg
16
+
17
+ # gem build package
18
+ *.gem
19
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
20
+ #
21
+ # * Create a file at ~/.gitignore
22
+ # * Include files you want ignored
23
+ # * Run: git config --global core.excludesfile ~/.gitignore
24
+ #
25
+ # After doing this, these files will be ignored in all your git projects,
26
+ # saving you from having to 'pollute' every project you touch with them
27
+ #
28
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
29
+ #
30
+ # For MacOS:
31
+ #
32
+ #.DS_Store
33
+ #
34
+ # For TextMate
35
+ #*.tmproj
36
+ #tmtags
37
+ #
38
+ # For emacs:
39
+ #*~
40
+ #\#*
41
+ #.\#*
42
+ #
43
+ # For vim:
44
+ *.swp
45
+
46
+ *.lock
47
+ .ruby-version
data/Gemfile CHANGED
@@ -14,10 +14,4 @@
14
14
 
15
15
  source 'http://rubygems.org'
16
16
 
17
- group :development do
18
- gem 'xml-simple', '~> 1.1.5'
19
- gem 'jeweler', '~> 2.0.1'
20
- gem 'rspec', '~> 3.2.0'
21
- gem 'rspec-collection_matchers', '~> 1.1.2'
22
- gem 'simplecov', '~> 0.9.1'
23
- end
17
+ gemspec
data/README.md CHANGED
@@ -13,13 +13,11 @@ all the agent dependencies. The installation script must be run as root:
13
13
 
14
14
  ## Building the gem
15
15
 
16
- The build process has been tested on Ruby 1.9.3 and all gem versions have been pinned assuming this. Consider using a Ruby manager or you may have to manually fix some side issues.
16
+ The build process has been tested on Ruby 2.1.5 and all gem versions have been pinned assuming this. Consider using a Ruby manager or you may have to manually fix some side issues.
17
17
 
18
- gem install bundler # Only if the gem is not yet installed
19
- bundle install
20
- bundle exec rake
18
+ gem build abiquo-chef-agent.gemspec
21
19
 
22
- This will generate the `abiquo-chef-gem` in the `pkg` folder.
20
+ This will generate the `abiquo-chef-gem` in the current folder.
23
21
 
24
22
  ## Contributing to abiquo-chef-agent
25
23
 
data/Rakefile CHANGED
@@ -15,26 +15,9 @@
15
15
  require 'rubygems'
16
16
  require 'rake'
17
17
  require './lib/abiquo-chef-agent.rb'
18
- require 'jeweler'
19
18
  require 'rdoc/task'
20
19
  require 'rspec/core/rake_task'
21
20
 
22
- Jeweler::Tasks.new do |gem|
23
- gem.version = Abiquo::Chef::VERSION
24
- gem.name = "abiquo-chef-agent"
25
- gem.homepage = "http://github.com/abiquo/abiquo-chef-agent"
26
- gem.license = "Apache License 2.0"
27
- gem.summary = %Q{Abiquo Chef Agent}
28
- gem.description = %Q{Abiquo Chef Agent}
29
- gem.email = "support@abiquo.com"
30
- gem.authors = ["Salvador Girones", "Sergio Rubio", "Serafin Sedano", "Ignasi Barrera"]
31
- gem.add_runtime_dependency 'chef'
32
- gem.add_runtime_dependency 'rest-client', '~> 1.8.0'
33
- gem.add_runtime_dependency 'xml-simple', '~> 1.1.5'
34
- end
35
-
36
- Jeweler::RubygemsDotOrgTasks.new
37
-
38
21
  RSpec::Core::RakeTask.new(:spec)
39
22
 
40
23
  Rake::RDocTask.new do |rdoc|
@@ -0,0 +1,26 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'abiquo-chef-agent.rb'
4
+
5
+ Gem::Specification.new do |gem|
6
+ gem.version = Abiquo::Chef::VERSION
7
+ gem.name = "abiquo-chef-agent"
8
+ gem.homepage = "http://github.com/abiquo/abiquo-chef-agent"
9
+ gem.license = "Apache License 2.0"
10
+ gem.summary = %Q{Abiquo Chef Agent}
11
+ gem.description = %Q{Abiquo Chef Agent}
12
+ gem.email = "support@abiquo.com"
13
+ gem.authors = ["Salvador Girones", "Sergio Rubio", "Serafin Sedano", "Ignasi Barrera"]
14
+
15
+ gem.executables = ["abiquo-chef-run"]
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_development_dependency 'rspec', '= 3.2.0'
21
+ gem.add_development_dependency 'rspec-collection_matchers', '= 1.1.2'
22
+ gem.add_development_dependency 'simplecov', '= 0.9.1'
23
+ gem.add_runtime_dependency 'chef'
24
+ gem.add_runtime_dependency 'rest-client', '= 1.8.0'
25
+ gem.add_runtime_dependency 'xml-simple', '= 1.1.5'
26
+ end
@@ -14,7 +14,7 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- AGENT_GEM_VERSION=2.0.8
17
+ AGENT_GEM_VERSION=2.0.10
18
18
 
19
19
  if [[ ${UID} -ne 0 ]]; then
20
20
  echo "${0} must be run as root"
@@ -14,7 +14,7 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- AGENT_GEM_VERSION=2.0.8
17
+ AGENT_GEM_VERSION=2.0.10
18
18
 
19
19
  if [[ `id -u` -ne 0 ]]; then
20
20
  echo "${0} must be run with sudo"
@@ -14,7 +14,7 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- AGENT_GEM_VERSION=2.0.8
17
+ AGENT_GEM_VERSION=2.0.10
18
18
 
19
19
  if [[ `id -u` -ne 0 ]]; then
20
20
  echo "${0} must be run with sudo"
@@ -19,7 +19,7 @@ require 'time'
19
19
  module Abiquo
20
20
  module Chef
21
21
 
22
- VERSION = '2.0.8'
22
+ VERSION = '2.0.10'
23
23
 
24
24
  class Config
25
25
  def self.chef_config_dir
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abiquo-chef-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salvador Girones
@@ -11,145 +11,105 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-08-05 00:00:00.000000000 Z
14
+ date: 2015-11-27 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: xml-simple
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: !binary |-
23
- MS4xLjU=
24
- type: :development
25
- prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
27
- requirements:
28
- - - ~>
29
- - !ruby/object:Gem::Version
30
- version: !binary |-
31
- MS4xLjU=
32
- - !ruby/object:Gem::Dependency
33
- name: jeweler
34
- requirement: !ruby/object:Gem::Requirement
35
- requirements:
36
- - - ~>
37
- - !ruby/object:Gem::Version
38
- version: !binary |-
39
- Mi4wLjE=
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: !binary |-
47
- Mi4wLjE=
48
16
  - !ruby/object:Gem::Dependency
49
17
  name: rspec
50
18
  requirement: !ruby/object:Gem::Requirement
51
19
  requirements:
52
- - - ~>
20
+ - - '='
53
21
  - !ruby/object:Gem::Version
54
- version: !binary |-
55
- My4yLjA=
22
+ version: 3.2.0
56
23
  type: :development
57
24
  prerelease: false
58
25
  version_requirements: !ruby/object:Gem::Requirement
59
26
  requirements:
60
- - - ~>
27
+ - - '='
61
28
  - !ruby/object:Gem::Version
62
- version: !binary |-
63
- My4yLjA=
29
+ version: 3.2.0
64
30
  - !ruby/object:Gem::Dependency
65
31
  name: rspec-collection_matchers
66
32
  requirement: !ruby/object:Gem::Requirement
67
33
  requirements:
68
- - - ~>
34
+ - - '='
69
35
  - !ruby/object:Gem::Version
70
- version: !binary |-
71
- MS4xLjI=
36
+ version: 1.1.2
72
37
  type: :development
73
38
  prerelease: false
74
39
  version_requirements: !ruby/object:Gem::Requirement
75
40
  requirements:
76
- - - ~>
41
+ - - '='
77
42
  - !ruby/object:Gem::Version
78
- version: !binary |-
79
- MS4xLjI=
43
+ version: 1.1.2
80
44
  - !ruby/object:Gem::Dependency
81
45
  name: simplecov
82
46
  requirement: !ruby/object:Gem::Requirement
83
47
  requirements:
84
- - - ~>
48
+ - - '='
85
49
  - !ruby/object:Gem::Version
86
- version: !binary |-
87
- MC45LjE=
50
+ version: 0.9.1
88
51
  type: :development
89
52
  prerelease: false
90
53
  version_requirements: !ruby/object:Gem::Requirement
91
54
  requirements:
92
- - - ~>
55
+ - - '='
93
56
  - !ruby/object:Gem::Version
94
- version: !binary |-
95
- MC45LjE=
57
+ version: 0.9.1
96
58
  - !ruby/object:Gem::Dependency
97
59
  name: chef
98
60
  requirement: !ruby/object:Gem::Requirement
99
61
  requirements:
100
- - - ! '>='
62
+ - - ">="
101
63
  - !ruby/object:Gem::Version
102
64
  version: '0'
103
65
  type: :runtime
104
66
  prerelease: false
105
67
  version_requirements: !ruby/object:Gem::Requirement
106
68
  requirements:
107
- - - ! '>='
69
+ - - ">="
108
70
  - !ruby/object:Gem::Version
109
71
  version: '0'
110
72
  - !ruby/object:Gem::Dependency
111
73
  name: rest-client
112
74
  requirement: !ruby/object:Gem::Requirement
113
75
  requirements:
114
- - - ~>
76
+ - - '='
115
77
  - !ruby/object:Gem::Version
116
78
  version: 1.8.0
117
79
  type: :runtime
118
80
  prerelease: false
119
81
  version_requirements: !ruby/object:Gem::Requirement
120
82
  requirements:
121
- - - ~>
83
+ - - '='
122
84
  - !ruby/object:Gem::Version
123
85
  version: 1.8.0
124
86
  - !ruby/object:Gem::Dependency
125
87
  name: xml-simple
126
88
  requirement: !ruby/object:Gem::Requirement
127
89
  requirements:
128
- - - ~>
90
+ - - '='
129
91
  - !ruby/object:Gem::Version
130
- version: !binary |-
131
- MS4xLjU=
92
+ version: 1.1.5
132
93
  type: :runtime
133
94
  prerelease: false
134
95
  version_requirements: !ruby/object:Gem::Requirement
135
96
  requirements:
136
- - - ~>
97
+ - - '='
137
98
  - !ruby/object:Gem::Version
138
- version: !binary |-
139
- MS4xLjU=
99
+ version: 1.1.5
140
100
  description: Abiquo Chef Agent
141
101
  email: support@abiquo.com
142
102
  executables:
143
103
  - abiquo-chef-run
144
104
  extensions: []
145
- extra_rdoc_files:
146
- - LICENSE
147
- - README.md
105
+ extra_rdoc_files: []
148
106
  files:
107
+ - ".gitignore"
149
108
  - Gemfile
150
109
  - LICENSE
151
110
  - README.md
152
111
  - Rakefile
112
+ - abiquo-chef-agent.gemspec
153
113
  - bin/abiquo-chef-run
154
114
  - install/install-centos.sh
155
115
  - install/install-ubuntu-systemd.sh
@@ -185,18 +145,38 @@ require_paths:
185
145
  - lib
186
146
  required_ruby_version: !ruby/object:Gem::Requirement
187
147
  requirements:
188
- - - ! '>='
148
+ - - ">="
189
149
  - !ruby/object:Gem::Version
190
150
  version: '0'
191
151
  required_rubygems_version: !ruby/object:Gem::Requirement
192
152
  requirements:
193
- - - ! '>='
153
+ - - ">="
194
154
  - !ruby/object:Gem::Version
195
155
  version: '0'
196
156
  requirements: []
197
157
  rubyforge_project:
198
- rubygems_version: 2.1.3
158
+ rubygems_version: 2.4.8
199
159
  signing_key:
200
160
  specification_version: 4
201
161
  summary: Abiquo Chef Agent
202
- test_files: []
162
+ test_files:
163
+ - spec/data/bootstrap.xml
164
+ - spec/data/bootstrap_empty_cert.xml
165
+ - spec/data/bootstrap_empty_chef.xml
166
+ - spec/data/bootstrap_empty_node.xml
167
+ - spec/data/bootstrap_empty_runlist.xml
168
+ - spec/data/bootstrap_empty_runlist_no_attributes.xml
169
+ - spec/data/bootstrap_empty_server_url.xml
170
+ - spec/data/bootstrap_empty_validation.xml
171
+ - spec/data/bootstrap_missing_cert.xml
172
+ - spec/data/bootstrap_missing_chef.xml
173
+ - spec/data/bootstrap_missing_node.xml
174
+ - spec/data/bootstrap_missing_server_url.xml
175
+ - spec/data/bootstrap_missing_validation.xml
176
+ - spec/data/bootstrap_no_attributes.xml
177
+ - spec/data/dhclient/dhclient.leases
178
+ - spec/data/invalid_bootstrap.xml
179
+ - spec/spec_helper.rb
180
+ - spec/unit/bootstrap_config_parser_spec.rb
181
+ - spec/unit/config_spec.rb
182
+ - spec/unit/util_spec.rb