diff --git a/bin/r10k b/bin/r10k new file mode 100755 index 00000000..1983962c --- /dev/null +++ b/bin/r10k @@ -0,0 +1,5 @@ +#! /bin/sh + +cd "$(dirname "$0")/.." || exit 1 + +docker-compose exec puppet r10k "$@" diff --git a/bin/r10k.ps1 b/bin/r10k.ps1 new file mode 100644 index 00000000..5a691d80 --- /dev/null +++ b/bin/r10k.ps1 @@ -0,0 +1,9 @@ +[CmdletBinding()] +param ( + [parameter(Mandatory=$False,Position=0,ValueFromRemainingArguments=$True)] + [Object[]] $Arguments +) + +Push-Location (Join-Path -Path $PSScriptRoot -ChildPath '..') | Out-Null + +& docker-compose exec puppet r10k $Arguments