diff options
Diffstat (limited to 'recipes-support/puppet/puppet_3.7.3.bb')
-rw-r--r-- | recipes-support/puppet/puppet_3.7.3.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-support/puppet/puppet_3.7.3.bb b/recipes-support/puppet/puppet_3.7.3.bb new file mode 100644 index 00000000..c1743e6e --- /dev/null +++ b/recipes-support/puppet/puppet_3.7.3.bb @@ -0,0 +1,40 @@ +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=f257790c70561550fd666c6e0044fd89" + +SRC_URI = " \ + https://downloads.puppetlabs.com/puppet/puppet-${PV}.tar.gz \ + file://add_puppet_gemspec.patch \ + file://puppet.conf \ +" +SRC_URI[md5sum] = "cc294da1d51df07bcc7f6cf78bd90ce0" +SRC_URI[sha256sum] = "4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637" + +inherit ruby + +DEPENDS += " \ + ruby \ + facter \ + hiera \ +" + +RDEPENDS_${PN} += " \ + ruby \ + facter \ + hiera \ + ruby-shadow \ +" + +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/tagmail.conf ${D}${sysconfdir}/puppet/ + install -m 655 ${WORKDIR}/puppet.conf ${D}${sysconfdir}/puppet/ +} |