{"id":17043028,"url":"https://github.com/mizzy/packer-provisioner-command","last_synced_at":"2025-04-12T15:10:49.341Z","repository":{"id":66596231,"uuid":"20515103","full_name":"mizzy/packer-provisioner-command","owner":"mizzy","description":"Packer Provisioner to execute commands directly","archived":false,"fork":false,"pushed_at":"2014-09-17T02:03:11.000Z","size":2748,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T09:44:56.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-05T06:58:28.000Z","updated_at":"2017-02-27T20:26:49.000Z","dependencies_parsed_at":"2023-02-20T11:45:40.458Z","dependency_job_id":null,"html_url":"https://github.com/mizzy/packer-provisioner-command","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fpacker-provisioner-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fpacker-provisioner-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fpacker-provisioner-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fpacker-provisioner-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizzy","download_url":"https://codeload.github.com/mizzy/packer-provisioner-command/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586231,"owners_count":21128997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:27:29.466Z","updated_at":"2025-04-12T15:10:49.312Z","avatar_url":"https://github.com/mizzy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packer Command Provisioner\n\n[Shell Provisioner](http://www.packer.io/docs/provisioners/shell.html) makes a script file locally and send the file via SCP before executing commands. But this Command Provisioner runs command directly via SSH.So you don't need scp command in the target host.\n\n----\n\n## Install\n\n```\n$ go build -o $GOPATH/bin/provisioner-command  plugin/provisioner-command/main.go\n```\n\n----\n\n## Basic Example\n\n```json\n{\n  \"provisioners\": [\n    {\n      \"type\": \"command\",\n      \"command\": \"echo foo\"\n    }\n  ]\n}\n```\n\nYou can also specify multiple commands by `commands` with an array of commands.\n\n```json\n{\n  \"provisioners\": [\n    {\n      \"type\": \"command\",\n      \"commands\": [\n        \"echo foo\",\n        \"echo bar\",\n        \"echo baz\"\n      ]\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fpacker-provisioner-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizzy%2Fpacker-provisioner-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fpacker-provisioner-command/lists"}