vmreverter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -4
- data/lib/vmreverter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71bee61dcff4fab8db12f0a51a05adbb16ed0a46
|
4
|
+
data.tar.gz: b7dca1e2f746b87b142d52b85a8b34eb120de27e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20a8134933876108d1f3e1c2165c179908097382b59604b17dff6710f1dc4d0e31b73373c92f5ad54bfd81d77a3029e0af5069a1a25223b635307ccff867bf88
|
7
|
+
data.tar.gz: 36122ffdd382b0b930d95986698e9ed9228bef08dbcd90f3a9b5795b161126ef768a493631b82e3b6af5951e656d358b53865bbf2163d47a4afdb38bedf50adb
|
data/README.md
CHANGED
@@ -7,6 +7,34 @@ This gem is used to revert a collection of virtual machines from many hypervisor
|
|
7
7
|
* VMWare VSphere Server [vshpere] ~> rbvmomi
|
8
8
|
* AWS [aws] ~> Blimpy / Fog
|
9
9
|
|
10
|
+
## CLI Help
|
11
|
+
|
12
|
+
```
|
13
|
+
Usage: vmreverter 0.1.1 [options...]
|
14
|
+
-a, --auth FILE Use authentication FILE
|
15
|
+
Default: /home/shadowbq/.fog
|
16
|
+
-c, --config FILE Use configuration FILE
|
17
|
+
Default:
|
18
|
+
-o, --options-file FILE Read options from FILE
|
19
|
+
This should evaluate to a ruby hash.
|
20
|
+
CLI optons are given precedence.
|
21
|
+
-l, --lockfile FILE Use a lockfile to prevent concurrency
|
22
|
+
(default no lockfile).
|
23
|
+
-q, --[no-]quiet Do not log output to STDOUT
|
24
|
+
(default: false)
|
25
|
+
--[no-]color Do not display color in log output
|
26
|
+
(default: true)
|
27
|
+
--[no-]debug Enable full debugging
|
28
|
+
(default: false)
|
29
|
+
-h, --help Display this screen
|
30
|
+
```
|
31
|
+
|
32
|
+
#### How I might run the command from the CLI:
|
33
|
+
|
34
|
+
```
|
35
|
+
$> vmreverter --auth ~/.fog --config ~/.vmreverter/test.conf -l /var/lock/test.lock
|
36
|
+
```
|
37
|
+
|
10
38
|
## Vsphere Credentials
|
11
39
|
|
12
40
|
```yaml
|
@@ -21,7 +49,7 @@ This gem is used to revert a collection of virtual machines from many hypervisor
|
|
21
49
|
### Required YAML Header:
|
22
50
|
|
23
51
|
* HOSTS
|
24
|
-
* vm-name
|
52
|
+
* vm-name
|
25
53
|
|
26
54
|
### Required Fields:
|
27
55
|
|
@@ -90,7 +118,7 @@ HOSTS:
|
|
90
118
|
Using local conf file and turning on all machines after reverting.
|
91
119
|
|
92
120
|
```
|
93
|
-
$> vmreverter -c ./revert.conf
|
121
|
+
$> vmreverter -c ./revert.conf
|
94
122
|
```
|
95
123
|
## Tested Against
|
96
124
|
|
@@ -114,8 +142,8 @@ This is some wildly refactored code (..legal speak..) from the puppet_acceptance
|
|
114
142
|
|
115
143
|
Changes include namespace swaps, class additions, class removals, method additions, method removals, and complete code refactoring.
|
116
144
|
|
117
|
-
All original code maintains its copyright from its original author(puppetlabs) and licensing of Apache 2, and only change sets from git rev
|
145
|
+
All original code maintains its copyright from its original author(puppetlabs) and licensing of Apache 2, and only change sets from git rev
|
118
146
|
|
119
147
|
https://github.com/puppetlabs/puppet-acceptance/commit/68272162d0b30905f498a4d71ff641374d3eb8f0
|
120
148
|
|
121
|
-
onward (circa Feb 2014) within the vmreverter namespace will include permissive of BSD-3 LICENSING as such approved by law.
|
149
|
+
onward (circa Feb 2014) within the vmreverter namespace will include permissive of BSD-3 LICENSING as such approved by law.
|
data/lib/vmreverter/version.rb
CHANGED