I maintain some public docker images geared towards puppet development.   
They are based off of centos, and use gems to install puppet. 

I have packed the image just about every gem needed for development. 
(https://github.com/logicminds/docker-centos-puppetdev/blob/latest/scripts/puppet-bootstrap/Gemfile)

Images: https://hub.docker.com/r/logicminds/centos-puppetdev/

Blog Article on usage: 
http://logicminds.github.io/blog/2015/05/28/leveraging-docker-for-puppet-development/


Corey
On Monday, October 19, 2015 at 4:37:05 PM UTC-7, Justin Jackson wrote:
>
> Hi all, 
>
> I am trying to set up the standalone puppet as a docker image to be used 
> as a CLI. I am doing this so that my colleagues and I can share the same 
> "environment" for running puppet on our different platforms of choice. We 
> are using Mac, Linux (Ubuntu 14+) and Windows (8 and 10). We basically run 
> puppet apply <file>.pp. My Dockerfile is pretty simple up till now:
>
> RUN \
>   sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
>   apt-get update && \
>   apt-get -y upgrade && \
>   apt-get install -y build-essential && \
>   apt-get install -y software-properties-common && \
>   apt-get install -y byobu curl git unzip wget && \
>   rm -rf /var/lib/apt/lists/*
>
> RUN apt-get -y install rubygems
> RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc
> RUN gem install puppet librarian-puppet 
>
>
>  However, when we try to run puppet against our .pp files, we are seeing some 
> issues such as something to do with plist.. and we can't yet get our created 
> docker image to "apply" a simple test.pp. 
>
>
> Are there other libraries we would need to install perhaps? I would have 
> thought the librarian-puppet does the trick.. or maybe there is some 
> configuration we need to adjust?
>
>
> Thanks for any help.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/185b4253-2eab-4905-9ab1-73d0480bc808%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to