diff options
author | Guojian Zhou <guojian.zhou@windriver.com> | 2015-08-19 22:56:09 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-08-20 13:38:48 -0400 |
commit | 7c0b2edd50fb11c5e8ea86b533d7caea50cf3d6d (patch) | |
tree | 67535434534db733225e38766cd259d43acc4ba1 /meta-openstack/recipes-support | |
parent | 2d9ff69171031ccf0059c60ca11979291f367918 (diff) | |
download | meta-cloud-services-7c0b2edd50fb11c5e8ea86b533d7caea50cf3d6d.tar.gz |
Add the puppet.conf for the puppet agent
The puppet agent requires the /etc/puppet/puppet.conf.
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-support')
-rw-r--r-- | meta-openstack/recipes-support/puppet/puppet/puppet.conf | 9 | ||||
-rw-r--r-- | meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-openstack/recipes-support/puppet/puppet/puppet.conf b/meta-openstack/recipes-support/puppet/puppet/puppet.conf new file mode 100644 index 0000000..efe143c --- /dev/null +++ b/meta-openstack/recipes-support/puppet/puppet/puppet.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | [main] | ||
2 | logdir=/var/log/puppet | ||
3 | vardir=/var/lib/puppet | ||
4 | ssldir=/var/lib/puppet/ssl | ||
5 | rundir=/var/run/puppet | ||
6 | factpath=$vardir/lib/facter | ||
7 | |||
8 | [agent] | ||
9 | server=puppet-server | ||
diff --git a/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb b/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb index 22376cf..f201a7b 100644 --- a/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb +++ b/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f257790c70561550fd666c6e0044fd89" | |||
6 | SRC_URI = " \ | 6 | SRC_URI = " \ |
7 | https://downloads.puppetlabs.com/puppet/puppet-${PV}.tar.gz \ | 7 | https://downloads.puppetlabs.com/puppet/puppet-${PV}.tar.gz \ |
8 | file://add_puppet_gemspec.patch \ | 8 | file://add_puppet_gemspec.patch \ |
9 | file://puppet.conf \ | ||
9 | " | 10 | " |
10 | SRC_URI[md5sum] = "cc294da1d51df07bcc7f6cf78bd90ce0" | 11 | SRC_URI[md5sum] = "cc294da1d51df07bcc7f6cf78bd90ce0" |
11 | SRC_URI[sha256sum] = "4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637" | 12 | SRC_URI[sha256sum] = "4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637" |
@@ -34,4 +35,5 @@ do_install_append() { | |||
34 | install -m 655 ${S}/conf/auth.conf ${D}${sysconfdir}/puppet/ | 35 | install -m 655 ${S}/conf/auth.conf ${D}${sysconfdir}/puppet/ |
35 | install -m 655 ${S}/conf/fileserver.conf ${D}${sysconfdir}/puppet/ | 36 | install -m 655 ${S}/conf/fileserver.conf ${D}${sysconfdir}/puppet/ |
36 | install -m 655 ${S}/conf/tagmail.conf ${D}${sysconfdir}/puppet/ | 37 | install -m 655 ${S}/conf/tagmail.conf ${D}${sysconfdir}/puppet/ |
38 | install -m 655 ${WORKDIR}/puppet.conf ${D}${sysconfdir}/puppet/ | ||
37 | } | 39 | } |