Permalink
Browse files

added puppet dependency yum repo to centos image

  • Loading branch information...
1 parent 2632892 commit 97edb9c1b63eeacac78cd675392d707ebec7b781 @exceedhl committed May 16, 2012
Showing with 24 additions and 19 deletions.
  1. +13 −15 Gemfile.lock
  2. +3 −3 Vagrantfile
  3. +1 −1 features/support/env.rb
  4. +7 −0 scripts/bin/share/lxc-create-centos-image
View
@@ -16,13 +16,12 @@ GEM
json
childprocess (0.3.2)
ffi (~> 1.0.6)
- clamp (0.3.1)
- cucumber (1.1.9)
+ clamp (0.4.0)
+ cucumber (1.2.0)
builder (>= 2.1.2)
- diff-lcs (>= 1.1.2)
- gherkin (~> 2.9.0)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.10.0)
json (>= 1.4.6)
- term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3)
erubis (2.7.0)
ffi (1.0.11)
@@ -32,7 +31,7 @@ GEM
cabin (~> 0.4.3)
clamp
json
- gherkin (2.9.3)
+ gherkin (2.10.0)
json (>= 1.4.6)
i18n (0.6.0)
json (1.5.4)
@@ -41,16 +40,15 @@ GEM
net-ssh (>= 1.99.1)
net-ssh (2.2.2)
rake (0.9.2.2)
- rspec (2.9.0)
- rspec-core (~> 2.9.0)
- rspec-expectations (~> 2.9.0)
- rspec-mocks (~> 2.9.0)
- rspec-core (2.9.0)
- rspec-expectations (2.9.1)
+ rspec (2.10.0)
+ rspec-core (~> 2.10.0)
+ rspec-expectations (~> 2.10.0)
+ rspec-mocks (~> 2.10.0)
+ rspec-core (2.10.0)
+ rspec-expectations (2.10.0)
diff-lcs (~> 1.1.3)
- rspec-mocks (2.9.0)
- term-ansicolor (1.0.7)
- vagrant (1.0.2)
+ rspec-mocks (2.10.1)
+ vagrant (1.0.3)
archive-tar-minitar (= 0.5.2)
childprocess (~> 0.3.1)
erubis (~> 2.7.0)
View
@@ -3,7 +3,6 @@ Vagrant::Config.run do |config|
config.vm.box = "ubuntu-1104-server-i386"
config.vm.network :hostonly, "33.33.33.11"
config.vm.share_folder("v-root2", "/home/vagrant/code", ".", :nfs => true)
- config.vm.boot_mode = :gui
end
config.vm.define :u64 do |config|
@@ -15,8 +14,9 @@ Vagrant::Config.run do |config|
config.vm.define :c386 do |config|
config.vm.box = "centos6-i386"
- config.vm.network :hostonly, "33.33.33.12"
- config.vm.share_folder("v-root1", "/home/vagrant/code", ".", :nfs => true)
+ # config.vm.network :hostonly, "33.33.33.15"
+ # config.vm.share_folder("v-root1", "/home/vagrant/code", ".", :nfs => true)
+ # config.vm.boot_mode = :gui
end
config.vm.define :c64 do |config|
@@ -5,7 +5,7 @@
CHEF_FIXTURE_PATH = File.dirname(__FILE__) + '/../../fixtures/chef'
PUPPET_FIXTURE_PATH = File.dirname(__FILE__) + '/../../fixtures/puppet'
-CONTAINER_TYPE = "lucid"
+CONTAINER_TYPE = "centos-6"
World(Toft)
@@ -63,6 +63,13 @@ baseurl=http://yum.puppetlabs.com/el/\\\$releasever/products/\\\$basearch/
enabled=1
gpgcheck=1
gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs
+
+[puppetlabs-deps]
+name=Puppet Labs Packages Dependency
+baseurl=http://yum.puppetlabs.com/el/\\\$releasever/dependencies/\\\$basearch/
+enabled=1
+gpgcheck=1
+gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs
EOFF
chroot $cache/$suite-$arch yum -y install tar man sudo bind-utils openssh-server openssh-clients rubygem-chef puppet
chroot $cache/$suite-$arch yum clean all

0 comments on commit 97edb9c

Please sign in to comment.