summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorGuojian Zhou <guojian.zhou@windriver.com>2015-08-19 22:56:10 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-08-20 13:38:48 -0400
commitbd7a3f804950ae454d025aa8773789441a63820c (patch)
treeaccc6e8bf6f8f14de6e771c0fed0564ba7004cb8 /meta-openstack
parent7c0b2edd50fb11c5e8ea86b533d7caea50cf3d6d (diff)
downloadmeta-cloud-services-bd7a3f804950ae454d025aa8773789441a63820c.tar.gz
Add the ruby-shadow recipe for the puppet tool
The puppet could not add or change the user's password automatically, because the puppet tool requires the "libshadow" to implement this feature. Failure information without the "libshadow" feature: ================================================================== Debug: /User[username]: Provider useradd does not support features manages_passwords; not managing attribute password 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')
-rw-r--r--meta-openstack/recipes-support/puppet/puppet_3.7.3.bb1
-rw-r--r--meta-openstack/recipes-support/ruby-shadow/ruby-shadow_git.bb23
2 files changed, 24 insertions, 0 deletions
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 f201a7b..c1743e6 100644
--- a/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb
+++ b/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb
@@ -23,6 +23,7 @@ RDEPENDS_${PN} += " \
23 ruby \ 23 ruby \
24 facter \ 24 facter \
25 hiera \ 25 hiera \
26 ruby-shadow \
26" 27"
27 28
28RUBY_INSTALL_GEMS = "puppet-${PV}.gem" 29RUBY_INSTALL_GEMS = "puppet-${PV}.gem"
diff --git a/meta-openstack/recipes-support/ruby-shadow/ruby-shadow_git.bb b/meta-openstack/recipes-support/ruby-shadow/ruby-shadow_git.bb
new file mode 100644
index 0000000..72be016
--- /dev/null
+++ b/meta-openstack/recipes-support/ruby-shadow/ruby-shadow_git.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Shadow Password Module"
2HOMEPAGE = "https://github.com/apalmblad/ruby-shadow"
3LICENSE = "PD"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=137882914e5269b7268f0fe8e28a3f89"
5
6PV = "2.4.1"
7
8SRC_URI = "git://github.com/apalmblad/ruby-shadow.git"
9SRCREV = "4231a4838fd50022b112838f114ee0586e119605"
10S = "${WORKDIR}/git"
11
12inherit ruby
13
14DEPENDS += " \
15 ruby \
16"
17
18RDEPENDS_${PN} += " \
19 ruby \
20"
21
22RUBY_INSTALL_GEMS = "ruby-shadow-${PV}.gem"
23FILES_${PN}-dbg += "/usr/lib64/ruby/gems/*/gems/ruby-shadow-${PV}/.debug/shadow.so"