pauper 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/pauper.rb +5 -1
  2. metadata +3 -3
@@ -43,10 +43,14 @@ class Pauper
43
43
  prepare_base_cache
44
44
 
45
45
  puts "Installing chef.."
46
+ cmd "sudo chroot /var/lib/lxc/base/rootfs/ 'curl -L https://www.opscode.com/chef/install.sh | bash'"
47
+
46
48
  start_node('base')
47
- chef_node = "base#{@pauper_config.config[:node_suffix]}"
48
49
  sleep 3
50
+
51
+ chef_node = "base#{@pauper_config.config[:node_suffix]}"
49
52
  cmd "knife bootstrap --bootstrap-version chef-full -N #{chef_node} -E #{@pauper_config.config[:chef_environment]} -x root -r \"#{@pauper_config.config[:default_run_list].join(",")}\" #{ip}"
53
+
50
54
  stop_node('base')
51
55
  end
52
56
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler McMullen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-18 00:00:00 -07:00
18
+ date: 2013-04-05 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency