Switched to the public apt repo and loads the dev apt packages.

This commit is contained in:
Tim Kuhlman 2014-02-18 13:51:05 -07:00
parent 2d20887a8e
commit eec02a51cf
4 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,3 @@
cookbook 'apt', git: 'https://git.hpcloud.net/kuhlmant/apt'
metadata
cookbook 'hostsfile', '= 1.0.1'
cookbook 'zookeeper', git: 'https://git.hpcloud.net/mon/cookbooks-zookeeper'

7
metadata.rb Normal file
View File

@ -0,0 +1,7 @@
maintainer "SOM Team"
maintainer_email "hpcs-mon@hp.com"
license "All rights reserved"
description "Base setup for all vagrant boxes"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.0.1"
depends "apt"

25
recipes/default.rb Normal file
View File

@ -0,0 +1,25 @@
# Common setup for all vagrant boxes
apt_repository 'foundation' do
uri 'http://packages.dev.uswest.hpcloud.net/cloud/foundation'
arch 'amd64'
distribution node['lsb']['codename']
components ['main', 'restricted', 'universe', 'multiverse']
key 'http://packages.dev.uswest.hpcloud.net/cloud/som/developer/hpcs.gpg'
end
apt_repository 'foundation-updates' do
uri 'http://packages.dev.uswest.hpcloud.net/cloud/foundation'
arch 'amd64'
distribution "#{node['lsb']['codename']}-updates/snapshots/rc20140129"
components ['main', 'restricted', 'universe', 'multiverse']
key 'http://packages.dev.uswest.hpcloud.net/cloud/som/developer/hpcs.gpg'
end
apt_repository 'dev' do
uri 'http://packages.dev.uswest.hpcloud.net/cloud/som/developer'
arch 'amd64'
distribution node['lsb']['codename']
components ['release']
key 'http://packages.dev.uswest.hpcloud.net/cloud/som/developer/hpcs.gpg'
end

View File

@ -8,7 +8,7 @@
},
"chef_type": "role",
"run_list": [
"recipe[apt]"
"recipe[mini-mon]"
],
"env_run_lists": {
}