Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed1d192

Browse files
kamaradclimbersethvargo
authored andcommitted
[COOK-3125] Use default instead of normal attribute for python bin
Signed-off-by: Seth Vargo <[email protected]>
1 parent 345c56a commit ed1d192

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.kitchen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ platforms:
2626
driver_config:
2727
box: opscode-centos-5.9
2828
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
29-
29+
3030
- name: centos-6.4
3131
driver_config:
3232
box: opscode-centos-6.4
@@ -49,6 +49,6 @@ suites:
4949
- recipe[python_test::test_exert]
5050
- name: virtualenv
5151
excludes: ["centos-5.9"]
52-
run_list:
52+
run_list:
5353
- recipe[python]
5454
- recipe[python_test::test_virtualenv]

Berksfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ group :integration do
77
cookbook "yum"
88
cookbook "build-essential"
99
cookbook "python_test", :path => "./test/cookbooks/python_test"
10-
end
10+
end

recipes/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if platform_family?('rhel') && major_version < 6
2626
include_recipe 'yum::epel'
2727
python_pkgs = ["python26", "python26-devel"]
28-
node.set['python']['binary'] = "/usr/bin/python26"
28+
node.default['python']['binary'] = "/usr/bin/python26"
2929
else
3030
python_pkgs = value_for_platform_family(
3131
"debian" => ["python","python-dev"],

test/cookbooks/python_test/recipes/test_exert.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@
3333
python_pip "psutil" do
3434
action :install
3535
end
36-

test/integration/exert/bats/exert.bats

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@
1111
@test "virtualenv test environment should have boto working" {
1212
/tmp/kitchen-chef-solo/cache/virtualenv/bin/python -c 'import boto; boto.Version'
1313
}
14-

0 commit comments

Comments
 (0)