chef-provisioning-lxc 0.6 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa53dc604984221d5f6f52a9cf23db3dd9ba5070
|
4
|
+
data.tar.gz: edbcbb541604b5e31c3d38fd251a67bb7204accf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40e497dd182a9e1885801d64335701f94e444cb6cc1dd8c756726fbd426f8e9d67413ea3e95ebe3e311ea4ca5ca511c6dc6c6d16565a38b748daf56dcb58b0d0
|
7
|
+
data.tar.gz: 8a0a1387a5d8a9f5b0b19a5692dd8301c76deb44034c407e663a0d0eda30a028a8256e9fa936fc7ecba21f3c718683acf041c01334993256d11137a52afcfdf8
|
data/README.md
CHANGED
@@ -10,33 +10,26 @@ To run the tests, which creates an Ubuntu machine and installs this into it:
|
|
10
10
|
gem install chef-provisioning
|
11
11
|
rake build
|
12
12
|
cd test/
|
13
|
-
|
13
|
+
set -x CHEF_DRIVER 'lxc'
|
14
|
+
chef-client -z lxc.rb simple.rb
|
14
15
|
```
|
15
16
|
|
16
17
|
## Basic Usage
|
17
18
|
|
18
19
|
```ruby
|
19
|
-
require 'chef/provisioning
|
20
|
-
|
20
|
+
require 'chef/provisioning'
|
21
|
+
machine 'mario' do
|
22
|
+
recipe 'apache2'
|
23
|
+
end
|
21
24
|
```
|
22
25
|
|
23
|
-
##
|
24
|
-
|
25
|
-
The provisioner represents lxc containers in a directory.
|
26
|
-
|
27
|
-
`Chef::Provisioning::LXCDriver::LXCProvisioner.new(...)`
|
28
|
-
|
29
|
-
### Arguments
|
30
|
-
|
31
|
-
**lxc_path** - path where the lxc containers will be located. This ends up being a sort of namespace, since the machines' names must be unique under each path.
|
32
|
-
|
33
|
-
## Provisioning Options
|
26
|
+
## Machine Options
|
34
27
|
|
35
28
|
To specify provisioning options that will be used with all subsequent `machine` definitions:
|
36
29
|
|
37
30
|
```ruby
|
38
|
-
|
39
|
-
:template_options => <arguments
|
31
|
+
with_machine_options :template => <template name>,
|
32
|
+
:template_options => <arguments>,
|
40
33
|
:backing_store => <backing store>
|
41
34
|
```
|
42
35
|
|
@@ -1,2 +1,2 @@
|
|
1
1
|
require 'chef/provisioning'
|
2
|
-
require 'chef/provisioning/lxc_driver/
|
2
|
+
require 'chef/provisioning/lxc_driver/driver'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-lxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ranjib Dey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|