mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/rubygem-smart_proxy_salt: create port
This plug-in adds support for SaltStack to Foreman's Smart Proxy. WWW: https://github.com/theforeman/smart_proxy_salt PR: 193976 Submitted by: Michael Moll <kvedulv@kvedulv.de>
This commit is contained in:
@@ -813,6 +813,7 @@
|
||||
SUBDIR += rubygem-ohai
|
||||
SUBDIR += rubygem-parallel
|
||||
SUBDIR += rubygem-rubyipmi
|
||||
SUBDIR += rubygem-smart_proxy_salt
|
||||
SUBDIR += rubygem-sys-admin
|
||||
SUBDIR += rubygem-sys-cpu
|
||||
SUBDIR += rubygem-sys-filesystem
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
# Created by: Michael Moll <kvedulv@kvedulv.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= smart_proxy_salt
|
||||
PORTVERSION= 0.0.2
|
||||
CATEGORIES= sysutils ruby
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= kvedulv@kvedulv.de
|
||||
COMMENT= SaltStack Plug-In for Foreman's Smart Proxy
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
RUN_DEPENDS= foreman-proxy>=1.6.0:${PORTSDIR}/net/foreman-proxy \
|
||||
${PYTHON_PKGNAMEPREFIX}salt:${PORTSDIR}/sysutils/py-salt
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d
|
||||
${INSTALL_DATA} ${FILESDIR}/salt.yml.sample ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d/salt.yml.sample
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/foreman-proxy
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d
|
||||
${INSTALL_DATA} ${FILESDIR}/salt.rb ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d/salt.rb
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
@@ -0,0 +1,2 @@
|
||||
SHA256 (rubygem/smart_proxy_salt-0.0.2.gem) = 7b3ea0eb67a9a0fd05ab9179e3f45b59968407d13720dbdd92e70b78cb601f73
|
||||
SIZE (rubygem/smart_proxy_salt-0.0.2.gem) = 20992
|
||||
@@ -0,0 +1 @@
|
||||
gem 'smart_proxy_salt', '0.0.2'
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
:enabled: true
|
||||
:autosign_file: /usr/local/etc/salt/autosign.conf
|
||||
:salt_command_user: root
|
||||
@@ -0,0 +1,3 @@
|
||||
This plug-in adds support for SaltStack to Foreman's Smart Proxy.
|
||||
|
||||
WWW: https://github.com/theforeman/smart_proxy_salt
|
||||
@@ -0,0 +1,3 @@
|
||||
bin/foreman-node
|
||||
share/foreman-proxy/bundler.d/salt.rb
|
||||
@sample etc/foreman-proxy/settings.d/salt.yml.sample
|
||||
Reference in New Issue
Block a user