https://github.com/cppforlife/bosh-provisioner
Stand-alone BOSH provisioner
https://github.com/cppforlife/bosh-provisioner
Last synced: 10 months ago
JSON representation
Stand-alone BOSH provisioner
- Host: GitHub
- URL: https://github.com/cppforlife/bosh-provisioner
- Owner: cppforlife
- Created: 2014-07-28T04:21:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T18:01:19.000Z (almost 10 years ago)
- Last Synced: 2025-04-24T01:05:44.823Z (10 months ago)
- Language: Go
- Size: 46 MB
- Stars: 7
- Watchers: 1
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Stand-alone BOSH provisioner
Stand-alone BOSH provisioner sets up and configures single VM
to be like any other BOSH managed VM. Besides installing
`bosh-agent` and `monit` on the system, BOSH provisioner
can optionally issue BOSH Agent's `apply` command to compile and
start running jobs as described by the deployment manifest.
### Usage
1. `go get github.com/cppforlife/bosh-provisioner/main` to install `bosh-provisioner`
2. `bosh-provisioner -configPath=./config.json` to run provisioner. Example `config.json`:
```
{
assets_dir: "./assets",
repos_dir: "/opt/bosh-provisioner/repos",
blobstore: {
provider: "local",
options: {
blobstore_path: "/opt/bosh-provisioner/blobstore",
},
},
vm_provisioner: {
full_stemcell_compatibility: false,
agent_provisioner: {
infrastructure: "warden",
platform: "ubuntu",
configuration: {},
mbus: "https://user:password@127.0.0.1:4321/agent",
},
},
deployment_provisioner: {
manifest_path: "/opt/bosh-provisioner/manifest.yml",
},
}
```
(Note: `assets_dir` includes pre-compiled assets for a default Ubuntu system.)