Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make perlbrew_run synchronous

  • Loading branch information...
commit 49fbafeed51e79833509cc79554af8707c1d7ef0 1 parent b4695de
David Golden authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  cookbooks/perlbrew/providers/run.rb
3  cookbooks/perlbrew/providers/run.rb
@@ -28,7 +28,7 @@
28 28 'PERLBREW_ROOT' => node['perlbrew']['perlbrew_root'],
29 29 'PERLBREW_HOME' => node['perlbrew']['perlbrew_root']
30 30 }
31   - bash new_resource.name do
  31 + b = bash new_resource.name do
32 32 environment new_resource.environment.merge(perlbrew_env)
33 33 cwd new_resource.cwd if new_resource.cwd
34 34 code <<-EOC
@@ -37,5 +37,6 @@
37 37 #{new_resource.command}
38 38 EOC
39 39 end
  40 + b.run_action(:run)
40 41 new_resource.updated_by_last_action(true)
41 42 end

0 comments on commit 49fbafe

Please sign in to comment.
Something went wrong with that request. Please try again.