File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ FROM martinhoefling/salt-minion:debian
2
2
MAINTAINER Martin Hoefling <
[email protected] >
3
3
4
4
# push formula
5
- ADD dovecot /srv/salt/dovecot
6
- ADD pillar.example /srv/pillar/example.sls
7
- RUN echo "file_client: local" > /etc/salt/minion.d/local.conf
8
- RUN echo "base:" > /srv/pillar/top.sls
9
- RUN echo " '*':" >> /srv/pillar/top.sls
10
- RUN echo " - example" >> /srv/pillar/top.sls
11
- RUN salt-call --local state.sls dovecot | tee log.txt && grep "Failed: 0" log.txt
5
+ COPY dovecot /srv/salt/dovecot
6
+ COPY pillar.example /srv/pillar/example.sls
7
+ RUN echo "file_client: local" > /etc/salt/minion.d/local.conf && \
8
+ echo "base:" > /srv/pillar/top.sls && \
9
+ echo " '*':" >> /srv/pillar/top.sls && \
10
+ echo " - example" >> /srv/pillar/top.sls && \
11
+ salt-call --local state.sls dovecot | tee log.txt && grep "Failed: 0" log.txt
You can’t perform that action at this time.
0 commit comments