- Add new port puppet-lint.
Puppet-lint checks your Puppet manifests against the Puppet Labs style guide and alerts you to any discrepancies. You can test a single manifest file by running: puppet-lint <path to file> If you want to test your entire Puppet manifest directory, you can add require 'puppet-lint/tasks/puppet-lint' to your Rakefile and then run: rake lint WWW: https://github.com/rodjek/puppet-lint
This commit is contained in:
parent
40a1fb361b
commit
8b5d06a2f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289790
5 changed files with 37 additions and 0 deletions
|
@ -684,6 +684,7 @@
|
|||
SUBDIR += pstack
|
||||
SUBDIR += pstree
|
||||
SUBDIR += puppet
|
||||
SUBDIR += puppet-lint
|
||||
SUBDIR += pv
|
||||
SUBDIR += pwd_unmkdb
|
||||
SUBDIR += pwg
|
||||
|
|
BIN
sysutils/puppet-lint/.pkg-descr.swp
Normal file
BIN
sysutils/puppet-lint/.pkg-descr.swp
Normal file
Binary file not shown.
21
sysutils/puppet-lint/Makefile
Normal file
21
sysutils/puppet-lint/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# New ports collection makefile for: puppet-lint
|
||||
# Date created: 25 January 2012
|
||||
# Whom: Tim Bishop <tdb@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= puppet-lint
|
||||
PORTVERSION= 0.1.11
|
||||
CATEGORIES= sysutils rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= tdb@FreeBSD.org
|
||||
COMMENT= Checks Puppet manifests against the style guide
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
PLIST_FILES= bin/puppet-lint
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/puppet-lint/distinfo
Normal file
2
sysutils/puppet-lint/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (rubygem/puppet-lint-0.1.11.gem) = fed7e5bcf4066685288b315d41f11d18fa4e3d653be42e7650bd3c995951adc7
|
||||
SIZE (rubygem/puppet-lint-0.1.11.gem) = 16384
|
13
sysutils/puppet-lint/pkg-descr
Normal file
13
sysutils/puppet-lint/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
|||
Puppet-lint checks your Puppet manifests against the Puppet Labs style
|
||||
guide and alerts you to any discrepancies.
|
||||
|
||||
You can test a single manifest file by running:
|
||||
|
||||
puppet-lint <path to file>
|
||||
|
||||
If you want to test your entire Puppet manifest directory, you can add
|
||||
require 'puppet-lint/tasks/puppet-lint' to your Rakefile and then run:
|
||||
|
||||
rake lint
|
||||
|
||||
WWW: https://github.com/rodjek/puppet-lint
|
Loading…
Reference in a new issue