Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
declare explicit dependency on tar package
Browse files Browse the repository at this point in the history
All source-built recipes depend on the tar binary to be installed.
This is typically not an issue, since mosy systems can rely on the
package to be installed, however super-minimalistic distros may not
include this package until requested explicitly.
  • Loading branch information
miketheman committed Sep 16, 2014
1 parent da3d202 commit e128a0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
notifies :reload, 'service[nginx]'
end

# source install depends on the existence of the `tar` package
package 'tar'

# Unpack downloaded source so we could apply nginx patches
# in custom modules - example http://yaoweibin.github.io/nginx_tcp_proxy_module/
# patch -p1 < /path/to/nginx_tcp_proxy_module/tcp.patch
Expand Down

0 comments on commit e128a0a

Please sign in to comment.