[meta-virtualization] [PATCH] Added Yocto recipe for Puppet 4.10.9

Bruce Ashfield bruce.ashfield at gmail.com
Mon Feb 5 17:34:31 PST 2018


Hi Pablo,

Thanks for the submission .. but I do have a few questions.

How does this compare to the other recipes for puppet ? In particular
the one in meta-cloud-services, since I'm familiar with it.

How has this been tested ? We used to use puppet and chef in
meta-cloud-services, so I'd like to log how this has been used as part
of the commit.

Summary: I'm happy to merge this, I just want to document how it
should be used (so I can know if it breaks) and make sure that it is
in the right place (so I can delete any other recipes).

Cheers,

Bruce

On Mon, Feb 5, 2018 at 12:13 PM, Pablo Saavedra <psaavedra at igalia.com> wrote:
> 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] = "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
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list