Skip to content

Commit

Permalink
Merge pull request #140 from artem-sidorenko/yum-apt
Browse files Browse the repository at this point in the history
Remove dependenies to apt and yum cookbooks.
  • Loading branch information
atomic111 authored Feb 13, 2017
2 parents 2ef80c9 + 07b6d38 commit 4f596bf
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ It will not:
* Chef >= 12.5.1
* Cookbooks:
* Sander van Zoest sysctl `https://github.com/svanzoest-cookbooks/sysctl`
* Chef apt `https://github.com/chef-cookbooks/apt`
* Chef yum `https://github.com/chef-cookbooks/yum`

**Note for `sysctl` usage:**

Expand Down
3 changes: 1 addition & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
supports 'oracle', '>= 6.4'

depends 'sysctl', '<= 0.7.5'
depends 'apt', '~> 3.0.0'
depends 'yum'
depends 'compat_resource', '>= 12.16.3'

recipe 'os-hardening::default', 'harden the operating system (all recipes)'
recipe 'os-hardening::limits', 'prevent core dumps'
Expand Down
2 changes: 0 additions & 2 deletions recipes/apt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
# limitations under the License.
#

include_recipe 'apt'

# apt-get and aptitude check package signatures by default.
# TODO: could check apt.conf to make sure this hasn't been disabled.

Expand Down
2 changes: 0 additions & 2 deletions recipes/yum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
# limitations under the License.
#

include_recipe 'yum'

# NSA chapter: NSA 2.1.2.3.3
# verify package signatures
# search /etc/yum.conf gpgcheck=1
Expand Down

0 comments on commit 4f596bf

Please sign in to comment.