Commit 7c753cee authored by James T. Lee's avatar James T. Lee
Browse files

Move systemd provider patch into stage 0

parent c7cbc97d
Pipeline #161 passed with stage
in 29 minutes and 23 seconds
...@@ -2,6 +2,5 @@ FROM nest/stage0:amd64-server.haswell ...@@ -2,6 +2,5 @@ FROM nest/stage0:amd64-server.haswell
ARG FACTER_build ARG FACTER_build
ARG FACTER_makeopts ARG FACTER_makeopts
RUN git clone --depth=1 https://gitlab.james.tl/nest/gentoo/portage.git /var/cache/portage/gentoo RUN git clone --depth=1 https://gitlab.james.tl/nest/gentoo/portage.git /var/cache/portage/gentoo
RUN sed -i 's/confine/#confine/' /usr/lib*/ruby/gems/*/gems/puppet-*/lib/puppet/provider/service/systemd.rb
RUN puppet agent --test --certname ci --logdir /var/log/puppet --rundir /var/run/puppet --vardir /var/lib/puppet --runtimeout 0; [ $? -eq 2 ] RUN puppet agent --test --certname ci --logdir /var/log/puppet --rundir /var/run/puppet --vardir /var/lib/puppet --runtimeout 0; [ $? -eq 2 ]
CMD ["/bin/zsh"] CMD ["/bin/zsh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment