virtualmaster 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.mdown +6 -2
- data/lib/vmaster/helpers.rb +2 -1
- data/lib/vmaster/version.rb +1 -1
- metadata +12 -12
data/Gemfile.lock
CHANGED
data/README.mdown
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Virtualmaster command line interface
|
2
2
|
|
3
3
|
|
4
|
-
Proof of concept of Virtualmaster command line interface
|
4
|
+
Proof of concept of Virtualmaster command line interface distributed as a RubyGem.
|
5
5
|
|
6
6
|
# virtualmaster config
|
7
7
|
Running virtualmaster for first time.
|
@@ -37,6 +37,10 @@ Proof of concept of Virtualmaster command line interface
|
|
37
37
|
|
38
38
|
The current version of `virtualmaster` command line interface should work with Ruby 1.8.7+.
|
39
39
|
|
40
|
+
To install you need to have Ruby. The CLI itself is available as RubyGem
|
41
|
+
|
42
|
+
gem install virtualmaster
|
43
|
+
|
40
44
|
## Automatically install SSH keys
|
41
45
|
|
42
46
|
Virtualmaster CLI can install your SSH keys to a remote machine automatically using `--identity IDENTITY_FILE` command-line option.
|
@@ -59,7 +63,7 @@ Virtualmaster CLI can install your SSH keys to a remote machine automatically us
|
|
59
63
|
|
60
64
|
First steps towards automated infrastructure is provision. Using Virtualmaster CLI shell provisioner you can launch a custom shell script once server is created and automate initial setup.
|
61
65
|
|
62
|
-
|
66
|
+
virtualmaster create demo1 --script ~/setup.sh
|
63
67
|
|
64
68
|
Callbacks (like script and identity) can be run at the same time.
|
65
69
|
|
data/lib/vmaster/helpers.rb
CHANGED
@@ -3,11 +3,12 @@ module VirtualMaster
|
|
3
3
|
CONFIG_FILE = ".virtualmaster"
|
4
4
|
DEFAULT_URL = "https://www.virtualmaster.cz/services/deltacloud"
|
5
5
|
|
6
|
-
DEFAULT_IMAGE =
|
6
|
+
DEFAULT_IMAGE = 2486
|
7
7
|
DEFAULT_PROFILE = "micro"
|
8
8
|
|
9
9
|
# pre-defined list of images
|
10
10
|
IMAGES = {
|
11
|
+
:ubuntu_precise => 2486,
|
11
12
|
:ubuntu_lucid => 124,
|
12
13
|
:debian_squeeze => 1741,
|
13
14
|
:centos_6 => 1743
|
data/lib/vmaster/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virtualmaster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: commander
|
16
|
-
requirement: &
|
16
|
+
requirement: &70284942695820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 4.1.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70284942695820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: deltacloud-client
|
27
|
-
requirement: &
|
27
|
+
requirement: &70284942695320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.5.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70284942695320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: terminal-table
|
38
|
-
requirement: &
|
38
|
+
requirement: &70284942694700 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.4.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70284942694700
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: net-ssh
|
49
|
-
requirement: &
|
49
|
+
requirement: &70284942694000 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 2.3.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70284942694000
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70284942693520 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '2'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70284942693520
|
69
69
|
description: Command line interface to Virtualmaster. Control your virtual infrastructure.
|
70
70
|
email:
|
71
71
|
- radim@laststation.net
|