umbreo_cli 1.0.141 → 1.0.142

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 365c82073d094680f26a3c9842eca0c85b50caed
4
- data.tar.gz: 6a32423d894299ced3129d6dd16fce9a595a3e7a
3
+ metadata.gz: 97781e4c076bf11b03a81c0a7ad0b9cd9fcd0139
4
+ data.tar.gz: 428c16d7b72e2bdd32721c692b74f718f624c240
5
5
  SHA512:
6
- metadata.gz: 42aac4563d883a469edb6f2976b4b37e04c552b4e43153291bd6166a448e7e337a08cfdc6d6f0fb1601fc8aac80f672b7410058695d7284c7dbb06daa89d0aff
7
- data.tar.gz: ea1c02a8a2eec07ccada7751b07aac6c456d4c34865e288d3c57c1b2dc3b38fdac77a9ef31ca0a8612f89c125764a1144aaa77a76c0efd2cbde39013d9f3d3d6
6
+ metadata.gz: 6b70f6dd84c688699a0c42af21a59fd4966ee67dbfeab062871720c97ef3cfe5920df2a5f1ca2578b5195f1d75d3adb088fc050d0b09d1493451067a18b7f3e8
7
+ data.tar.gz: 5938254e1a2bb4e7ff14ca5f2c665665b725258a59f3063ba831e2a004523f865cabfe290e3fea851d25c4aea113467e37fc229c2df6965b5ad12a02deb43ac1
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.0
data/Gemfile CHANGED
@@ -1,23 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec
4
-
5
- gem 'gli'
6
- gem 'contracts'
7
- gem 'gherkin'
8
- gem 'activesupport'
9
-
10
- # Fetch API
11
- gem "typhoeus"
12
- # Debuging
13
- gem 'byebug'
14
- # Tabling Terminal
15
- gem 'terminal-table'
16
- # Colouring terminal
17
- gem 'rainbow'
18
-
19
- gem 'highline'
20
- gem 'parseconfig'
21
- gem 'progress_bar'
22
- gem 'puppet-parse'
23
- gem 'json'
3
+ gemspec
data/bin/umbreo CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'gli'
3
-
4
3
  require 'uri'
5
4
  require 'io/console'
6
5
  require 'highline'
@@ -1,3 +1,3 @@
1
1
  module Umbreo
2
- VERSION = '1.0.141'
2
+ VERSION = '1.0.142'
3
3
  end
data/umbreo.gemspec CHANGED
@@ -1,28 +1,42 @@
1
1
  require File.join([File.dirname(__FILE__),'lib','umbreo','version.rb'])
2
2
 
3
- spec = Gem::Specification.new do |s|
3
+ Gem::Specification.new do |s|
4
4
  s.name = 'umbreo_cli'
5
5
  s.version = Umbreo::VERSION
6
- s.author = 'Umbreo'
7
- s.email = 'muhamad.luay@gmail.com'
6
+ s.author = 'Zakaria Boualaid'
7
+ s.email = 'z.boualaid@umbreo.com'
8
8
  s.homepage = 'https://www.umbreo.com'
9
9
  s.platform = Gem::Platform::RUBY
10
+ s.homepage = 'http://rubygems.org/gems/umbreo_cli'
10
11
  s.summary = 'Umbreo Command Line Interface'
12
+ s.license = 'MIT'
11
13
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(/(^umbreo_cli-)+([0-9])+(.)+([0-9])+(.)+([0-9])+(.gem)$/) }
12
14
 
13
15
  s.require_paths << 'lib'
14
16
 
15
17
  s.has_rdoc = true
16
- s.rdoc_options << '--title' << 'umbreo' << '--main' << 'README.rdoc' << '-ri'
18
+ s.rdoc_options << '--title' << 'umbreo' << '--main' << 'README.rdoc'
17
19
  s.bindir = 'bin'
18
20
  s.executables << 'umbreo'
