Skip to content

Instantly share code, notes, and snippets.

View antonizoon's full-sized avatar

Antonizoon antonizoon

View GitHub Profile
@DracoBlue
DracoBlue / bash_exec.pp
Last active July 11, 2017 18:47
Small snippet to define a bash-exec type for puppet, which launches the exec with `--login` to provide a login shell (full PATH and sourced bash files).
define bash_exec (
$command = $name,
$user,
$creates = undef,
$cwd = undef,
$environment = undef,
$group = undef,
$logoutput = undef,
$onlyif = undef,
$path = undef,