projects
/
dockerfile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a04668
)
salt-minion/Dockerfile.template: Add 'need logger' to salt-minion init script
author
W. Trevor King
<wking@tremily.us>
Wed, 26 Feb 2014 19:30:39 +0000
(11:30 -0800)
committer
W. Trevor King
<wking@tremily.us>
Wed, 26 Feb 2014 23:08:47 +0000
(15:08 -0800)
Work around Gentoo's #502550 [1].
[1]: https://bugs.gentoo.org/show_bug.cgi?id=502550
salt-minion/Dockerfile.template
patch
|
blob
|
history
diff --git
a/salt-minion/Dockerfile.template
b/salt-minion/Dockerfile.template
index f6acc1ef08a17b32c26672a6e455ef3073c95306..7f32d3d0c3776e5fc74765cad0213db4d7de3b75 100644
(file)
--- a/
salt-minion/Dockerfile.template
+++ b/
salt-minion/Dockerfile.template
@@
-55,6
+55,7
@@
RUN emerge -v app-admin/salt dev-python/git-python
RUN eselect news read new
RUN rc-update add salt-minion default
+RUN sed -i 's|^\([[:space:]]*\)\(need net\)$|\1\2\n\1need logger|' /etc/init.d/salt-minion
RUN sed -i 's|^#\(log_file: file:///dev/log\)|\1|' /etc/salt/minion
RUN sed -i 's|^\(#log_level_logfile:.*\)$|\1\nlog_level_logfile: info|' /etc/salt/minion