Skip to content

atolcd/puppet-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages