aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/chef/chef_git.bb
blob: 8a3258465e197f3774344ae2857e44ab653380ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# Copyright (C) 2014 Wind River Systems, Inc.
#
SUMMARY = "Supports the deployment of OpenStack nodes"
DESCRIPTION = "Use chef-solo to help reconfigure and deployment of controller \
and compute nodes. Install script downloaded from this link \
(https://www.opscode.com/chef/install.sh) and the attached archives created from it."

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"

PR = "r0"

BPV = "12.4.1"
PV = "${BPV}"
SRCREV = "1dc20627aa5d742376269dc5b4d5c67f34d08008"

S = "${WORKDIR}/git"

SRC_URI = " \
    git://github.com/opscode/chef.git;branch=12.4-stable \
    file://0001-chang-ksh-to-sh.patch \
    "

inherit ruby

DEPENDS += " \
        ruby-native \
        pry-native \
        yard-native \
        bundler-native \
        "

RDEPENDS:${PN} += " \
        ruby \
        chef-zero \
        coderay \
        diff-lcs \
        erubis \
        hashie \
        highline \
        ipaddress \
        json \
        method-source \
        mime-types \
        mixlib-authentication \
        mixlib-cli \
        mixlib-config \
        mixlib-log \
        mixlib-shellout \
        net-ssh \
        net-ssh-gateway \
        net-ssh-multi \
        ohai \
        pry \
        rack \
        rest-client \
        slop \
        systemu \
        yajl-ruby \
        make \
        bash \
        "

RUBY_INSTALL_GEMS = "pkg/chef-${BPV}.gem"

FILES:${PN} += "${libdir}/ruby/gems/2.2.0/build_info"
FILES:${PN} += "${libdir}/ruby/gems/2.2.0/extensions"

do_install:prepend() {
	rake gem
}