gce-metadata 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gce_metadata/dummy.yml +63 -33
- data/lib/gce_metadata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec9ead19636ec72fd5db67368af0b7b0a940806e
|
4
|
+
data.tar.gz: 766e67c883d92b41c10f0f345079869021b73d97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e84eb7382612e5d58b968917a65766efce9ae11725f0353066da9df34fb5529b26d76461bb8b32cb82debbefe0dedb387f2dcb736934df8bbe671b35cab6a7
|
7
|
+
data.tar.gz: 6f3db8d48faf916f3a061b8ebbfe8369ca4bb023f37b50d19457cc17a04efac7ebcddd0622542dfb11d72c919b1b656ee7dc4929b2766bc10c66b2332838e10f
|
data/Gemfile.lock
CHANGED
data/lib/gce_metadata/dummy.yml
CHANGED
@@ -1,34 +1,64 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
instance-type: m1.small
|
9
|
-
instance-action: none
|
10
|
-
security-groups: |-
|
11
|
-
ruby-dev
|
12
|
-
default
|
13
|
-
hostname: ip-10-160-115-246.us-west-1.compute.internal
|
14
|
-
public-hostname: ec2-204-236-178-101.us-west-1.compute.amazonaws.com
|
15
|
-
public-ipv4: 204.236.178.101
|
16
|
-
local-hostname: ip-10-160-115-246.us-west-1.compute.internal
|
17
|
-
local-ipv4: 10.160.115.246
|
18
|
-
kernel-id: aki-773c6d32
|
19
|
-
ramdisk-id: ari-c12e7f84
|
20
|
-
reservation-id: r-b76769f2
|
21
|
-
block-device-mapping:
|
22
|
-
root: /dev/sda1
|
23
|
-
ami: sda1
|
24
|
-
swap: sda3
|
25
|
-
ephemeral0: sda2
|
26
|
-
public-keys:
|
27
|
-
"0":
|
28
|
-
west-dev01:
|
29
|
-
openssh-key: |
|
30
|
-
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3on58pV0jEdOukPJMi3zaI90Vg5n+vTaWVNBC2pDfaFX5yVIwcT/LQn9CqvcFsayvRaLfrVT8+wz7BnvQwldUAoIC5wCb5MXhhdr+3dk3ey/t8t3rS0lO6pxYc1jchkH23C/RQz+gOzFDuuzxX4zngRRkajYt1hKEVOPLVv9tqBawalCF0d3iALu/XBguj6fUogaqHgNgZZpZXTXDyfmLtWnXErB0/hqmuV6iIXjclB+K94lZCcJaOQSm/+9C6R0jCKwJNteJInvD553IzyTzBgc5Os3ukNuYv+Ub6aP717ikmI5fa5P0pBL+684kkPKvpGoADJveACoL1+uKpk0j west-dev01
|
1
|
+
---
|
2
|
+
instance:
|
3
|
+
attributes:
|
4
|
+
INSTALL_GCM_AGENT: gcm:False
|
5
|
+
OWNER: dev@west-dev.com
|
6
|
+
startup-script: |
|
7
|
+
#!/usr/bin/env bash
|
31
8
|
|
32
|
-
|
33
|
-
|
34
|
-
|
9
|
+
echo hostname
|
10
|
+
cpu-platform: Intel Haswell
|
11
|
+
description: ''
|
12
|
+
disks:
|
13
|
+
'0':
|
14
|
+
device-name: runner-boot-disk
|
15
|
+
index: '0'
|
16
|
+
mode: READ_WRITE
|
17
|
+
type: PERSISTENT
|
18
|
+
hostname: instance.c.west-dev.internal
|
19
|
+
id: 'xxxx75661053997yyyy'
|
20
|
+
image: ''
|
21
|
+
licenses:
|
22
|
+
'0':
|
23
|
+
id: '1000010'
|
24
|
+
machine-type: projects/715693822579/machineTypes/n1-standard-1
|
25
|
+
maintenance-event: NONE
|
26
|
+
network-interfaces:
|
27
|
+
'0':
|
28
|
+
access-configs:
|
29
|
+
'0':
|
30
|
+
external-ip: 1.2.3.4
|
31
|
+
type: ONE_TO_ONE_NAT
|
32
|
+
forwarded-ips: {}
|
33
|
+
ip: 192.168.0.2
|
34
|
+
network: projects/715693822579/networks/net1
|
35
|
+
scheduling:
|
36
|
+
automatic-restart: 'TRUE'
|
37
|
+
on-host-maintenance: MIGRATE
|
38
|
+
service-accounts:
|
39
|
+
compute@developer.gserviceaccount.com:
|
40
|
+
aliases: |
|
41
|
+
default
|
42
|
+
email: compute@developer.gserviceaccount.com
|
43
|
+
scopes: |
|
44
|
+
https://www.googleapis.com/auth/cloud-platform
|
45
|
+
token: '{"access_token":"secret","expires_in":1358,"token_type":"Bearer"}'
|
46
|
+
default:
|
47
|
+
aliases: |
|
48
|
+
default
|
49
|
+
email: compute@developer.gserviceaccount.com
|
50
|
+
scopes: |
|
51
|
+
https://www.googleapis.com/auth/cloud-platform
|
52
|
+
token: '{"access_token":"secret","expires_in":1357,"token_type":"Bearer"}'
|
53
|
+
tags: '["tag1", "tag2"]'
|
54
|
+
virtual-clock:
|
55
|
+
drift-token: '17331184498667263355'
|
56
|
+
zone: projects/715693822579/zones/us-east1-d
|
57
|
+
project:
|
58
|
+
attributes:
|
59
|
+
google-compute-default-region: us-east1
|
60
|
+
google-compute-default-zone: us-east1-b
|
61
|
+
sshKeys: |
|
62
|
+
west-dev01:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3on58pV0jEdOukPJMi3zaI90Vg5n+vTaWVNBC2pDfaFX5yVIwcT/LQn9CqvcFsayvRaLfrVT8+wz7BnvQwldUAoIC5wCb5MXhhdr+3dk3ey/t8t3rS0lO6pxYc1jchkH23C/RQz+gOzFDuuzxX4zngRRkajYt1hKEVOPLVv9tqBawalCF0d3iALu/XBguj6fUogaqHgNgZZpZXTXDyfmLtWnXErB0/hqmuV6iIXjclB+K94lZCcJaOQSm/+9C6R0jCKwJNteJInvD553IzyTzBgc5Os3ukNuYv+Ub6aP717ikmI5fa5P0pBL+684kkPKvpGoADJveACoL1+uKpk0j west-dev01
|
63
|
+
numeric-project-id: '715693822579'
|
64
|
+
project-id: west-dev
|
data/lib/gce_metadata/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gce-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ec2-metadata
|