summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2024-10-12 01:37:14 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-10-12 01:37:14 +0000
commit9dd2c1df9cc4dc5486e6c2bdd5555a98fc6af8d4 (patch)
tree4e7fa3f5a4c93bd84e9ee355e4812ce469f972ae
parent4c85c6d55a3d1682464735bf427ffc78723d1ed0 (diff)
downloadmeta-cloud-services-9dd2c1df9cc4dc5486e6c2bdd5555a98fc6af8d4.tar.gz
puppet-vswitch: update to v21.1.0
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-support/puppet-vswitch/files/Add-gemspec.patch35
-rw-r--r--recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec13
-rw-r--r--recipes-support/puppet-vswitch/puppet-vswitch_git.bb11
3 files changed, 20 insertions, 39 deletions
diff --git a/recipes-support/puppet-vswitch/files/Add-gemspec.patch b/recipes-support/puppet-vswitch/files/Add-gemspec.patch
deleted file mode 100644
index 2216c3b..0000000
--- a/recipes-support/puppet-vswitch/files/Add-gemspec.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 66ffd1621d30b3fe9ccbc0a7d21319b351833afb Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Thu, 17 Dec 2015 14:06:18 -0500
4Subject: [PATCH] Add gemspec
5
6Started with an example from here
7http://guides.rubygems.org/make-your-own-gem/
8
9Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
10---
11 puppet-vswitch.gemspec | 12 ++++++++++++
12 1 file changed, 12 insertions(+)
13 create mode 100644 puppet-vswitch.gemspec
14
15diff --git a/puppet-vswitch.gemspec b/puppet-vswitch.gemspec
16new file mode 100644
17index 0000000..eb4c44e
18--- /dev/null
19+++ b/puppet-vswitch.gemspec
20@@ -0,0 +1,12 @@
21+Gem::Specification.new do |s|
22+ s.name = 'puppet-vswitch'
23+ s.version = '3.0.0'
24+ s.date = '2015-11-27'
25+ s.summary = "Puppet provider for virtual switches."
26+ s.description = s.summary
27+ s.authors = ["Puppet Labs"]
28+ s.email = ''
29+ s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*')
30+ s.homepage = 'https://github.com/openstack/puppet-vswitch'
31+ s.license = 'Apache 2.0'
32+end
33--
342.1.4
35
diff --git a/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec b/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec
new file mode 100644
index 0000000..63f3358
--- /dev/null
+++ b/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec
@@ -0,0 +1,13 @@
1Gem::Specification.new do |s|
2 s.name = 'puppet-vswitch'
3 s.version = '3.0.0'
4 s.date = '2015-11-27'
5 s.summary = "Puppet provider for virtual switches."
6 s.description = s.summary
7 s.authors = ["Puppet Labs"]
8 s.email = ''
9 s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*')
10 s.homepage = 'https://github.com/openstack/puppet-vswitch'
11 s.license = 'Apache 2.0'
12end
13
diff --git a/recipes-support/puppet-vswitch/puppet-vswitch_git.bb b/recipes-support/puppet-vswitch/puppet-vswitch_git.bb
index 14c2dd7..a600466 100644
--- a/recipes-support/puppet-vswitch/puppet-vswitch_git.bb
+++ b/recipes-support/puppet-vswitch/puppet-vswitch_git.bb
@@ -3,15 +3,18 @@ HOMEPAGE = "https://github.com/openstack/puppet-vswitch"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
5 5
6PV = "3.0.0" 6PV = "21.1.0"
7SRCREV = "c374840910c823f7669cf2e1229c7df7192ae880" 7SRCREV = "43ee6e8d174c2748376f5e166a25c7143747b3b9"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 git://github.com/openstack/puppet-vswitch.git;branch=master;protocol=https \ 10 git://github.com/openstack/puppet-vswitch.git;branch=master;protocol=https \
11 file://Add-gemspec.patch \ 11 file://puppet-vswitch.gemspec \
12" 12"
13 13
14inherit ruby 14inherit rubyv2
15
16GEM_NAME = "puppetlabs-std"
17GEM_SPEC_FILE = "puppet-vswitch.gemspec"
15 18
16S="${WORKDIR}/git" 19S="${WORKDIR}/git"
17 20