vanagon 0.3.18 → 0.3.19

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: 0273c4745ecf7c50f369b6ea518caf46b92c8e07
4
- data.tar.gz: 06437a1d3f2838cfd97d673fe2f82981ca917df0
3
+ metadata.gz: 209125a16053b5957e7a0803765857938e3c9c3b
4
+ data.tar.gz: 96431964ee62b54f27e24b5991d617be07b9e46e
5
5
  SHA512:
6
- metadata.gz: 2664084d24f35b26e7b30b4ab20c0ee910281af1722ac82363696de47af77962eb1f9cd3980f3d6af8a3aa10a0472f890f27eae66557c0c5a0aadeca96007852
7
- data.tar.gz: f27159049e709a19879702636296d27ab31d2c40455f0c11675616a75a3c96411a017f9fefc1fec0ee460dbd4c0443a64e5f6549dbe3a48fc009f28f4d0cc551
6
+ metadata.gz: 226ac385d96501d28837424a734aaa30e5ae374600c584cc5de76de22baef59b15ed4cd43f345f25abd1bef91fd1035dea7c2764ed8840bb81eab16189901aa7
7
+ data.tar.gz: 4f4a9ff1c9a35dc4bd7fb3f6fd7636ebb581409851b5321810e8994541ed9535a4b2c75b9be984a3079d9b1be1caed5b1d7f9070e6679bc0cba5adb269bc4ce4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Build Status](https://magnum.travis-ci.com/puppetlabs/vanagon.svg?token=A9NWBM3ogJqUCfos2gVF&branch=master)
1
+ ![Build Status](https://travis-ci.org/puppetlabs/vanagon.svg?branch=master)
2
2
  The Vanagon Project
3
3
  ===
4
4
  * What is vanagon?
@@ -151,12 +151,12 @@ Display command-line help.
151
151
  Contributing
152
152
  ---
153
153
  We'd love to get contributions from you! Once you are up and running, take a look at the
154
- [Contribution Documents](CONTRIBUTING.md) to see how to get your changes merged
154
+ [Contribution Documents](https://github.com/puppetlabs/vanagon/blob/master/CONTRIBUTING.md) to see how to get your changes merged
155
155
  in.
156
156
 
157
157
  License
158
158
  ---
159
- See [LICENSE](LICENSE) file.
159
+ See [LICENSE](https://github.com/puppetlabs/vanagon/blob/master/LICENSE) file.
160
160
 
161
161
  Overview
162
162
  ---
@@ -168,7 +168,7 @@ If I wanted to build it for debian wheezy, I would define a platform called
168
168
  wheezy and build my project against it.
169
169
 
170
170
  For more detailed examples of the DSLs available, please see the
171
- [examples](examples) directory and the YARD documentation for vanagon.
171
+ [examples](https://github.com/puppetlabs/vanagon/tree/master/examples) directory and the YARD documentation for vanagon.
172
172
 
173
173
  Maintainers
174
174
  ---
@@ -80,9 +80,9 @@ class Vanagon
80
80
 
81
81
  return <<-HERE.undent
82
82
  if getent passwd '#{user.name}' > /dev/null 2>&1; then
83
- /usr/sbin/usermod #{useradd_args}
83
+ /usr/sbin/usermod #{usermod_args}
84
84
  else
85
- /usr/sbin/useradd #{usermod_args}
85
+ /usr/sbin/useradd #{useradd_args}
86
86
  fi
87
87
  HERE
88
88
  end
@@ -27,7 +27,10 @@ depend fmri=pkg:/<%= requirement %> type=require
27
27
 
28
28
  <%- if has_services? -%>
29
29
  # Make sure smf manifests cause manifest-import to happen
30
- <transform file path=(var|lib)/svc/manifest/.*\.xml$ -> default restart_fmri svc:/system/manifest-import:default>
30
+ <%- get_services.each do |service| -%>
31
+ <transform file path=<%= strip_and_escape(service.service_file) -%>$ -> default restart_fmri svc:/system/manifest-import:default>
32
+ <transform dir path=<%= strip_and_escape(File.dirname(service.service_file)) -%>$ -> drop>
33
+ <%- end -%>
31
34
  <transform dir path=(var|lib)/svc/manifest$ -> drop>
32
35
  set name=org.opensolaris.smf.fmri <%= get_services.map {|service| "value=svc:/#{service.name}"}.join(" ") %>
33
36
  <%- end -%>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.18
4
+ version: 0.3.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs