Create and manage /var/chef via the @dir directive

This allows me to install rubygem-chef and run chef-solo out of the box, and
achieves parity with variants of CentOS Linux.

PR: 222481
Approved by: matthew (maintainer timeout)
This commit is contained in:
Enji Cooper 2017-10-21 07:50:44 +00:00
parent 4dae3b097a
commit 9eb2bfb34a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452573
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= chef
PORTVERSION= 13.2.20
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= RG
@ -57,5 +57,6 @@ SHEBANG_LANG= ksh
post-install:
${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
${MKDIR} ${STAGEDIR}/var/chef
.include <bsd.port.mk>

View File

@ -38,3 +38,4 @@ man/man1/knife.1.gz
man/man8/chef-apply.8.gz
man/man8/chef-client.8.gz
man/man8/chef-solo.8.gz
@dir /var/chef