From 9eb2bfb34a95fbee7bc318da32ac964d4f889da0 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 21 Oct 2017 07:50:44 +0000 Subject: [PATCH] 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) --- sysutils/rubygem-chef/Makefile | 3 ++- sysutils/rubygem-chef/pkg-plist | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile index 91553919c696..7015d7a68280 100644 --- a/sysutils/rubygem-chef/Makefile +++ b/sysutils/rubygem-chef/Makefile @@ -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 diff --git a/sysutils/rubygem-chef/pkg-plist b/sysutils/rubygem-chef/pkg-plist index ab46ac2b9c17..d7624d0d425f 100644 --- a/sysutils/rubygem-chef/pkg-plist +++ b/sysutils/rubygem-chef/pkg-plist @@ -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