1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- Add missing module dir

PR:		ports/177729
Submitted by:	Edward <edward@rdtan.net>
This commit is contained in:
Steve Wills 2013-04-25 01:43:44 +00:00
parent ead7dc57fb
commit b03ad1959c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316490
2 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,7 @@ post-install:
--vardir=/var/lib/puppet \
--logdir=/var/log/puppet \
> ${ETCDIR}/puppet.conf-dist
${MKDIR} -p ${ETCDIR}/modules
@${ECHO} ${RUBY_SITELIBDIR}/puppet.rb | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO} ${RUBY_SITELIBDIR}/semver.rb | \

View File

@ -5,9 +5,11 @@ bin/puppet
%%RUBY_SITELIBDIR%%/hiera_puppet.rb
%%ETCDIR%%/puppet.conf-dist
%%ETCDIR%%/auth.conf-dist
@dirrmtry etc/puppet/modules
@dirrmtry etc/puppet
@unexec rmdir /var/puppet 2>/dev/null || true
@exec /bin/mkdir -p /var/puppet
@exec /bin/mkdir -p etc/puppet/modules
@exec /usr/sbin/chown -Rh puppet:puppet /var/puppet
@dirrm %%RUBY_SITELIBDIR%%/hiera/backend
@dirrm %%RUBY_SITELIBDIR%%/hiera