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

puppet: Fix certname

parent 74a6c6ed
Pipeline #159 passed with stage
in 34 minutes and 50 seconds
...@@ -3,5 +3,5 @@ ARG FACTER_build ...@@ -3,5 +3,5 @@ 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 sed -i 's/confine/#confine/' /usr/lib*/ruby/gems/*/gems/puppet-*/lib/puppet/provider/service/systemd.rb
RUN puppet agent --test --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