Permalink
Please sign in to comment.
Browse files
Add shell provisioner option
This can be used with extern, but also since scripts can be anywhere, you must explicitly list in the omv.yaml file which scripts you want to run. You can specify the path to a script or include a script inline in the yaml file.
- Loading branch information...
Showing
with
96 additions
and 0 deletions.
- +1 −0 examples/ansible.yaml
- +1 −0 examples/atomic.yaml
- +1 −0 examples/docker-build.yaml
- +1 −0 examples/docker-kubernetes.yaml
- +1 −0 examples/docker-subdirs.yaml
- +1 −0 examples/kubernetes-ansible.yaml
- +1 −0 examples/kubernetes-atomic.yaml
- +1 −0 examples/kubernetes.yaml
- +1 −0 examples/puppet-gluster.yaml
- +1 −0 examples/rhel.yaml
- +36 −0 examples/shell.yaml
- +48 −0 vagrant/Vagrantfile
- +2 −0 vagrant/shell/README
| @@ -0,0 +1,36 @@ | ||
| +--- | ||
| +:domain: example.com | ||
| +:network: 192.168.123.0/24 | ||
| +:image: centos-7.1 | ||
| +:boxurlprefix: '' | ||
| +:sync: rsync | ||
| +:folder: '' | ||
| +:extern: | ||
| +- type: git | ||
| + system: shell | ||
| + repository: https://github.com/purpleidea/shell-simple1 | ||
| + directory: shell-simple1 | ||
| +:puppet: false | ||
| +:classes: [] | ||
| +:shell: | ||
| +- shell-simple1/hello1.sh | ||
| +- shell-simple1/hello2.py | ||
| +- path: shell-simple1/subdirectory/hello3.sh | ||
| + once: false | ||
| +- script: echo hello world > /tmp/hello4 | ||
| + once: true | ||
| +:docker: [] | ||
| +:kubernetes: false | ||
| +:ansible: [] | ||
| +:playbook: [] | ||
| +:cachier: false | ||
| +:vms: [] | ||
| +:namespace: omv | ||
| +:count: 1 | ||
| +:username: '' | ||
| +:password: '' | ||
| +:poolid: true | ||
| +:repos: [] | ||
| +:update: false | ||
| +:comment: simple shell run example | ||
| +:reallyrm: false |
| @@ -0,0 +1,2 @@ | ||
| +Put your shell scripts in here! :) | ||
| + |
0 comments on commit
cec25b9