Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (4ebe31ab00deedde0f95a67291cb84996772f53f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (4ebe31ab00deedde0f95a67291cb84996772f53f)
  • Date: Fri, 4 Dec 2015 11:56:32 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
utils/puppet-lint/BUILD | 1 +
utils/puppet-lint/DEPENDS | 1 +
utils/puppet-lint/DETAILS | 17 +++++++++++++++++
utils/puppet-lint/HISTORY | 3 +++
utils/puppet-lint/PRE_BUILD | 4 ++++
utils/puppet-lint/install.patch | 26 ++++++++++++++++++++++++++
7 files changed, 56 insertions(+)

New commits:
commit 4ebe31ab00deedde0f95a67291cb84996772f53f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

puppet-lint: new spell, ensure your Puppet manifests conform with the
style guide

diff --git a/ChangeLog b/ChangeLog
index b11ef21..b7bca20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * utils/puppet-lint: new spell, ensure your Puppet manifests conform
+ with the style guide
+
2015-12-03 Treeve Jelbert <treeve AT sourcemage.org>
* science-libs/chemical-mime-data: added mime data for chemistry

diff --git a/utils/puppet-lint/BUILD b/utils/puppet-lint/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/utils/puppet-lint/BUILD
@@ -0,0 +1 @@
+true
diff --git a/utils/puppet-lint/DEPENDS b/utils/puppet-lint/DEPENDS
new file mode 100755
index 0000000..257635e
--- /dev/null
+++ b/utils/puppet-lint/DEPENDS
@@ -0,0 +1 @@
+depends RUBY
diff --git a/utils/puppet-lint/DETAILS b/utils/puppet-lint/DETAILS
new file mode 100755
index 0000000..f911027
--- /dev/null
+++ b/utils/puppet-lint/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=puppet-lint
+ VERSION=1.1.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/rodjek/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:6604d8dec0a3c48082deda7a96d18ea2ade5a3040ae2668b45540f8eb721d60539ae4e962da7f583837feb62b8c86e673c30a23cbd1f779ac7e8c5ea85de40dc
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://puppet-lint.com/
+ ENTERED=20151204
+ LICENSE[0]=RUBY
+ KEYWORDS="ruby devel"
+ SHORT="ensure your Puppet manifests conform with the style guide"
+cat << EOF
+The goal of this project is to implement as many of the recommended Puppet
+style guidelines from the Puppet Labs style guide as practical.
+
+It is not meant to validate syntax. Please use puppet parser validate for
that.
+EOF
diff --git a/utils/puppet-lint/HISTORY b/utils/puppet-lint/HISTORY
new file mode 100644
index 0000000..1402ea1
--- /dev/null
+++ b/utils/puppet-lint/HISTORY
@@ -0,0 +1,3 @@
+2015-12-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, install.patch: created spell,
version
+ 1.1.0
diff --git a/utils/puppet-lint/PRE_BUILD b/utils/puppet-lint/PRE_BUILD
new file mode 100755
index 0000000..d2d5ea9
--- /dev/null
+++ b/utils/puppet-lint/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/install.patch"
diff --git a/utils/puppet-lint/install.patch b/utils/puppet-lint/install.patch
new file mode 100644
index 0000000..4e90dae
--- /dev/null
+++ b/utils/puppet-lint/install.patch
@@ -0,0 +1,26 @@
+--- install.rb.orig 1970-01-01 03:00:00.000000000 +0300
++++ install.rb 2015-12-04 11:34:25.163356406 +0300
+@@ -0,0 +1,23 @@
++#!/usr/bin/env ruby
++
++require 'fileutils'
++include FileUtils::Verbose
++require 'rbconfig'
++include\
++ begin
++ RbConfig
++ rescue NameError
++ Config
++ end
++
++bindir = CONFIG["bindir"]
++sitelibdir = CONFIG["sitelibdir"]
++
++cd 'lib' do
++ install('puppet-lint.rb', sitelibdir, :mode => 0644, :verbose => true)
++ FileUtils.cp_r('puppet-lint', sitelibdir, :verbose => true)
++end
++
++FileUtils.install('bin/puppet-lint', bindir)
++
++warn " *** Installed puppet-lint."



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (4ebe31ab00deedde0f95a67291cb84996772f53f), Vlad Glagolev, 12/04/2015

Archive powered by MHonArc 2.6.24.

Top of Page