Index: sysutils/Makefile =================================================================== --- sysutils/Makefile +++ sysutils/Makefile @@ -849,6 +849,7 @@ SUBDIR += rubygem-parallel SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-shellany + SUBDIR += rubygem-smart_proxy_chef SUBDIR += rubygem-smart_proxy_salt SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu Index: sysutils/rubygem-smart_proxy_chef/Makefile =================================================================== --- /dev/null +++ sysutils/rubygem-smart_proxy_chef/Makefile @@ -0,0 +1,29 @@ +# Created by: Michael Moll +# $FreeBSD$ + +PORTNAME= smart_proxy_chef +PORTVERSION= 0.1.3 +CATEGORIES= sysutils ruby +MASTER_SITES= RG + +MAINTAINER= mmoll@FreeBSD.org +COMMENT= Chef Plug-In for Foreman's Smart Proxy + +LICENSE= GPLv3 + +RUN_DEPENDS= foreman-proxy>=1.8.0:${PORTSDIR}/net/foreman-proxy \ + rubygem-chef-api>0:${PORTSDIR}/sysutils/rubygem-chef-api + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d + ${INSTALL_DATA} ${WRKSRC}/settings.d/chef.yml.example \ + ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d/chef.yml.sample + ${MKDIR} ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d + ${INSTALL_DATA} ${WRKSRC}/bundler.d/chef.rb \ + ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d/chef.rb + +.include Index: sysutils/rubygem-smart_proxy_chef/distinfo =================================================================== --- /dev/null +++ sysutils/rubygem-smart_proxy_chef/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/smart_proxy_chef-0.1.3.gem) = 8491b1803bc2b611109daabe7404d7dc513c977ccff21c6216f56f45ee8ac1dd +SIZE (rubygem/smart_proxy_chef-0.1.3.gem) = 19968 Index: sysutils/rubygem-smart_proxy_chef/pkg-descr =================================================================== --- /dev/null +++ sysutils/rubygem-smart_proxy_chef/pkg-descr @@ -0,0 +1,3 @@ +This plug-in adds support for Chef to Foreman's Smart Proxy. + +WWW: https://github.com/theforeman/smart_proxy_chef Index: sysutils/rubygem-smart_proxy_chef/pkg-message =================================================================== --- /dev/null +++ sysutils/rubygem-smart_proxy_chef/pkg-message @@ -0,0 +1,2 @@ +Further configuration is required to connect Chef and foreman-proxy, see: +http://theforeman.org/plugins/foreman_chef/0.1/ Index: sysutils/rubygem-smart_proxy_chef/pkg-plist =================================================================== --- /dev/null +++ sysutils/rubygem-smart_proxy_chef/pkg-plist @@ -0,0 +1,2 @@ +share/foreman-proxy/bundler.d/chef.rb +@sample etc/foreman-proxy/settings.d/chef.yml.sample