13 lines
564 B
Docker
13 lines
564 B
Docker
FROM vshn/puppet-mcoclient
|
|
|
|
USER root
|
|
|
|
# Install puppetenvsh plugin
|
|
RUN git clone https://github.com/optiz0r/mcollective-puppetenvsh-agent \
|
|
&& cp -r mcollective-puppetenvsh-agent/application/* /opt/puppetlabs/mcollective/plugins/mcollective/application/ \
|
|
&& cp -r mcollective-puppetenvsh-agent/agent/* /opt/puppetlabs/mcollective/plugins/mcollective/agent/ \
|
|
&& cp -r mcollective-puppetenvsh-agent/util/* /opt/puppetlabs/mcollective/plugins/mcollective/util/ \
|
|
&& rm -rf mcollective-puppetenvsh-agent
|
|
|
|
USER $MCO_CLIENT_USER
|
|
WORKDIR /home/$MCO_CLIENT_USER |