pauper 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pauper.rb +5 -1
- metadata +3 -3
data/lib/pauper.rb
CHANGED
@@ -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
|
-
-
|
9
|
-
version: 0.1.
|
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-
|
18
|
+
date: 2013-04-05 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|