1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

New port: sysutils/rubygem-puppetserver-ca

This gem provides the functionality behind the Puppet Server CA interactions.
The actual CLI executable lives within the Puppet Server project.

WWW: https://github.com/puppetlabs/puppetserver-ca-cli/

With hat:	puppet
This commit is contained in:
Romain Tartière 2018-09-27 07:06:25 +00:00
parent 2197701d59
commit d42652d8d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480785
5 changed files with 51 additions and 0 deletions

View File

@ -1123,6 +1123,7 @@
SUBDIR += rubygem-ohai8
SUBDIR += rubygem-parallel
SUBDIR += rubygem-puppet_forge
SUBDIR += rubygem-puppetserver-ca
SUBDIR += rubygem-r10k
SUBDIR += rubygem-rubyipmi
SUBDIR += rubygem-serverspec

View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= puppetserver-ca
PORTVERSION= 1.0.0
CATEGORIES= sysutils rubygems
MASTER_SITES= RG
MAINTAINER= puppet@FreeBSD.org
COMMENT= Ruby CLI tool to interact with the Puppet Server Certificate Authority
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= facter:sysutils/facter
USES= gem
USE_RUBY= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/lib/puppetserver/ca/config/puppet.rb
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1537529577
SHA256 (rubygem/puppetserver-ca-1.0.0.gem) = f438c2dc2a7f3c30cc7964fa335357c4937feff529a3bdf973b49f3e820e1168
SIZE (rubygem/puppetserver-ca-1.0.0.gem) = 31232

View File

@ -0,0 +1,20 @@
--- lib/puppetserver/ca/config/puppet.rb.orig 2018-09-27 06:33:57 UTC
+++ lib/puppetserver/ca/config/puppet.rb
@@ -50,7 +50,7 @@ module Puppetserver
def user_specific_conf_dir
@user_specific_conf_dir ||=
if running_as_root?
- '/etc/puppetlabs/puppet'
+ '%%PREFIX%%/etc/puppet'
else
"#{ENV['HOME']}/.puppetlabs/etc/puppet"
end
@@ -102,7 +102,7 @@ module Puppetserver
# defaults below
base_defaults = [
[:confdir, user_specific_conf_dir],
- [:ssldir,'$confdir/ssl'],
+ [:ssldir,'/var/puppet/ssl'],
[:cadir, '$ssldir/ca'],
[:certdir, '$ssldir/certs'],
[:certname, default_certname],

View File

@ -0,0 +1,4 @@
This gem provides the functionality behind the Puppet Server CA interactions.
The actual CLI executable lives within the Puppet Server project.
WWW: https://github.com/puppetlabs/puppetserver-ca-cli/