Signed-off-by: Pablo Saavedra <[email protected]> --- recipes-support/puppet/puppet_4.10.9.bb | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes-support/puppet/puppet_4.10.9.bb
diff --git a/recipes-support/puppet/puppet_4.10.9.bb b/recipes-support/puppet/puppet_4.10.9.bb new file mode 100644 index 0000000..a335546 --- /dev/null +++ b/recipes-support/puppet/puppet_4.10.9.bb @@ -0,0 +1,41 @@ +SUMMARY = "Open source Puppet is a configuration management system" +HOMEPAGE = "https://puppetlabs.com/puppet/puppet-open-source" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7c9045ec00cc0d6b6e0e09ee811da4a0" + +SRC_URI = " \ + https://downloads.puppetlabs.com/puppet/puppet-${PV}.tar.gz \ + file://add_puppet_gemspec.patch \ + file://puppet.conf \ +" +SRC_URI[md5sum] = "8af3c2fec5dc4683d80aab4efc1614c6" +SRC_URI[sha256sum] = "e667bd825e54bbc38c30534c25adc441ed638fc484fe0abe278f0335770cd161" + +inherit ruby + +DEPENDS += " \ + ruby \ + facter \ + hiera \ +" + +RDEPENDS_${PN} += " \ + ruby \ + facter \ + hiera \ + ruby-shadow \ + bash \ +" + +RUBY_INSTALL_GEMS = "puppet-${PV}.gem" + +do_install_append() { + install -d ${D}${sysconfdir}/puppet + install -d ${D}${sysconfdir}/puppet/manifests + install -d ${D}${sysconfdir}/puppet/modules + + install -m 655 ${S}/conf/auth.conf ${D}${sysconfdir}/puppet/ + install -m 655 ${S}/conf/fileserver.conf ${D}${sysconfdir}/puppet/ + install -m 655 ${S}/conf/environment.conf ${D}${sysconfdir}/puppet/ + install -m 655 ${WORKDIR}/puppet.conf ${D}${sysconfdir}/puppet/ +} -- 2.11.0 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
