foreman-export-allah 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/foreman-export-allah/templates/log-run.erb +12 -6
- 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: 896cce2776542de48e6c16870ca287b63eed1364
|
4
|
+
data.tar.gz: 23c6813156bc73a0d091a4a020a281ed68c2fe9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c3215f4b6e6eac3485f96cc5dbe2258f724b446e60b58cfd7022cb60e6370689846284df8fb2bccb1b5fe3df5903d78b2f62dc47ddbc074f714b9e4bdbd83d2
|
7
|
+
data.tar.gz: 7ba10cbe58700c039c5985db00d03f573f7c411fe585613a9c4df61e7b3778e664c7d3257c1f00c8395884827f8fc8671b6d68e03cf5b2da56225f91aa5e642e
|
@@ -1,8 +1,14 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
<%
|
4
|
+
# We have to test self.options[:log] directly, because self.log has a derpy
|
5
|
+
# default (/var/log/<app>) which someone might actually want to use
|
6
|
+
# explicitly, so I can't rely on that being the wrong thing. So, I dig into
|
7
|
+
# self.options to find out whether to use the default or not. Sigh.
|
8
|
+
logdir = if self.options[:log]
|
9
|
+
Pathname(self.log) + procdir.basename
|
10
|
+
else
|
11
|
+
"./logs"
|
12
|
+
end
|
13
|
+
%>
|
14
|
+
exec multilog s16777215 t <%= logdir %>
|