19
- s.add_runtime_dependency 'rake', '~> 11.1', '>= 11.1.2'
20
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.2'
21
- s.add_runtime_dependency 'terminal-table', '~> 1.5', '>= 1.5.2'
22
- s.add_runtime_dependency('gli','2.13.4')
23
- s.add_runtime_dependency('aruba','~> 0.14.1')
24
- s.add_runtime_dependency 'rainbow', '~> 2.1', '>= 2.1.0'
25
- s.add_runtime_dependency('contracts','~> 0.14.0')
26
- s.add_runtime_dependency 'gherkin', '~> 4.0', '>= 4.0.0'
27
- s.add_runtime_dependency 'activesupport', '5.0.0'
21
+ s.add_dependency 'rake', '~> 11.1', '>= 11.1.2'
22
+ s.add_dependency 'gli', '2.13.4'
23
+ s.add_dependency 'aruba', '~> 0.14.1'
24
+ s.add_dependency 'contracts', '~> 0.14.0'
25
+ s.add_dependency 'gherkin', '~> 4.0', '>= 4.0.0'
26
+ s.add_dependency 'activesupport', '5.0.0'
27
+ s.add_dependency 'parseconfig', '1.0.8'
28
+ s.add_dependency 'highline', '1.7.8'
29
+ s.add_dependency 'progress_bar', '1.1.0'
30
+ s.add_dependency 'puppet-parse', '0.1.4'
31
+ s.add_dependency 'rainbow', '2.2.1'
32
+ s.add_dependency 'terminal-table', '1.7.3'
33
+ s.add_dependency 'byebug', '9.0.6'
34
+ s.add_dependency 'typhoeus', '1.1.2'
35
+ s.add_dependency 'json'
36
+
37
+ s.add_development_dependency 'minitest'
38
+ s.add_development_dependency 'vcr'
39
+ s.add_development_dependency 'webmock'
40
+ s.add_development_dependency 'cucumber'
41
+
28
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbreo_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.141
4
+ version: 1.0.142
5
5
  platform: ruby
6
6
  authors:
7
- - Umbreo
7
+ - Zakaria Boualaid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2017-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -31,156 +31,276 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: 11.1.2
33
33
  - !ruby/object:Gem::Dependency
34
- name: typhoeus
34
+ name: gli
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
40
- - - ">="
39
+ version: 2.13.4
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '='
41
45
  - !ruby/object:Gem::Version
42
- version: 1.0.2
46
+ version: 2.13.4
47
+ - !ruby/object:Gem::Dependency
48
+ name: aruba
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 0.14.1
43
54
  type: :runtime
44
55
  prerelease: false
45
56
  version_requirements: !ruby/object:Gem::Requirement
46
57
  requirements:
47
58
  - - "~>"
48
59
  - !ruby/object:Gem::Version
49
- version: '1.0'
50
- - - ">="
60
+ version: 0.14.1
61
+ - !ruby/object:Gem::Dependency
62
+ name: contracts
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
51
66
  - !ruby/object:Gem::Version
52
- version: 1.0.2
67
+ version: 0.14.0
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.14.0
53
75
  - !ruby/object:Gem::Dependency
54
- name: terminal-table
76
+ name: gherkin
55
77
  requirement: !ruby/object:Gem::Requirement
56
78
  requirements:
57
79
  - - "~>"
58
80
  - !ruby/object:Gem::Version
59
- version: '1.5'
81
+ version: '4.0'
60
82
  - - ">="
61
83
  - !ruby/object:Gem::Version
62
- version: 1.5.2
84
+ version: 4.0.0
63
85
  type: :runtime
64
86
  prerelease: false
65
87
  version_requirements: !ruby/object:Gem::Requirement
66
88
  requirements:
67
89
  - - "~>"
68
90
  - !ruby/object:Gem::Version
69
- version: '1.5'
91
+ version: '4.0'
70
92
  - - ">="
71
93
  - !ruby/object:Gem::Version
72
- version: 1.5.2
94
+ version: 4.0.0
73
95
  - !ruby/object:Gem::Dependency
74
- name: gli
96
+ name: activesupport
75
97
  requirement: !ruby/object:Gem::Requirement
76
98
  requirements:
77
99
  - - '='
78
100
  - !ruby/object:Gem::Version
79
- version: 2.13.4
101
+ version: 5.0.0
80
102
  type: :runtime
81
103
  prerelease: false
82
104
  version_requirements: !ruby/object:Gem::Requirement
83
105
  requirements:
84
106
  - - '='
85
107
  - !ruby/object:Gem::Version
86
- version: 2.13.4
108
+ version: 5.0.0
87
109
  - !ruby/object:Gem::Dependency
88
- name: aruba
110
+ name: parseconfig
89
111
  requirement: !ruby/object:Gem::Requirement
90
112
  requirements:
91
- - - "~>"
113
+ - - '='
92
114
  - !ruby/object:Gem::Version
93
- version: 0.14.1
115
+ version: 1.0.8
94
116
  type: :runtime
95
117
  prerelease: false
96
118
  version_requirements: !ruby/object:Gem::Requirement
97
119
  requirements:
98
- - - "~>"
120
+ - - '='
99
121
  - !ruby/object:Gem::Version
100
- version: 0.14.1
122
+ version: 1.0.8
101
123
  - !ruby/object:Gem::Dependency
102
- name: rainbow
124
+ name: highline
103
125
  requirement: !ruby/object:Gem::Requirement
104
126
  requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '2.1'
108
- - - ">="
127
+ - - '='
109
128
  - !ruby/object:Gem::Version
110
- version: 2.1.0
129
+ version: 1.7.8
111
130
  type: :runtime
112
131
  prerelease: false
113
132
  version_requirements: !ruby/object:Gem::Requirement
114
133
  requirements:
115
- - - "~>"
134
+ - - '='
116
135
  - !ruby/object:Gem::Version
117
- version: '2.1'
118
- - - ">="
136
+ version: 1.7.8
137
+ - !ruby/object:Gem::Dependency
138
+ name: progress_bar
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - '='
142
+ - !ruby/object:Gem::Version
143
+ version: 1.1.0
144
+ type: :runtime
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - '='
119
149
  - !ruby/object:Gem::Version
120
- version: 2.1.0
150
+ version: 1.1.0
121
151
  - !ruby/object:Gem::Dependency
122
- name: contracts
152
+ name: puppet-parse
123
153
  requirement: !ruby/object:Gem::Requirement
124
154
  requirements:
125
- - - "~>"
155
+ - - '='
126
156
  - !ruby/object:Gem::Version
127
- version: 0.14.0
157
+ version: 0.1.4
128
158
  type: :runtime
129
159
  prerelease: false
130
160
  version_requirements: !ruby/object:Gem::Requirement
131
161
  requirements:
132
- - - "~>"
162
+ - - '='
133
163
  - !ruby/object:Gem::Version
134
- version: 0.14.0
164
+ version: 0.1.4
135
165
  - !ruby/object:Gem::Dependency
136
- name: gherkin
166
+ name: rainbow
137
167
  requirement: !ruby/object:Gem::Requirement
138
168
  requirements:
139
- - - "~>"
169
+ - - '='
140
170
  - !ruby/object:Gem::Version
141
- version: '4.0'
142
- - - ">="
171
+ version: 2.2.1
172
+ type: :runtime
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - '='
143
177
  - !ruby/object:Gem::Version
144
- version: 4.0.0
178
+ version: 2.2.1
179
+ - !ruby/object:Gem::Dependency
180
+ name: terminal-table
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - '='
184
+ - !ruby/object:Gem::Version
185
+ version: 1.7.3
145
186
  type: :runtime
146
187
  prerelease: false
147
188
  version_requirements: !ruby/object:Gem::Requirement
148
189
  requirements:
149
- - - "~>"
190
+ - - '='
150
191
  - !ruby/object:Gem::Version
151
- version: '4.0'
152
- - - ">="
192
+ version: 1.7.3
193
+ - !ruby/object:Gem::Dependency
194
+ name: byebug
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - '='
153
198
  - !ruby/object:Gem::Version
154
- version: 4.0.0
199
+ version: 9.0.6
200
+ type: :runtime
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - '='
205
+ - !ruby/object:Gem::Version
206
+ version: 9.0.6
155
207
  - !ruby/object:Gem::Dependency
156
- name: activesupport
208
+ name: typhoeus
157
209
  requirement: !ruby/object:Gem::Requirement
158
210
  requirements:
159
211
  - - '='
160
212
  - !ruby/object:Gem::Version
161
- version: 5.0.0
213
+ version: 1.1.2
162
214
  type: :runtime
163
215
  prerelease: false
164
216
  version_requirements: !ruby/object:Gem::Requirement
165
217
  requirements:
166
218
  - - '='
167
219
  - !ruby/object:Gem::Version
