You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/command/test-fixtures/provisioners/provisioner-only-except.json

38 lines
816 B

{
"builders": [
{
"type": "null",
"communicator": "none"
},
{
"type": "null",
"name": "packer",
"communicator": "none"
}
],
"provisioners": [
{
"type": "shell-local",
"inline": ["echo packer provisioner {{build_name}} and {{build_type}}"],
"only": ["packer"]
},
{
"type": "shell-local",
"inline": ["echo null provisioner {{build_name}} and {{build_type}}"],
"except": ["packer"]
}
],
"post-processors": [
{
"type": "shell-local",
"inline": ["echo packer post-processor {{build_name}} and {{build_type}}"],
"only": ["packer"]
},
{
"type": "shell-local",
"inline": ["echo null post-processor {{build_name}} and {{build_type}}"],
"except": ["packer"]
}
]
}