Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Docker : Puppet tools

Docker to launch librarian-puppet or puppet-lint

Default : Librarian Puppet

Launch

docker run --tty --interactive --rm --user $(id -u):$(id -g) --volume $(pwd):/puppet atolcd/puppet-tools:latest librarian-puppet <args>

Add to .bashrc or .zshrc

librarian-puppet () {
    tty=
    tty -s && tty=--tty
    docker run \
        $tty \
        --interactive \
        --rm \
        --volume $(pwd):/puppet \
        atolcd/puppet-tools:latest "librarian-puppet $@"
}

Alternative : Puppet lint

Launch

docker run --tty --interactive --rm --user $(id -u):$(id -g) --volume $(pwd):/puppet atolcd/puppet-tools:latest puppet-lint <args>

Add to .bashrc or .zshrc

puppet-lint () {
    tty=
    tty -s && tty=--tty
    docker run \
        $tty \
        --interactive \
        --rm \
        --volume $(pwd):/puppet \
        atolcd/puppet-tools:latest "puppet-lint $@"
}

About

Docker to launch librarian-puppet

Resources

Packages

No packages published

Languages