svn commit: r411810 - in head/sysutils: . mcollective-actionpolicy-auth mcollective-actionpolicy-auth/files
Romain Tartière
romain at FreeBSD.org
Thu Mar 24 20:30:34 UTC 2016
Author: romain
Date: Thu Mar 24 20:30:33 2016
New Revision: 411810
URL: https://svnweb.freebsd.org/changeset/ports/411810
Log:
This is a plugin that provides fine grained action level authorization for
agents. Any MCollective agent plugins based on SimpleRPC can be restricted with
authorization plugins like this one.
WWW: https://github.com/puppetlabs/mcollective-actionpolicy-auth
Added:
head/sysutils/mcollective-actionpolicy-auth/
head/sysutils/mcollective-actionpolicy-auth/Makefile (contents, props changed)
head/sysutils/mcollective-actionpolicy-auth/distinfo (contents, props changed)
head/sysutils/mcollective-actionpolicy-auth/files/
head/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in (contents, props changed)
head/sysutils/mcollective-actionpolicy-auth/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Thu Mar 24 20:16:59 2016 (r411809)
+++ head/sysutils/Makefile Thu Mar 24 20:30:33 2016 (r411810)
@@ -544,6 +544,7 @@
SUBDIR += mbgtools
SUBDIR += mcelog
SUBDIR += mcollective
+ SUBDIR += mcollective-actionpolicy-auth
SUBDIR += mcollective-nettest-agent
SUBDIR += mcollective-nettest-client
SUBDIR += mcollective-nettest-common
Added: head/sysutils/mcollective-actionpolicy-auth/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-actionpolicy-auth/Makefile Thu Mar 24 20:30:33 2016 (r411810)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= mcollective-actionpolicy-auth
+PORTVERSION= 2.1.0
+CATEGORIES= sysutils
+
+MAINTAINER= romain at FreeBSD.org
+COMMENT= MCollective Authorization plugin allowing fine grained ACLs
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= mcollective>=2:${PORTSDIR}/sysutils/mcollective
+
+USE_GITHUB= yes
+GH_ACCOUNT= puppetlabs
+SUB_FILES= pkg-message
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= share/mcollective/util/actionpolicy.ddl \
+ share/mcollective/util/actionpolicy.rb
+PLIST_DIRS= etc/mcollective/policies
+
+.if !target(do-install)
+do-install:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "util" ${STAGEDIR}${PREFIX}/share/mcollective
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mcollective/policies
+.endif
+
+.include <bsd.port.mk>
Added: head/sysutils/mcollective-actionpolicy-auth/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-actionpolicy-auth/distinfo Thu Mar 24 20:30:33 2016 (r411810)
@@ -0,0 +1,2 @@
+SHA256 (puppetlabs-mcollective-actionpolicy-auth-2.1.0_GH0.tar.gz) = e824a8c98c3ef3efcb723a0d0983c7a17e68a5d34646fd303bf1d8d221f76d58
+SIZE (puppetlabs-mcollective-actionpolicy-auth-2.1.0_GH0.tar.gz) = 11900
Added: head/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in Thu Mar 24 20:30:33 2016 (r411810)
@@ -0,0 +1,7 @@
+************************************************************************
+Add the following lines to %%PREFIX%%/etc/mcollective/server.cfg to
+enable the mcollective-actionpolicy-auth plugin:
+
+rpcauthorization = 1
+rpcauthprovider = action_policy
+************************************************************************
Added: head/sysutils/mcollective-actionpolicy-auth/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-actionpolicy-auth/pkg-descr Thu Mar 24 20:30:33 2016 (r411810)
@@ -0,0 +1,5 @@
+This is a plugin that provides fine grained action level authorization for
+agents. Any MCollective agent plugins based on SimpleRPC can be restricted with
+authorization plugins like this one.
+
+WWW: https://github.com/puppetlabs/mcollective-actionpolicy-auth
More information about the svn-ports-head
mailing list