runpuppet 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/runpuppet.rb +2 -1
  3. data/runpuppet.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
data/lib/runpuppet.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'open-uri'
2
2
  require 'socket'
3
+ require 'yaml'
3
4
 
4
5
  class Runpuppet
5
6
  def self.with_lock(lock_file)
@@ -29,7 +30,7 @@ class Runpuppet
29
30
  end
30
31
 
31
32
 
32
- def get(path)
33
+ def self.get(path)
33
34
  path += (path.include?('?') ? '&' : '?')
34
35
  path += "hostname=#{Socket.gethostname}&ip=#{Config.local_ip}"
35
36
  open(Config.puppet_controller_url + path, Config.puppet_controller_auth) rescue puts "WARNING: no connection to puppet controller!"
data/runpuppet.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{runpuppet}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roman Heinrich"]
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: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Heinrich