mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(POOLER-70) Move vSphere configuration into providers section
Previously the vSphere based configuration was in the root of the configuration YAML. As there is deprecation support to move the old configuration to the new location, the vSphere provider can be updated. This commit updates the vSphere Provider and tests to use the new configuration location under: :providers: :vsphere:
This commit is contained in:
parent
57eba4a8e4
commit
2e255a5a43
4 changed files with 138 additions and 128 deletions
11
README.md
11
README.md
|
|
@ -29,10 +29,11 @@ The following YAML configuration sets up two pools, `debian-7-i386` and `debian-
|
|||
|
||||
```
|
||||
---
|
||||
:vsphere:
|
||||
server: 'vsphere.company.com'
|
||||
username: 'vmpooler'
|
||||
password: 'swimsw1msw!m'
|
||||
:providers:
|
||||
:vsphere:
|
||||
server: 'vsphere.company.com'
|
||||
username: 'vmpooler'
|
||||
password: 'swimsw1msw!m'
|
||||
|
||||
:redis:
|
||||
server: 'redis.company.com'
|
||||
|
|
@ -47,12 +48,14 @@ The following YAML configuration sets up two pools, `debian-7-i386` and `debian-
|
|||
pool: 'Pooled VMs/debian-7-i386'
|
||||
datastore: 'vmstorage'
|
||||
size: 5
|
||||
provider: vsphere
|
||||
- name: 'debian-7-x86_64'
|
||||
template: 'Templates/debian-7-x86_64'
|
||||
folder: 'Pooled VMs/debian-7-x86_64'
|
||||
pool: 'Pooled VMs/debian-7-x86_64'
|
||||
datastore: 'vmstorage'
|
||||
size: 5
|
||||
provider: vsphere
|
||||
```
|
||||
|
||||
See the provided YAML configuration example, [vmpooler.yaml.example](vmpooler.yaml.example), for additional configuration options and parameters.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue