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: e87d01b4b65ba854ea0000288f8a6da627c40d8a
4
- data.tar.gz: a545aea99545063dde7b3530c43434a58ab5a1df
3
+ metadata.gz: fa53dc604984221d5f6f52a9cf23db3dd9ba5070
4
+ data.tar.gz: edbcbb541604b5e31c3d38fd251a67bb7204accf
5
5
  SHA512:
6
- metadata.gz: 0b5630404425e25d371bb9bc84987a774f887c2f4fadf2f88e08e662f4c5819c2aa2666d8e23532b97828f0ea16fdb6c9a3e9c7d3810daa032aaf58f7c850c1f
7
- data.tar.gz: 331e49d9dedeb209c2ac0afd50dad71ef3d6438cf62ed47507596d96694041b5ef739d99551beaa6a52fffe2f86eb60fb2b2b47096db105a08853de3ab9ef6a4
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
- chef-client -z vagrant.rb ubuntu12.rb test_machine.rb
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/lxc_driver/lxc_provisioner'
20
- with_provisioner Chef::Provisioning::LXCDriver::LXCProvisioner.new
20
+ require 'chef/provisioning'
21
+ machine 'mario' do
22
+ recipe 'apache2'
23
+ end
21
24
  ```
22
25
 
23
- ## Provisioner Creation
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
- with_provisioner_options :template => <template name>,
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,3 +1,3 @@
1
- require 'chef/provisioning/lxc_driver/lxc_driver'
1
+ require 'chef/provisioning/lxc_driver/driver'
2
2
 
3
3
  Chef::Provisioning.register_driver_class('lxc', Chef::Provisioning::LXCDriver::Driver)
@@ -1,2 +1,2 @@
1
1
  require 'chef/provisioning'
2
- require 'chef/provisioning/lxc_driver/lxc_driver'
2
+ require 'chef/provisioning/lxc_driver/driver'
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module LXCDriver
4
- VERSION = '0.6'
4
+ VERSION = '0.6.1'
5
5
  end
6
6
  end
7
7
  end
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: '0.6'
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: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef