aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/facter
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-08-19 22:56:11 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-08-20 13:38:48 -0400
commit1aa30310259027ebb87ee95ef914ca3de55d6a09 (patch)
tree72a940aacd777a4512771abddcd30637c29b57b7 /recipes-support/facter
parentbd7a3f804950ae454d025aa8773789441a63820c (diff)
downloadmeta-cloud-services-1aa30310259027ebb87ee95ef914ca3de55d6a09.tar.gz
meta-cloud-services-1aa30310259027ebb87ee95ef914ca3de55d6a09.tar.bz2
meta-cloud-services-1aa30310259027ebb87ee95ef914ca3de55d6a09.zip
puppet: move to base layer
Puppet can be used by many 'cloud services', it is not openstack specific, so moving puppet and puppet related recipes to the meta-cloud-services base layer. This allows either internal sub-layers found in meta-cloud-services or external layers to include meta-cloud-services without being burdened by bbappends and configs found in meta-openstack. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-support/facter')
-rw-r--r--recipes-support/facter/facter/add_facter_gemspec.patch23
-rw-r--r--recipes-support/facter/facter_2.3.0.bb19
2 files changed, 42 insertions, 0 deletions
diff --git a/recipes-support/facter/facter/add_facter_gemspec.patch b/recipes-support/facter/facter/add_facter_gemspec.patch
new file mode 100644
index 0000000..a5095cb
--- /dev/null
+++ b/recipes-support/facter/facter/add_facter_gemspec.patch
@@ -0,0 +1,23 @@
+diff -urN facter-2.3.0_ori/facter.gemspec facter-2.3.0/facter.gemspec
+--- facter-2.3.0_ori/facter.gemspec 1970-01-01 08:00:00.000000000 +0800
++++ facter-2.3.0/facter.gemspec 2014-11-12 14:30:07.000000000 +0800
+@@ -0,0 +1,19 @@
++$:.unshift(File.dirname(__FILE__) + '/lib')
++require 'facter/version'
++
++Gem::Specification.new do |s|
++ s.name = 'facter'
++ s.version = Facter::FACTERVERSION
++ s.platform = Gem::Platform::RUBY
++ s.summary = 'Facter gathers basic facts about nodes (systems)'
++ s.description = s.summary
++ s.author = 'Yang Haibo'
++ s.email = 'b40869@freescale.com'
++ s.homepage = 'http://puppetlabs.com/facter'
++ s.license = 'Apache 2.0'
++
++ s.bindir = 'bin'
++ s.executables = ['facter']
++ s.require_path = 'lib'
++ s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*')
++end
diff --git a/recipes-support/facter/facter_2.3.0.bb b/recipes-support/facter/facter_2.3.0.bb
new file mode 100644
index 0000000..b5a46e7
--- /dev/null
+++ b/recipes-support/facter/facter_2.3.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Facter gathers basic facts about nodes (systems)"
+HOMEPAGE = "http://puppetlabs.com/facter"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ce69a88023d6f6ab282865ddef9f1e41"
+
+SRC_URI = " \
+ http://downloads.puppetlabs.com/facter/facter-${PV}.tar.gz \
+ file://add_facter_gemspec.patch \
+"
+SRC_URI[md5sum] = "7bb6dbeaef86cd79300b4723c06932bc"
+SRC_URI[sha256sum] = "a91ea915b276172e002a8670684e5c6be7df1dfdd55db6937d27fffad70c5e51"
+
+inherit ruby
+
+DEPENDS += " \
+ ruby \
+"
+
+RUBY_INSTALL_GEMS = "facter-${PV}.gem"