Skip to content

Commit

Permalink
Merge pull request chef-boneyard#26 from hw-cookbooks/test-kitchen
Browse files Browse the repository at this point in the history
check platform_family for apt
  • Loading branch information
Aaron Baer committed Jan 20, 2014
2 parents 683e41a + 434ec42 commit c23fcaa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/cookbooks/route53-test/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
# limitations under the License.
#

update_cache = execute "update apt" do
command "apt-get update"
end
update_cache.run_action( :run )
if node['platform_family'] == 'debian'
update_cache = execute "update apt" do
command "apt-get update"
end
update_cache.run_action( :run )
end

include_recipe "route53"

Expand Down

0 comments on commit c23fcaa

Please sign in to comment.