Date: Thu, 27 Sep 2018 07:06:25 +0000 (UTC) From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480785 - in head/sysutils: . rubygem-puppetserver-ca rubygem-puppetserver-ca/files Message-ID: <201809270706.w8R76PkZ020666@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: romain Date: Thu Sep 27 07:06:25 2018 New Revision: 480785 URL: https://svnweb.freebsd.org/changeset/ports/480785 Log: 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 Added: head/sysutils/rubygem-puppetserver-ca/ head/sysutils/rubygem-puppetserver-ca/Makefile (contents, props changed) head/sysutils/rubygem-puppetserver-ca/distinfo (contents, props changed) head/sysutils/rubygem-puppetserver-ca/files/ head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb (contents, props changed) head/sysutils/rubygem-puppetserver-ca/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Thu Sep 27 06:47:03 2018 (r480784) +++ head/sysutils/Makefile Thu Sep 27 07:06:25 2018 (r480785) @@ -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 Added: head/sysutils/rubygem-puppetserver-ca/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/Makefile Thu Sep 27 07:06:25 2018 (r480785) @@ -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> Added: head/sysutils/rubygem-puppetserver-ca/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/distinfo Thu Sep 27 07:06:25 2018 (r480785) @@ -0,0 +1,3 @@ +TIMESTAMP = 1537529577 +SHA256 (rubygem/puppetserver-ca-1.0.0.gem) = f438c2dc2a7f3c30cc7964fa335357c4937feff529a3bdf973b49f3e820e1168 +SIZE (rubygem/puppetserver-ca-1.0.0.gem) = 31232 Added: head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb Thu Sep 27 07:06:25 2018 (r480785) @@ -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], Added: head/sysutils/rubygem-puppetserver-ca/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/pkg-descr Thu Sep 27 07:06:25 2018 (r480785) @@ -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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809270706.w8R76PkZ020666>