linecook-gem 0.5.9 → 0.6.0

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: 9fdef146633a6fad22b7e806afbdca1aa36a7b60
4
- data.tar.gz: 983c91824d7525b3d7b20dab8ce8b97945e85dde
3
+ metadata.gz: c7d139c2ead0135dd0b5b125742cac5e89d0e8ca
4
+ data.tar.gz: 006ad4a9ec0694deb57e2ca1f70067ac13393008
5
5
  SHA512:
6
- metadata.gz: 46fafb5a0911b11e827ef0cca448fcfac8a9ed621e7c0207c300188547e2a4135ee3294bb04badf0102121977b413a81b75cacb3d58e7fb8bc180ef5378f1e85
7
- data.tar.gz: 4319ccedec408b0ad0ae956a7fcae9a9d4d0415b9ffd44c03d0de14a08d6ebeb1c9391e3b8f5b4f16dac645943e4d550d3c2e2dad554f004437a4015a04622bc
6
+ metadata.gz: 9dde6c79f70c5c594a98acf98534332f8cf45c3543f87bcf75aef32d7b416329fe46bd66434e33a22f15399d7c2803842035ff12af66aaa7c068f7e0d72099fd
7
+ data.tar.gz: e11e32fa25cdd5a79cc1214f5c20ac46a0a25e7df85e893f64914bd0cbc0885c445645ccbc32e36fe162d12be2cb0cae70f2b2662e0bfc00b5cd89394907f68f
@@ -115,7 +115,7 @@ module Linecook
115
115
  end
116
116
 
117
117
  def check_lxc
118
- version = `sudo lxc-info --version`
118
+ version = `lxc-info --version`
119
119
  fail "lxc too old (<#{LXC_MIN_VERSION}) or not present" unless Gem::Version.new(version) >= Gem::Version.new(LXC_MIN_VERSION)
120
120
  end
121
121
 
@@ -1,3 +1,3 @@
1
1
  module Linecook
2
- VERSION = '0.5.9'
2
+ VERSION = '0.6.0'
3
3
  end
data/man/LINECOOK.1 CHANGED
@@ -21,39 +21,38 @@ Enabling a means of simple local image development with high production efficacy
21
21
  Simplifying continuous integration and testing of linux systems.
22
22
  .RE
23
23
  .SH USAGE
24
- .TP
25
- linecook bake SPEC [\-n \-\-name \fB\fCNAME\fR] [\-s \-\-snapshot]
26
- \-\-name \- The name
27
- \-\-snapshot \- Snapshot the resulting image for later use
28
- \-\-encrypt \- Encrypt the snapshot using the configured key. Implies snapshot.
29
- \-\-upload \- Upload the resulting image to the configured destination. Implies snapshot.
30
- \-\-all \- Snapshot, encrypt, and upload the resulting image.
31
- Build a linecook image defined by SPEC, with an optional name to help identify it. The default will be the SPEC name
32
- .TP
24
+ .PP
25
+ .RS
26
+ .nf
27
+ linecook bake SPEC [\-n \-\-name `NAME`] [\-s \-\-snapshot]
28
+ \-\-name \- The name
29
+ \-\-snapshot \- Snapshot the resulting image for later use
30
+ \-\-encrypt \- Encrypt the snapshot using the configured key. Implies snapshot.
31
+ \-\-upload \- Upload the resulting image to the configured destination. Implies snapshot.
32
+ \-\-all \- Snapshot, encrypt, and upload the resulting image.
33
+ Build a linecook image defined by SPEC, with an optional name to help identify it. The default will be the SPEC name
33
34
  linecook builder
34
- start \- start a new builder
35
- stop \- stop a running builder
36
- info \- show the info about the builder
37
- ip \- show the builder's ip
38
- .TP
35
+ start \- start a new builder
36
+ stop \- stop a running builder
37
+ info \- show the info about the builder
38
+ ip \- show the builder's ip
39
39
  linecook config
40
- setup
41
- check \- validate config
42
- show
43
- .TP
40
+ setup
41
+ check \- validate config
42
+ show
44
43
  linecook build
45
- list
46
- info NAME
47
- ip NAME
48
- stop NAME
49
- .TP
44
+ list
45
+ info NAME
46
+ ip NAME
47
+ stop NAME
50
48
  linecook image
51
- list
52
- keygen \- generate a new secret key for image encryption
53
- fetch
54
- find [\fB\fCREGEX\fR] \- list available remote images filtered by an optional regex
55
- .PP
56
- linecook ami [\fB\fCimage\fR] [\-r \-\-region \fB\fCREGION1,REGION2\fR] [\-x \-\-xen\-type \fB\fCPV|HVM\fR] [\-r \-\-root\-size GIGABYTES] \- create an AMI (Amazon Machine Image) from a snapshot.
49
+ list
50
+ keygen \- generate a new secret key for image encryption
51
+ fetch
52
+ find [`REGEX`] \- list available remote images filtered by an optional regex
53
+ linecook ami [`image`] [\-r \-\-region `REGION1,REGION2`] [\-x \-\-xen\-type `PV|HVM`] [\-r \-\-root\-size GIGABYTES] \- create an AMI (Amazon Machine Image) from a snapshot.
54
+ .fi
55
+ .RE
57
56
  .SH CONFIGURATION
58
57
  .PP
59
58
  Describe config file here once it's been determined
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linecook-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel