X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Fpuppet-barbican_git.bb;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Fpuppet-barbican_git.bb;h=a201e0a1911e9a25fa81eb4a73286caea65fa859;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/puppet-barbican_git.bb b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/puppet-barbican_git.bb new file mode 100644 index 0000000..a201e0a --- /dev/null +++ b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/puppet-barbican_git.bb @@ -0,0 +1,42 @@ + +SUMMARY = "Puppet module for OpenStack Barbican" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fce88ac1cd1315adf28a52502c9f7f6b" + +RDEPENDS_${PN} += " \ + puppetlabs-inifile \ + " + +PV = "11.3.0" +SRCREV = "8241a1d13be6c3ee6344fa46dcfc045439044e76" +PROTOCOL = "https" +BRANCH = "stable/pike" +S = "${WORKDIR}/git" + +SRC_URI = "git://github.com/openstack/puppet-barbican.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH} \ + file://puppet-barbican/Add-gemspec.patch \ + " + +inherit ruby + +DEPENDS += " \ + ruby \ + facter \ + " + +RDEPENDS_${PN} += " \ + ruby \ + facter \ + puppet \ + perl \ + " + +RUBY_INSTALL_GEMS = "puppet-barbican-${PV}.gem" + +do_install_append() { + install -d -m 0755 ${D}/${datadir}/puppet/modules/barbican + tar -C ${S} -cf - --exclude "patches" --exclude "*.gem*" . | tar --no-same-owner -xf - -C ${D}/${datadir}/puppet/modules/barbican +} + +FILES_${PN} += " ${datadir}"