mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Merge pull request #50 from steveax/change-urls-in-docs
change urls in docs to use example.net/.com
This commit is contained in:
commit
697cc878ef
2 changed files with 9 additions and 9 deletions
14
README.md
14
README.md
|
|
@ -53,7 +53,7 @@ $ floaty --help
|
||||||
Grabbing a token for authenticated pooler requests:
|
Grabbing a token for authenticated pooler requests:
|
||||||
|
|
||||||
```
|
```
|
||||||
floaty token get --user username --url https://vmpooler.mycompany.net/api/v1
|
floaty token get --user username --url https://vmpooler.example.net/api/v1
|
||||||
```
|
```
|
||||||
|
|
||||||
This command will then ask you to log in. If successful, it will return a token that you can save either in a dotfile or use with other cli commands.
|
This command will then ask you to log in. If successful, it will return a token that you can save either in a dotfile or use with other cli commands.
|
||||||
|
|
@ -61,7 +61,7 @@ This command will then ask you to log in. If successful, it will return a token
|
||||||
Grabbing vms:
|
Grabbing vms:
|
||||||
|
|
||||||
```
|
```
|
||||||
floaty get centos-7-x86_64=2 debian-7-x86_64 windows-10=3 --token mytokenstring --url https://vmpooler.mycompany.net/api/v1
|
floaty get centos-7-x86_64=2 debian-7-x86_64 windows-10=3 --token mytokenstring --url https://vmpooler.example.net/api/v1
|
||||||
```
|
```
|
||||||
|
|
||||||
### vmfloaty dotfile
|
### vmfloaty dotfile
|
||||||
|
|
@ -72,7 +72,7 @@ If you do not wish to continuely specify various config options with the cli, yo
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# file at /Users/me/.vmfloaty.yml
|
# file at /Users/me/.vmfloaty.yml
|
||||||
url: 'https://vmpooler.mycompany.net/api/v1'
|
url: 'https://vmpooler.example.net/api/v1'
|
||||||
user: 'brian'
|
user: 'brian'
|
||||||
token: 'tokenstring'
|
token: 'tokenstring'
|
||||||
```
|
```
|
||||||
|
|
@ -90,10 +90,10 @@ To configure multiple services, you can set up your `~/.vmfloaty.yml` config fil
|
||||||
user: 'brian'
|
user: 'brian'
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
url: 'https://vmpooler.mycompany.net/api/v1'
|
url: 'https://vmpooler.example.net/api/v1'
|
||||||
token: 'tokenstring'
|
token: 'tokenstring'
|
||||||
alternate:
|
alternate:
|
||||||
url: 'https://vmpooler.alternate.net/api/v1'
|
url: 'https://vmpooler.example.com/api/v1'
|
||||||
token: 'alternate-tokenstring'
|
token: 'alternate-tokenstring'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -125,10 +125,10 @@ vmfloaty is capable of working with Puppet's [nonstandard pooler](https://github
|
||||||
user: 'brian'
|
user: 'brian'
|
||||||
services:
|
services:
|
||||||
vm:
|
vm:
|
||||||
url: 'https://vmpooler.mycompany.net/api/v1'
|
url: 'https://vmpooler.example.net/api/v1'
|
||||||
token: 'tokenstring'
|
token: 'tokenstring'
|
||||||
ns:
|
ns:
|
||||||
url: 'https://nspooler.mycompany.net/api/v1'
|
url: 'https://nspooler.example.net/api/v1'
|
||||||
token: 'nspooler-tokenstring'
|
token: 'nspooler-tokenstring'
|
||||||
type: 'nonstandard' # <-- 'type' is necessary for any non-vmpooler service
|
type: 'nonstandard' # <-- 'type' is necessary for any non-vmpooler service
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
user: 'brian'
|
user: 'brian'
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
url: 'https://vmpooler.mycompany.net/api/v1'
|
url: 'https://vmpooler.example.net/api/v1'
|
||||||
token: 'tokenstring'
|
token: 'tokenstring'
|
||||||
alternate:
|
alternate:
|
||||||
url: 'https://vmpooler.alternate.net/api/v1'
|
url: 'https://vmpooler.example.com/api/v1'
|
||||||
token: 'alternate-tokenstring'
|
token: 'alternate-tokenstring'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue