vanagon 0.15.4 → 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/resources/rpm/project.spec.erb +5 -4
  3. metadata +32 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3744e8372acb3ce656a75a360273b489ad3a5607
4
- data.tar.gz: 61d3c29607c0d2f6a70317a6220dac9f766f8117
3
+ metadata.gz: b06ca82e8ea507978ae5b63080c4086e313b0579
4
+ data.tar.gz: b64b0c224ab8fc0c6f136f89618b3405522cb1db
5
5
  SHA512:
6
- metadata.gz: e8b86569bdea4ffd7a45299cfefe30aff38c9dafe55af28ba3d05d8aa6ceb95abab3fc83c013ba0c62288f01a1f01ad8332bd5950831036a797ced98b17370b6
7
- data.tar.gz: b3215529d393fdfd7af5f46ec116c90b79996f71b30654a87cf6caabd1ae790e8ae46d371be0dbe8394fe634364856ff7e694cf6ba7397cdd39aa84b91f1ebb6
6
+ metadata.gz: 076c47ed17a8b1205421c67813159f010d27a0d9176f9dd83782d3f9dcf5940ea35615e6e142a61c191d0fd145fac1690c483dd24eb3a3acf50c09e4443e26ec
7
+ data.tar.gz: 58ba84fd5e7a3a4caadae42e85843ed24b32e6d4ea1e97f95adc6cb9363eeef52b773a40b39ae1887526de2ce5eedd1e53c06fbb8c8d16ab10f9f35652b11220
@@ -218,6 +218,11 @@ fi
218
218
  if [ "$1" -eq 1 ] ; then
219
219
  <%= get_postinstall_actions("install") %>
220
220
  fi
221
+
222
+ # Run postinstall scripts on upgrade if defined
223
+ if [ "$1" -eq 2 ] ; then
224
+ <%= get_postinstall_actions("upgrade") %>
225
+ fi
221
226
  <%- end -%>
222
227
  <%- get_services.each do |service| -%>
223
228
  # switch based on systemd vs systemv vs smf vs aix
@@ -273,10 +278,6 @@ fi
273
278
  /usr/bin/rmssys -s <%= service.name -%> > /dev/null 2>&1 || :
274
279
  /usr/sbin/rmitab <%= service.name -%> > /dev/null 2>&1 || :
275
280
  fi
276
- # Run postinstall scripts on upgrade if defined
277
- if [ "$1" -eq 1 ] ; then
278
- <%= get_postinstall_actions("upgrade") %>
279
- fi
280
281
  <%- end -%>
281
282
  <%- end -%>
282
283
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -257,46 +257,46 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  version: '0'
258
258
  requirements: []
259
259
  rubyforge_project:
260
- rubygems_version: 2.2.5
260
+ rubygems_version: 2.5.2.1
261
261
  signing_key:
262
262
  specification_version: 3
263
263
  summary: All of your packages will fit into this van with this one simple trick.
264
264
  test_files:
265
- - spec/lib/vanagon/component_spec.rb
266
- - spec/lib/vanagon/project_spec.rb
267
- - spec/lib/vanagon/optparse_spec.rb
268
- - spec/lib/vanagon/driver_spec.rb
269
- - spec/lib/vanagon/environment_spec.rb
270
- - spec/lib/vanagon/platform/windows_spec.rb
271
- - spec/lib/vanagon/platform/solaris_11_spec.rb
272
- - spec/lib/vanagon/platform/solaris_10_spec.rb
273
- - spec/lib/vanagon/platform/dsl_spec.rb
274
- - spec/lib/vanagon/platform/osx_spec.rb
275
- - spec/lib/vanagon/platform/deb_spec.rb
276
- - spec/lib/vanagon/platform/rpm_spec.rb
277
- - spec/lib/vanagon/platform/rpm/aix_spec.rb
278
- - spec/lib/vanagon/component/source/rewrite_spec.rb
265
+ - spec/lib/git/rev_list_spec.rb
266
+ - spec/lib/makefile_spec.rb
267
+ - spec/lib/vanagon/common/pathname_spec.rb
268
+ - spec/lib/vanagon/common/user_spec.rb
269
+ - spec/lib/vanagon/component/dsl_spec.rb
270
+ - spec/lib/vanagon/component/rules_spec.rb
279
271
  - spec/lib/vanagon/component/source/git_spec.rb
280
- - spec/lib/vanagon/component/source/local_spec.rb
281
272
  - spec/lib/vanagon/component/source/http_spec.rb
282
- - spec/lib/vanagon/component/dsl_spec.rb
273
+ - spec/lib/vanagon/component/source/local_spec.rb
274
+ - spec/lib/vanagon/component/source/rewrite_spec.rb
283
275
  - spec/lib/vanagon/component/source_spec.rb
284
- - spec/lib/vanagon/component/rules_spec.rb
285
- - spec/lib/vanagon/extensions/string_spec.rb
286
- - spec/lib/vanagon/extensions/set/json_spec.rb
287
- - spec/lib/vanagon/extensions/ostruct/json_spec.rb
288
- - spec/lib/vanagon/project/dsl_spec.rb
289
- - spec/lib/vanagon/utilities/shell_utilities_spec.rb
290
- - spec/lib/vanagon/utilities_spec.rb
291
- - spec/lib/vanagon/common/pathname_spec.rb
292
- - spec/lib/vanagon/common/user_spec.rb
293
- - spec/lib/vanagon/platform_spec.rb
276
+ - spec/lib/vanagon/component_spec.rb
277
+ - spec/lib/vanagon/driver_spec.rb
294
278
  - spec/lib/vanagon/engine/always_be_scheduling_spec.rb
279
+ - spec/lib/vanagon/engine/base_spec.rb
295
280
  - spec/lib/vanagon/engine/docker_spec.rb
296
281
  - spec/lib/vanagon/engine/ec2_spec.rb
297
282
  - spec/lib/vanagon/engine/hardware_spec.rb
298
283
  - spec/lib/vanagon/engine/local_spec.rb
299
- - spec/lib/vanagon/engine/base_spec.rb
300
284
  - spec/lib/vanagon/engine/pooler_spec.rb
301
- - spec/lib/makefile_spec.rb
302
- - spec/lib/git/rev_list_spec.rb
285
+ - spec/lib/vanagon/environment_spec.rb
286
+ - spec/lib/vanagon/extensions/ostruct/json_spec.rb
287
+ - spec/lib/vanagon/extensions/set/json_spec.rb
288
+ - spec/lib/vanagon/extensions/string_spec.rb
289
+ - spec/lib/vanagon/optparse_spec.rb
290
+ - spec/lib/vanagon/platform/deb_spec.rb
291
+ - spec/lib/vanagon/platform/dsl_spec.rb
292
+ - spec/lib/vanagon/platform/osx_spec.rb
293
+ - spec/lib/vanagon/platform/rpm/aix_spec.rb
294
+ - spec/lib/vanagon/platform/rpm_spec.rb
295
+ - spec/lib/vanagon/platform/solaris_10_spec.rb
296
+ - spec/lib/vanagon/platform/solaris_11_spec.rb
297
+ - spec/lib/vanagon/platform/windows_spec.rb
298
+ - spec/lib/vanagon/platform_spec.rb
299
+ - spec/lib/vanagon/project/dsl_spec.rb
300
+ - spec/lib/vanagon/project_spec.rb
301
+ - spec/lib/vanagon/utilities/shell_utilities_spec.rb
302
+ - spec/lib/vanagon/utilities_spec.rb