add config files - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
18
templates/r10k/hook_config.erb
Normal file
18
templates/r10k/hook_config.erb
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"id": "r10k-deploy",
|
||||
"execute-command": "/usr/local/bin/r10k",
|
||||
"command-working-directory": "/etc/puppetlabs/code",
|
||||
"pass-arguments-to-command": [
|
||||
{ "source": "string", "name": "deploy" },
|
||||
{ "source": "string", "name": "environment" },
|
||||
{ "source": "string", "name": "-pv" }
|
||||
],
|
||||
"trigger-rule": {
|
||||
"match": {
|
||||
"type": "payload-hash-sha1",
|
||||
"secret": "your_webhook_secret"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user