paratele 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/paratele +2 -1
  2. data/paratele.gemspec +1 -1
  3. metadata +1 -1
@@ -96,6 +96,7 @@ when "run" then
96
96
  else
97
97
  environment["servers"].keys
98
98
  end
99
+ attributes = environment["attributes"] || {}
99
100
 
100
101
  exit_status = 0
101
102
 
@@ -108,7 +109,7 @@ when "run" then
108
109
  print " #{recipe}: "
109
110
 
110
111
  if File.exists?(path("recipes", recipe))
111
- stdout, status = run(server, recipe, command, environment["attributes"])
112
+ stdout, status = run(server, recipe, command, attributes)
112
113
 
113
114
  case status
114
115
  when nil
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "paratele"
3
- s.version = "0.2"
3
+ s.version = "0.2.1"
4
4
  s.summary = "Provisioning at a distance"
5
5
  s.description = "Tele is a small provisioning framework that allows you to run bash scripts on remote servers over SSH."
6
6
  s.authors = ["Damian Janowski", "Michel Martens", "Harry Vangberg"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: paratele
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.2"
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Damian Janowski