summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasiliy Tolstov <v.tolstov@selfip.ru>2014-06-13 18:06:47 +0400
committerVasiliy Tolstov <v.tolstov@selfip.ru>2014-06-13 18:06:47 +0400
commitb241d916cfb3b4ef5348600fe3005da6b719f852 (patch)
treeaff69b73d99783be724bf22d50dfb8f5fb558edf
parent11f4411c5f5d53d95a7ec00b623dbdc41e1bc924 (diff)
downloadchef-b241d916cfb3b4ef5348600fe3005da6b719f852.tar.gz
fix tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
-rw-r--r--lib/chef/provider/package/paludis.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/paludis.rb b/lib/chef/provider/package/paludis.rb
index 6b61f0171e..c69ba5cabb 100644
--- a/lib/chef/provider/package/paludis.rb
+++ b/lib/chef/provider/package/paludis.rb
@@ -34,10 +34,10 @@ class Chef
@current_resource.version(nil)
- Chef::Log.debug("Checking package status for #{package}")
+ Chef::Log.debug("Checking package status for #{@new_resource.package_name}")
installed = false
- shell_out!("cave -L warning print-ids -m \"#{package}\" -f \"%c/%p %v %r\n\"").stdout.each_line do |line|
+ shell_out!("cave -L warning print-ids -m \"#{@new_resource.package_name}\" -f \"%c/%p %v %r\n\"").stdout.each_line do |line|
case line
when /accounts/
next