168
- version: 5.0.0
220
+ version: 1.1.2
221
+ - !ruby/object:Gem::Dependency
222
+ name: json
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ type: :runtime
229
+ prerelease: false
230
+ version_requirements: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: '0'
235
+ - !ruby/object:Gem::Dependency
236
+ name: minitest
237
+ requirement: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ type: :development
243
+ prerelease: false
244
+ version_requirements: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ - !ruby/object:Gem::Dependency
250
+ name: vcr
251
+ requirement: !ruby/object:Gem::Requirement
252
+ requirements:
253
+ - - ">="
254
+ - !ruby/object:Gem::Version
255
+ version: '0'
256
+ type: :development
257
+ prerelease: false
258
+ version_requirements: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: '0'
263
+ - !ruby/object:Gem::Dependency
264
+ name: webmock
265
+ requirement: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - ">="
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
270
+ type: :development
271
+ prerelease: false
272
+ version_requirements: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - ">="
275
+ - !ruby/object:Gem::Version
276
+ version: '0'
277
+ - !ruby/object:Gem::Dependency
278
+ name: cucumber
279
+ requirement: !ruby/object:Gem::Requirement
280
+ requirements:
281
+ - - ">="
282
+ - !ruby/object:Gem::Version
283
+ version: '0'
284
+ type: :development
285
+ prerelease: false
286
+ version_requirements: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ version: '0'
169
291
  description:
170
- email: muhamad.luay@gmail.com
292
+ email: z.boualaid@umbreo.com
171
293
  executables:
172
294
  - umbreo
173
295
  extensions: []
174
296
  extra_rdoc_files: []
175
297
  files:
176
298
  - ".env"
299
+ - ".ruby-version"
177
300
  - Gemfile
178
- - Gemfile.lock
179
301
  - README.md
180
302
  - Rakefile
181
- - bin/manifests/init.pp
182
303
  - bin/umbreo
183
- - bin/umbreo.json
184
304
  - lib/umbreo.rb
185
305
  - lib/umbreo/helpers/alert_message.rb
186
306
  - lib/umbreo/helpers/error_exception.rb
@@ -206,11 +326,10 @@ files:
206
326
  - lib/umbreo/models/umbreo_stack_template.rb
207
327
  - lib/umbreo/models/xenserver_provider.rb
208
328
  - lib/umbreo/version.rb
209
- - manifests/init.pp
210
- - manifests1/init.pp
211
329
  - umbreo.gemspec
212
- homepage: https://www.umbreo.com
213
- licenses: []
330
+ homepage: http://rubygems.org/gems/umbreo_cli
331
+ licenses:
332
+ - MIT
214
333
  metadata: {}
215
334
  post_install_message:
216
335
  rdoc_options:
@@ -218,7 +337,6 @@ rdoc_options:
218
337
  - umbreo
219
338
  - "--main"
220
339
  - README.rdoc
221
- - "-ri"
222
340
  require_paths:
223
341
  - lib
224
342
  - lib
