Skip to contentSkip to conversation

puppet: add recipe for puppet 4.10.9

PATCH In review Pablo Saavedra 3 participants 4 messages Nov 27, 2017 – Feb 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 puppet: add recipe for puppet 4.10.9

Added Yocto recipe for Puppet 4.10.9

---
 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
recipes-support/puppet/puppet_4.10.9.bb new file +41 -0
new file mode 100644
index 0000000..a335546
@@ -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/
+}
Signature · 1 line
2.11.0
#1 lore raw

A puppet recipe is great, but it doesn't belong in oe-core. Maybe one of the layers in meta-openembedded would be better.

Ross

Quoted 67 lines · Pablo Saavedra

Added Yocto recipe for Puppet 4.10.9

---
 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
recipes-support/puppet/puppet_4.10.9.bb new file +12 -0
new file mode 100644
index 0000000..a335546
@@ -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] = "e667bd825e54bbc38c30534c25adc4

41ed638fc484fe0abe278f0335770cd161"

recipes-support/puppet/puppet_4.10.9.bb new file +29 -1
+
+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

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
In reply to Pablo Saavedra
Quoted 18 lines · Pablo Saavedra

Added Yocto recipe for Puppet 4.10.9

---
  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

recipes-support/puppet/puppet_4.10.9.bb new file +4 -0
new file mode 100644
index 0000000..a335546
@@ -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"

recipes-support/puppet/puppet_4.10.9.bb line 14

Quoted 10 lines
recipes-support/puppet/puppet_4.10.9.bb new file +10 -0
+
+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

which layer is ruby.bbclass coming from ?

Quoted 28 lines
recipes-support/puppet/puppet_4.10.9.bb new file +27 -0
+
+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/
+}
#3 lore raw
Quoted 24 lines · Pablo Saavedra
Quoted 21 lines

Added Yocto recipe for Puppet 4.10.9

---
  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

recipes-support/puppet/puppet_4.10.9.bb new file +7 -0
new file mode 100644
index 0000000..a335546
@@ -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 \
Quoted 8 lines

recipes-support/puppet/puppet_4.10.9.bb line 14

Quoted 7 lines
recipes-support/puppet/puppet_4.10.9.bb new file +7 -0
+    file://add_puppet_gemspec.patch \
+    file://puppet.conf \
+"
+SRC_URI[md5sum] = "8af3c2fec5dc4683d80aab4efc1614c6"
+SRC_URI[sha256sum] = "e667bd825e54bbc38c30534c25adc441ed638fc484fe0abe278f0335770cd161"
+
+inherit ruby

which layer is ruby.bbclass coming from ?

meta-cloud-services/classes/ruby.bbclass into the meta-cloud-services layer

Sorry, I guess this this patch should be sent against [email protected]