[mirror] Solved PRD-232 (do not download source files if they have been already downloaded)
This commit is contained in:
parent
9bbf3d1ccf
commit
37d753db5e
@ -238,11 +238,13 @@ else
|
||||
SRC_URLS:=$(shell grep -v ^\\s*\# requirements-src.txt | sed "s=.*/\(.*\)=$(MIRROR_URL)/src/\1=")
|
||||
endif
|
||||
|
||||
$/src.done:
|
||||
@mkdir -p $/src
|
||||
wget --no-use-server-timestamps -c -P $/src $(SRC_URLS)
|
||||
$/src.done: | $(addprefix $/src/, $(notdir $(SRC_URLS)))
|
||||
$(ACTION.TOUCH)
|
||||
|
||||
$(addprefix $/src/, $(notdir $(SRC_URLS))):
|
||||
@mkdir -p $/src
|
||||
wget --no-use-server-timestamps -c -P $/src $@
|
||||
|
||||
$/gems-bundle.done: $/gems-bundle-gemfile.done
|
||||
( cd $/gems-bundle && bundle install --path ./ && bundle package )
|
||||
( cd $/gems-bundle/vendor/cache/ && gem fetch -v 1.2.1 bundler )
|
||||
|
@ -1,2 +0,0 @@
|
||||
default[:head_key][:nested_key] = "value"
|
||||
default[:service][:password] = "password" # Let's use this for password generation check
|
@ -1,9 +0,0 @@
|
||||
maintainer "Mirantis, Inc."
|
||||
maintainer_email "product@mirantis.com"
|
||||
license "Apache 2.0"
|
||||
description "Cookbook for testing purposes"
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version "0.3.0"
|
||||
name "sample-cook"
|
||||
|
||||
#depends "apt"
|
@ -1,2 +0,0 @@
|
||||
# depends: "sample-cook::default@0.3.0"
|
||||
File.open('/tmp/chef_success', 'a') {|f| f.puts("compute") }
|
@ -1,2 +0,0 @@
|
||||
# depends: "sample-cook::monitor@0.3.0"
|
||||
File.open('/tmp/chef_success', 'a') {|f| f.puts("default") }
|
@ -1 +0,0 @@
|
||||
File.open('/tmp/chef_success', 'a') {|f| f.puts("monitor") }
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"name": "Sample release",
|
||||
"version": "1.0.0",
|
||||
"description": "Description for Release",
|
||||
"networks_metadata": [
|
||||
{"name": "floating", "access": "public"},
|
||||
{"name": "management", "access": "private10"},
|
||||
{"name": "storage", "access": "private172"}
|
||||
],
|
||||
"attributes_metadata": {
|
||||
"editable": {
|
||||
"keystone": {
|
||||
"admin_tenant": "admin"
|
||||
}
|
||||
},
|
||||
"generated": {
|
||||
"mysql": {
|
||||
"root_password": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"recipes": [ "nailgun::deps", "devops::deps" ],
|
||||
"mysql": {
|
||||
"server_root_password": "ololo"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
# To run chef-solo from this folder use the following command:
|
||||
# sudo chef-solo -l debug -c solo.rb -j solo.json
|
||||
#require 'syslog_logger'
|
||||
|
||||
#log_location SyslogLogger.new("chef-solo")
|
||||
log_location open("| logger -t chef-solo", "w")
|
||||
|
||||
file_cache_path "/tmp/chef"
|
||||
cookbook_path File.expand_path(File.join(File.dirname(__FILE__), '../../vagrant/cookbooks'))
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"name": "OpenStack Essex Release",
|
||||
"version": "0.1.0",
|
||||
"description": "Alpha release",
|
||||
"networks_metadata": [
|
||||
{"name": "floating", "access": "public"},
|
||||
{"name": "public", "access": "public"},
|
||||
{"name": "management", "access": "private10"},
|
||||
{"name": "storage", "access": "private172"}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user