Sha256: 5acc30d0582aa5e5655e062fd7bfe5ceec7f8a774ccbd89822a6ceed6070abd8

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

#
# Copyright:: Copyright (c) 2012-2014 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name 'erchef'
default_version '4b19a96d57bff9bbf4764d7323b92a0944009b9e'

dependency 'erlang'
dependency 'rsync'
dependency 'curl'

source git: 'git://github.com/opscode/erchef'

relative_path 'erchef'

env = {
  'PATH' => "#{install_dir}/embedded/bin:#{ENV["PATH"]}",
  'LDFLAGS' => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include",
  'CFLAGS' => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include",
  'LD_RUN_PATH' => "#{install_dir}/embedded/lib",
}

build do
  command 'make distclean', env: env
  command 'make rel', env: env
  command "mkdir -p #{install_dir}/embedded/service/erchef"
  command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./rel/erchef/ #{install_dir}/embedded/service/erchef/"
  command "rm -rf #{install_dir}/embedded/service/erchef/log"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-3.2.2 spec/data/software/erchef.rb
omnibus-3.2.1 spec/data/software/erchef.rb
omnibus-3.2.0 spec/data/software/erchef.rb
omnibus-3.2.0.rc.3 spec/data/software/erchef.rb
omnibus-3.2.0.rc.2 spec/data/software/erchef.rb
omnibus-3.2.0.rc.1 spec/data/software/erchef.rb