opskeleton 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opskeleton (0.3.0)
4
+ opskeleton (0.3.1)
5
5
  thor
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module Opskeleton
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -6,10 +6,9 @@ require 'net/http'
6
6
  # this is used for external node lookup in celestial puppet std provider
7
7
 
8
8
  node = ARGV[0]
9
- host = node.split('.').first
10
9
 
11
- if(File.exists?("#{host}.yml"))
12
- File.open("#{host}.yml").lines.each {|l| puts l}
10
+ if(File.exists?("#{node}.yml"))
11
+ File.open("#{node}.yml").lines.each {|l| puts l}
13
12
  else
14
13
  ip = ENV['SSH_CONNECTION'].split(' ').first
15
14
  httpcall = Net::HTTP.new(ip, 8082)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opskeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-16 00:00:00.000000000 Z
12
+ date: 2013-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: -3993076141945134336
160
+ hash: 579033727129986697
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  segments:
168
168
  - 0
169
- hash: -3993076141945134336
169
+ hash: 579033727129986697
170
170
  requirements: []
171
171
  rubyforge_project:
172
172
  rubygems_version: 1.8.25