data/Gemfile.lock DELETED
@@ -1,106 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- umbreo_cli (1.0.14)
5
- activesupport (= 5.0.0)
6
- aruba (~> 0.14.1)
7
- contracts (~> 0.14.0)
8
- gherkin (~> 4.0, >= 4.0.0)
9
- gli (= 2.13.4)
10
- rainbow (~> 2.1, >= 2.1.0)
11
- rake (~> 11.1, >= 11.1.2)
12
- terminal-table (~> 1.5, >= 1.5.2)
13
- typhoeus (~> 1.0, >= 1.0.2)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- CFPropertyList (2.2.8)
19
- activesupport (5.0.0)
20
- concurrent-ruby (~> 1.0, >= 1.0.2)
21
- i18n (~> 0.7)
22
- minitest (~> 5.1)
23
- tzinfo (~> 1.1)
24
- aruba (0.14.2)
25
- childprocess (~> 0.5.6)
26
- contracts (~> 0.9)
27
- cucumber (>= 1.3.19)
28
- ffi (~> 1.9.10)
29
- rspec-expectations (>= 2.99)
30
- thor (~> 0.19)
31
- builder (3.2.2)
32
- byebug (9.0.5)
33
- childprocess (0.5.9)
34
- ffi (~> 1.0, >= 1.0.11)
35
- concurrent-ruby (1.0.2)
36
- contracts (0.14.0)
37
- cucumber (2.4.0)
38
- builder (>= 2.1.2)
39
- cucumber-core (~> 1.5.0)
40
- cucumber-wire (~> 0.0.1)
41
- diff-lcs (>= 1.1.3)
42
- gherkin (~> 4.0)
43
- multi_json (>= 1.7.5, < 2.0)
44
- multi_test (>= 0.1.2)
45
- cucumber-core (1.5.0)
46
- gherkin (~> 4.0)
47
- cucumber-wire (0.0.1)
48
- diff-lcs (1.2.5)
49
- ethon (0.9.0)
50
- ffi (>= 1.3.0)
51
- facter (2.4.6)
52
- CFPropertyList (~> 2.2.6)
53
- ffi (1.9.14)
54
- gherkin (4.0.0)
55
- gli (2.13.4)
56
- highline (1.7.8)
57
- i18n (0.7.0)
58
- json (1.8.3)
59
- minitest (5.9.0)
60
- multi_json (1.12.1)
61
- multi_test (0.1.2)
62
- options (2.3.2)
63
- parseconfig (1.0.8)
64
- progress_bar (1.0.5)
65
- highline (~> 1.6)
66
- options (~> 2.3.0)
67
- puppet-parse (0.1.4)
68
- facter
69
- rdoc (~> 3.12)
70
- rainbow (2.1.0)
71
- rake (11.2.2)
72
- rdoc (3.12.2)
73
- json (~> 1.4)
74
- rspec-expectations (3.5.0)
75
- diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.5.0)
77
- rspec-support (3.5.0)
78
- terminal-table (1.6.0)
79
- thor (0.19.1)
80
- thread_safe (0.3.5)
81
- typhoeus (1.1.0)
82
- ethon (>= 0.9.0)
83
- tzinfo (1.2.2)
84
- thread_safe (~> 0.1)
85
-
86
- PLATFORMS
87
- ruby
88
-
89
- DEPENDENCIES
90
- activesupport
91
- byebug
92
- contracts
93
- gherkin
94
- gli
95
- highline
96
- json
97
- parseconfig
98
- progress_bar
99
- puppet-parse
100
- rainbow
101
- terminal-table
102
- typhoeus
103
- umbreo_cli!
104
-
105
- BUNDLED WITH
106
- 1.12.5
@@ -1,20 +0,0 @@
1
- class apache (
2
- $version = 'latest',
3
- $service_ensure = "running",
4
- $service_enable = true,
5
- ){
6
- package {'apache2':
7
- ensure => $version, # Using the class parameter from above
8
- before => File['/etc/apache.conf'],
9
- }
10
- file {'/etc/apache2.conf':
11
- ensure => file,
12
- owner => 'apache',
13
- content => template('apache/apache.conf.erb'), # Template from a module
14
- }
15
- service {'apache2':
16
- ensure => running,
17
- enable => true,
18
- subscribe => File['/etc/apache.conf'],
19
- }
20
- }
data/bin/umbreo.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "name": "apache",
3
- "parameters": [
4
- {
5
- "name": "version",
6
- "displayed": "Version",
7
- "description": "",
8
- "default": "latest",
9
- "type": "string",
10
- "scope": ""
11
- },
12
- {
13
- "name": "service_ensure",
14
- "displayed": "Service Ensure",
15
- "description": "",
16
- "default": "running",
17
- "type": "string",
18
- "scope": ""
19
- },
20
- {
21
- "name": "service_enable",
22
- "displayed": "Service Enable",
23
- "description": "",
24
- "default": true,
25
- "type": "boolean",
26
- "scope": ""
27
- }
28
- ],
29
- "informations": {
30
- "display_name": "Apache Web Server",
31
- "data": {
32
- }
33
- }
34
- }
data/manifests/init.pp DELETED
@@ -1,20 +0,0 @@
1
- class apache (
2
- $version = 'latest',
3
- $service_ensure = "running",
4
- $service_enable = true,
5
- ){
6
- package {'apache2':
7
- ensure => $version, # Using the class parameter from above
8
- before => File['/etc/apache.conf'],
9
- }
10
- file {'/etc/apache2.conf':
11
- ensure => file,
12
- owner => 'apache',
13
- content => template('apache/apache.conf.erb'), # Template from a module
14
- }
15
- service {'apache2':
16
- ensure => running,
17
- enable => true,
18
- subscribe => File['/etc/apache.conf'],
19
- }
20
- }
data/manifests1/init.pp DELETED
@@ -1,9 +0,0 @@
1
- class apache (
2
- $service_ensure = "running",
3
- $service_enable = true,
4
- $my_name = $apache::params::my_name,
5
- ) {
6
-
7
-
8
-
9
- }