[OE-core] [PATCH] puppet: add recipe for puppet 4.10.9

Burton, Ross ross.burton at intel.com
Mon Nov 27 11:05:14 UTC 2017


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

On 27 November 2017 at 10:35, Pablo Saavedra <psaavedra at igalia.com> wrote:

> Added Yocto recipe for Puppet 4.10.9
>
> Signed-off-by: Pablo Saavedra <psaavedra at igalia.com>
> ---
>  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] = "e667bd825e54bbc38c30534c25adc4
> 41ed638fc484fe0abe278f0335770cd161"
> +
> +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
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171127/f8eb9dc5/attachment-0002.html>


More information about the Openembedded-core mailing list