-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The package lists of debian 9 DO image are not full/complete, we updating them via test cookbook Signed-off-by: Artem Sidorenko <[email protected]>
- Loading branch information
1 parent
5fde201
commit ad74bb4
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name 'test' | ||
maintainer 'Artem Sidorenko' | ||
maintainer_email '[email protected]' | ||
license 'Apache-2.0' | ||
description 'Test preparation cookbook' | ||
long_description 'Test preparation cookbook' | ||
version '0.1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Cookbook Name:: test | ||
# Recipe:: default | ||
# | ||
|
||
# We use this test cookbook to initialize the test environment | ||
|
||
if node['platform_family'] == 'debian' | ||
# Run apt-get update if we are on debian, some images/boxes do not have full package lists | ||
execute 'apt update' do | ||
command 'apt-get update' | ||
end | ||
end |