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 +4 -4
- data/README.md +4 -4
- data/lib/vanagon/platform.rb +2 -2
- data/templates/solaris/11/p5m.erb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 209125a16053b5957e7a0803765857938e3c9c3b
|
4
|
+
data.tar.gz: 96431964ee62b54f27e24b5991d617be07b9e46e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226ac385d96501d28837424a734aaa30e5ae374600c584cc5de76de22baef59b15ed4cd43f345f25abd1bef91fd1035dea7c2764ed8840bb81eab16189901aa7
|
7
|
+
data.tar.gz: 4f4a9ff1c9a35dc4bd7fb3f6fd7636ebb581409851b5321810e8994541ed9535a4b2c75b9be984a3079d9b1be1caed5b1d7f9070e6679bc0cba5adb269bc4ce4
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
![Build Status](https://
|
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
|
---
|
data/lib/vanagon/platform.rb
CHANGED
@@ -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 #{
|
83
|
+
/usr/sbin/usermod #{usermod_args}
|
84
84
|
else
|
85
|
-
/usr/sbin/useradd #{
|
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
|
-
|
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 -%>
|