Add an example to setup the external node classifier (ENC) and fix the
external_node script.
This commit is contained in:
parent
969f26e2c1
commit
a3140babae
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2013/03/12 10:44:50 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2013/03/12 10:59:50 ajacoutot Exp $
|
||||
|
||||
COMMENT= overview of your Puppet ecosystem
|
||||
|
||||
DISTNAME= puppet-dashboard-1.2.22
|
||||
CATEGORIES= www sysutils
|
||||
REVISION= 0
|
||||
|
||||
HOMEPAGE= https://puppetlabs.com/puppet/related-projects/dashboard/
|
||||
|
||||
@ -34,6 +35,8 @@ pre-configure:
|
||||
perl -pi -e 's,/usr/share,${PREFIX},g' \
|
||||
${WRKSRC}/examples/puppet-dashboard.cleanup_reports.cron \
|
||||
${WRKSRC}/lib/data_generator.rb
|
||||
perl -pi -e 's, /usr/bin/ruby,${RUBY},' ${WRKSRC}/bin/external_node
|
||||
|
||||
|
||||
do-install:
|
||||
mkdir -p ${INSTDIR}
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.2 2013/03/12 10:44:50 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.3 2013/03/12 10:59:50 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -57,6 +57,15 @@ ${SYSCONFDIR}/puppet/puppet.conf needs to be edited accordingly:
|
||||
reports = store, http
|
||||
reporturl = http://dashboard.domain.tld:3000/reports/upload
|
||||
|
||||
Node Classification
|
||||
-------------------
|
||||
To use the Dashboard external node classifier (ENC) alongside Puppet DSL
|
||||
node definitions, the master should contain the following lines (to be
|
||||
adapted accordingly):
|
||||
[master]
|
||||
node_terminus = exec
|
||||
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 ${INSTDIR}/bin/external_node
|
||||
|
||||
Maintenance
|
||||
===========
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user