diff options
author | romain <romain@FreeBSD.org> | 2016-03-25 04:30:33 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2016-03-25 04:30:33 +0800 |
commit | 3c13ced8618be825deb3a797b3e49cb5f78c8795 (patch) | |
tree | 91e034272b1518b2a9edd069b9c7d42e7fcbe1ff /sysutils | |
parent | a4f961276bf83bceb69b502871e056a8d9a8870a (diff) | |
download | freebsd-ports-gnome-3c13ced8618be825deb3a797b3e49cb5f78c8795.tar.gz freebsd-ports-gnome-3c13ced8618be825deb3a797b3e49cb5f78c8795.tar.zst freebsd-ports-gnome-3c13ced8618be825deb3a797b3e49cb5f78c8795.zip |
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
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/mcollective-actionpolicy-auth/Makefile | 31 | ||||
-rw-r--r-- | sysutils/mcollective-actionpolicy-auth/distinfo | 2 | ||||
-rw-r--r-- | sysutils/mcollective-actionpolicy-auth/files/pkg-message.in | 7 | ||||
-rw-r--r-- | sysutils/mcollective-actionpolicy-auth/pkg-descr | 5 |
5 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index e0de8573c1d0..e17e2725c3e9 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/mcollective-actionpolicy-auth/Makefile b/sysutils/mcollective-actionpolicy-auth/Makefile new file mode 100644 index 000000000000..1b5b96fe2241 --- /dev/null +++ b/sysutils/mcollective-actionpolicy-auth/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= mcollective-actionpolicy-auth +PORTVERSION= 2.1.0 +CATEGORIES= sysutils + +MAINTAINER= romain@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> diff --git a/sysutils/mcollective-actionpolicy-auth/distinfo b/sysutils/mcollective-actionpolicy-auth/distinfo new file mode 100644 index 000000000000..fb1325d71762 --- /dev/null +++ b/sysutils/mcollective-actionpolicy-auth/distinfo @@ -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 diff --git a/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in b/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in new file mode 100644 index 000000000000..46351464a02b --- /dev/null +++ b/sysutils/mcollective-actionpolicy-auth/files/pkg-message.in @@ -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 +************************************************************************ diff --git a/sysutils/mcollective-actionpolicy-auth/pkg-descr b/sysutils/mcollective-actionpolicy-auth/pkg-descr new file mode 100644 index 000000000000..0a1a790b698d --- /dev/null +++ b/sysutils/mcollective-actionpolicy-auth/pkg-descr @@ -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 |