runpuppet 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/runpuppet.rb +3 -3
- data/runpuppet.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.6
|
data/lib/runpuppet.rb
CHANGED
@@ -103,9 +103,9 @@ class Runpuppet
|
|
103
103
|
|
104
104
|
def self.local_ip
|
105
105
|
if is_ec2?
|
106
|
-
require 'facter
|
107
|
-
|
108
|
-
ip =
|
106
|
+
require 'facter'
|
107
|
+
require 'facter/ec2'
|
108
|
+
ip = Facter.value("ec2_public_ipv4")
|
109
109
|
else
|
110
110
|
%x(ifconfig)[/192.168.\d+.\d+/] || config['local_ip']
|
111
111
|
end
|
data/runpuppet.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runpuppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Heinrich
|