vanagon 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b0e96f27593b42424b55cc7ba76070664a735c8
4
- data.tar.gz: 47a0c3146160d374f6879e1b8a9c71f0aaf72215
3
+ metadata.gz: 9edf9922c6e47b100e228f38190ebc1e0d01a102
4
+ data.tar.gz: 8267580682ab771c77615f4ba936d389680a62c7
5
5
  SHA512:
6
- metadata.gz: c17032026ae9f33b3c82126210e8db967068156a4ba3c348c6590fb88b44905b30e23a75f55d17da31ae4e5bd7e87c16718d9c7d9a6e2987f1d50130c0fe9860
7
- data.tar.gz: 434b37c3e194ade303bdb2402fcc201f23cdf1a5316f723b2fa573506aa624178bfbb7a8c05ee3595c312436fc607ad3f213c67f7dc49176cd34a80045faffe8
6
+ metadata.gz: 399f46811612f5200dcf9a056bd2a37f6b242abaf3b4f98642de37e257fd55408b6e64c4a392bb1eb0a313b6de7745c7b7a8afcd5dd1841d429032d8def06c95
7
+ data.tar.gz: 0d0fee8345a6116531ce908ee02cd841b6fc4c4f41332cb39eb39dcd9c32d20543ee4e9c448050904b0e8bd37128a47bcb733c4474348b4024f72467733762a9
@@ -205,7 +205,11 @@ fi
205
205
  <%- elsif @platform.servicetype == "sysv" -%>
206
206
  chkconfig --add <%= service.name %> >/dev/null 2>&1 || :
207
207
  <%- elsif @platform.servicetype == "aix" -%>
208
- /usr/bin/mkssys -p <%= service.service_command -%> -w 7 -S -n 15 -f 9 > /dev/null 2>&1 || :
208
+ if /usr/bin/lssrc -s <%= service.name -%> > /dev/null 2>&1; then
209
+ /usr/bin/chssys -s <%= service.name -%> -p <%= service.service_command -%> -w 7 -S -n 15 -f 9 > /dev/null 2>&1 || :
210
+ else
211
+ /usr/bin/mkssys -p <%= service.service_command -%> -w 7 -S -n 15 -f 9 > /dev/null 2>&1 || :
212
+ fi
209
213
  if /bin/grep -q "^<%= service.name -%>:2:once:startsrc$" /etc/inittab; then
210
214
  /usr/sbin/rmitab <%= service.name -%> > /dev/null 2>&1 || :
211
215
  fi
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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-12 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git