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 0000000..c1743e6 --- /dev/null +++ b/recipes-support/puppet/puppet_3.7.3.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | SUMMARY = "Open source Puppet is a configuration management system" | ||
2 | HOMEPAGE = "https://puppetlabs.com/puppet/puppet-open-source" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f257790c70561550fd666c6e0044fd89" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | https://downloads.puppetlabs.com/puppet/puppet-${PV}.tar.gz \ | ||
8 | file://add_puppet_gemspec.patch \ | ||
9 | file://puppet.conf \ | ||
10 | " | ||
11 | SRC_URI[md5sum] = "cc294da1d51df07bcc7f6cf78bd90ce0" | ||
12 | SRC_URI[sha256sum] = "4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637" | ||
13 | |||
14 | inherit ruby | ||
15 | |||
16 | DEPENDS += " \ | ||
17 | ruby \ | ||
18 | facter \ | ||
19 | hiera \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS_${PN} += " \ | ||
23 | ruby \ | ||
24 | facter \ | ||
25 | hiera \ | ||
26 | ruby-shadow \ | ||
27 | " | ||
28 | |||
29 | RUBY_INSTALL_GEMS = "puppet-${PV}.gem" | ||
30 | |||
31 | do_install_append() { | ||
32 | install -d ${D}${sysconfdir}/puppet | ||
33 | install -d ${D}${sysconfdir}/puppet/manifests | ||
34 | install -d ${D}${sysconfdir}/puppet/modules | ||
35 | |||
36 | install -m 655 ${S}/conf/auth.conf ${D}${sysconfdir}/puppet/ | ||
37 | install -m 655 ${S}/conf/fileserver.conf ${D}${sysconfdir}/puppet/ | ||
38 | install -m 655 ${S}/conf/tagmail.conf ${D}${sysconfdir}/puppet/ | ||
39 | install -m 655 ${WORKDIR}/puppet.conf ${D}${sysconfdir}/puppet/ | ||
40 | } | ||