aboutsummaryrefslogtreecommitdiff
path: root/sysutils/puppet-lint
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2012-01-25 17:12:47 +0000
committerTim Bishop <tdb@FreeBSD.org>2012-01-25 17:12:47 +0000
commit8b5d06a2f3cfe56548f7728e4bc3a18add55071a (patch)
treebfe7a4bf1cf0bf815b5bb429a2341053a2462e4e /sysutils/puppet-lint
parent40a1fb361b770046934a3c0d00981770212c81bc (diff)
downloadports-8b5d06a2f3cfe56548f7728e4bc3a18add55071a.tar.gz
ports-8b5d06a2f3cfe56548f7728e4bc3a18add55071a.zip
- 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
Notes
Notes: svn path=/head/; revision=289790
Diffstat (limited to 'sysutils/puppet-lint')
-rw-r--r--sysutils/puppet-lint/.pkg-descr.swpbin0 -> 12288 bytes
-rw-r--r--sysutils/puppet-lint/Makefile21
-rw-r--r--sysutils/puppet-lint/distinfo2
-rw-r--r--sysutils/puppet-lint/pkg-descr13
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/puppet-lint/.pkg-descr.swp b/sysutils/puppet-lint/.pkg-descr.swp
new file mode 100644
index 000000000000..99eada0b3499
--- /dev/null
+++ b/sysutils/puppet-lint/.pkg-descr.swp
Binary files differ
diff --git a/sysutils/puppet-lint/Makefile b/sysutils/puppet-lint/Makefile
new file mode 100644
index 000000000000..55487bc65abc
--- /dev/null
+++ b/sysutils/puppet-lint/Makefile
@@ -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>
diff --git a/sysutils/puppet-lint/distinfo b/sysutils/puppet-lint/distinfo
new file mode 100644
index 000000000000..003bb13efb31
--- /dev/null
+++ b/sysutils/puppet-lint/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/puppet-lint-0.1.11.gem) = fed7e5bcf4066685288b315d41f11d18fa4e3d653be42e7650bd3c995951adc7
+SIZE (rubygem/puppet-lint-0.1.11.gem) = 16384
diff --git a/sysutils/puppet-lint/pkg-descr b/sysutils/puppet-lint/pkg-descr
new file mode 100644
index 000000000000..0744ad0b4a85
--- /dev/null
+++ b/sysutils/puppet-lint/pkg-descr
@@ -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