danarchy_sys 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adecf679edce8c1ee9beb96a09bb6fcc2c0aa4e5
4
- data.tar.gz: c4dc4fab6af857af55e3df53ffdef2e801047135
3
+ metadata.gz: 8fddf8294bdd8669276625922a782204745357d0
4
+ data.tar.gz: 558b78886117029836d16cb7a8e2f24571cbc508
5
5
  SHA512:
6
- metadata.gz: 2ca0a7287b20ed0e6c1f471a53c059cb65369f914a7f5c2cf48d8b7ce23550f3e9a1e4085dfe3d7290c86c2a5bc0dbfad56b2af442edc3f28f8285d68cf3e49d
7
- data.tar.gz: 4e35702b99b60700de00d0a1ecb87bfa77f7e566dc8e94e845aedfc0a6524e1190b065b2a3bdd78a5abcf3aa1e8e2664852e214eb9ef2868fcabeb700d1c6106
6
+ metadata.gz: e8cd0cb4cf1ba0409919a55106fd4fb076ea4ece4395caa75a1b0c18248c7ae70f5fb959a07280da42fb0ad63535d2057dd32e34b47c5643bff1c8d8e3d2ae97
7
+ data.tar.gz: 65c92bce502544b45b5c33a73a1aca86623deae3bb735e45097032d83e573dd8f3de1342df80ea720b1824f300b7f6fccdaa5ec3aa8e75f3d0dcb965d643af40
data/README.txt CHANGED
@@ -19,27 +19,32 @@ OpenStack Tenant ID: your_openstack_tenant_id
19
19
  Configuration has been saved!
20
20
 
21
21
 
22
- dAnarchySys config file follows a YAML format like this:
23
-
24
- :connections:
25
- :your_connection:
26
- :openstack_auth_url: http://openstack-provider.com:5000/v2.0/tokens
27
- :openstack_username: openstack_username
28
- :openstack_api_key: openstack_api_key
29
- :openstack_tenant: openstack_tenant
30
- :general_settings:
31
- :ssh_key_path: PATH_TO_SSH_KEYS (this is filled in by default)
22
+ dAnarchySys config file follows a JSON format like this:
23
+
24
+ {
25
+ "accounts": {
26
+ "your_account": {
27
+ "openstack_auth_url": "http://openstack-provider.com:5000/v2.0/tokens",
28
+ "openstack_username": "openstack_username",
29
+ "openstack_api_key": "openstack_api_key",
30
+ "openstack_tenant": "openstack_tenant"
31
+ },
32
+ },
33
+ "global_settings": {
34
+ "ssh_key_path": "/home/dan/.danarchy_sys/ssh"
35
+ }
36
+ }
32
37
 
33
38
  # Once configuration finishes you will enter the main CLI for dAnarchy_sys.
34
39
 
35
40
  ## Usage
36
41
 
37
42
  ~ $ danarchy_sys
38
- OpenStack -> os_dreamcompute
43
+ OpenStack -> danarchy_dreamcompute
39
44
  dAnarchy_sys main menu commands:
40
45
  Enter 'help' to view available commands or 'exit' to leave.
41
46
  1. instance: Instance Manager
42
- 2. keypair: Keypair Manager
47
+ 2. keypair: Keypair Manager (Not yet implemented!)
43
48
  3. help: Outputs commands for current the menu level
44
49
  4. exit: Exit dAnarchy_sys
45
50
  command ~: instance
@@ -7,7 +7,7 @@ class ComputeKeypairs
7
7
  end
8
8
 
9
9
  def pemfile_path(keypair_name)
10
- "#{@settings[:ssh_key_path]}/fog_#{keypair_name}.pem"
10
+ "#{@settings[:ssh_key_path]}/#{keypair_name}.pem"
11
11
  end
12
12
 
13
13
  def pemfile_check(pemfile)
@@ -1,3 +1,3 @@
1
1
  module DanarchySys
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danarchy_sys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan James
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-openstack