All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Mark Asselstine <mark.asselstine@windriver.com>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [m-c-s][PATCH 1/2] puppet: add puppetlabs stdlib module
Date: Mon, 11 Jan 2016 09:33:57 -0500	[thread overview]
Message-ID: <5693BD55.6060107@windriver.com> (raw)
In-Reply-To: <1452366255-8937-1-git-send-email-mark.asselstine@windriver.com>

On 16-01-09 02:04 PM, Mark Asselstine wrote:
> This module is used by many puppet modules so will be useful to have
> to extend our puppet capabilities. Additionally it offers some useful
> functionality such as the ability to append to a file.

merged to master.

Bruce

>
> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> ---
>   .../puppetlabs-stdlib/files/Add-gemspec.patch      | 35 ++++++++++++++++++++++
>   .../puppetlabs-stdlib/puppetlabs-stdlib_git.bb     | 29 ++++++++++++++++++
>   2 files changed, 64 insertions(+)
>   create mode 100644 recipes-support/puppetlabs-stdlib/files/Add-gemspec.patch
>   create mode 100644 recipes-support/puppetlabs-stdlib/puppetlabs-stdlib_git.bb
>
> diff --git a/recipes-support/puppetlabs-stdlib/files/Add-gemspec.patch b/recipes-support/puppetlabs-stdlib/files/Add-gemspec.patch
> new file mode 100644
> index 0000000..d959aeb
> --- /dev/null
> +++ b/recipes-support/puppetlabs-stdlib/files/Add-gemspec.patch
> @@ -0,0 +1,35 @@
> +From e23971fcc1425e06a11484e552fbc631c43f44d4 Mon Sep 17 00:00:00 2001
> +From: Mark Asselstine <mark.asselstine@windriver.com>
> +Date: Tue, 22 Dec 2015 11:05:22 -0500
> +Subject: [PATCH] Add gemspec
> +
> +Started with an example from here
> +http://guides.rubygems.org/make-your-own-gem/
> +
> +Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> +---
> + puppetlabs-stdlib.gemspec | 12 ++++++++++++
> + 1 file changed, 12 insertions(+)
> + create mode 100644 puppetlabs-stdlib.gemspec
> +
> +diff --git a/puppetlabs-stdlib.gemspec b/puppetlabs-stdlib.gemspec
> +new file mode 100644
> +index 0000000..6b7eee3
> +--- /dev/null
> ++++ b/puppetlabs-stdlib.gemspec
> +@@ -0,0 +1,12 @@
> ++Gem::Specification.new do |s|
> ++  s.name        = 'puppetlabs-stdlib'
> ++  s.version     = '4.10.0'
> ++  s.date        = '2015-12-15'
> ++  s.summary     = "Puppet Labs Standard Library module"
> ++  s.description = s.summary
> ++  s.authors     = ["Puppet Labs"]
> ++  s.email       = ''
> ++  s.files       = %w(LICENSE README.markdown Rakefile) + Dir.glob('{lib,spec}/**/*')
> ++  s.homepage    = 'https://github.com/puppetlabs/puppetlabs-stdlib'
> ++  s.license     = 'Apache 2.0'
> ++end
> +--
> +2.1.4
> +
> diff --git a/recipes-support/puppetlabs-stdlib/puppetlabs-stdlib_git.bb b/recipes-support/puppetlabs-stdlib/puppetlabs-stdlib_git.bb
> new file mode 100644
> index 0000000..2d3d9c2
> --- /dev/null
> +++ b/recipes-support/puppetlabs-stdlib/puppetlabs-stdlib_git.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "Puppet Labs Standard Library module"
> +HOMEPAGE = "https://github.com/puppetlabs/puppetlabs-stdlib"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=38a048b9d82e713d4e1b2573e370a756"
> +
> +PV = "4.10.0"
> +SRCREV = "0b4822be3d2242e83c28ab7fed6c5817adc322d5"
> +
> +SRC_URI = " \
> +    git://github.com/puppetlabs/puppetlabs-stdlib.git;branch=master \
> +    file://Add-gemspec.patch \
> +"
> +
> +inherit ruby
> +
> +S="${WORKDIR}/git"
> +
> +DEPENDS += " \
> +        ruby \
> +        facter \
> +"
> +
> +RDEPENDS_${PN} += " \
> +        ruby \
> +        facter \
> +        puppet \
> +"
> +
> +RUBY_INSTALL_GEMS = "puppetlabs-stdlib-${PV}.gem"
>



      parent reply	other threads:[~2016-01-11 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-09 19:04 [m-c-s][PATCH 1/2] puppet: add puppetlabs stdlib module Mark Asselstine
2016-01-09 19:04 ` [m-c-s][PATCH 2/2] puppet: add new recipe for puppet-vswitch module Mark Asselstine
2016-01-11 14:33 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5693BD55.6060107@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=mark.asselstine@windriver.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.