forked from areznikov-kabam/ephemeral_lvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.rb
More file actions
66 lines (56 loc) · 2.36 KB
/
metadata.rb
File metadata and controls
66 lines (56 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name 'ephemeral_lvm'
maintainer 'RightScale, Inc.'
maintainer_email 'cookbooks@rightscale.com'
license 'Apache 2.0'
description 'Configures available ephemeral devices on a cloud server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.18'
supports 'ubuntu'
supports 'centos'
supports 'debian'
depends 'lvm', '~> 1.6.1'
recipe "ephemeral_lvm::default", "Sets up ephemeral devices on a cloud server"
attribute "ephemeral_lvm/filesystem",
:display_name => "Ephemeral LVM Filesystem",
:description =>
"The filesystem to be used on the ephemeral volume." +
" Defaults are based on OS and determined in attributes/defaults.rb.",
:recipes => ["ephemeral_lvm::default"],
:required => "recommended"
attribute "ephemeral_lvm/mount_point",
:display_name => "Ephemeral LVM Mount Point",
:description => "The mount point for the ephemeral volume",
:default => "/mnt/ephemeral",
:recipes => ["ephemeral_lvm::default"],
:required => "recommended"
attribute "ephemeral_lvm/mount_point_properties",
:display_name => "Ephemeral LVM Mount Properties",
:description => "The options used when mounting the ephemeral volume",
:type => "hash",
:default => {:options => ["defaults", "noauto"], :pass => 0},
:recipes => ["ephemeral_lvm::default"],
:required => "optional"
attribute "ephemeral_lvm/volume_group_name",
:display_name => "Ephemeral LVM Volume Group Name",
:description => "The volume group name for the ephemeral LVM",
:default => "vg-data",
:recipes => ["ephemeral_lvm::default"],
:required => "optional"
attribute "ephemeral_lvm/logical_volume_size",
:display_name => "Ephemeral LVM Logical Volume Size",
:description => "The size to be used for the ephemeral LVM",
:default => "100%VG",
:recipes => ["ephemeral_lvm::default"],
:required => "optional"
attribute "ephemeral_lvm/logical_volume_name",
:display_name => "Ephemeral LVM Logical Volume Name",
:description => "The name of the logical volume for ephemeral LVM",
:default => "ephemeral0",
:recipes => ["ephemeral_lvm::default"],
:required => "optional"
attribute "ephemeral_lvm/stripe_size",
:display_name => "Ephemeral LVM Stripe Size",
:description => "The stripe size to be used for the ephemeral logical volume",
:default => "512",
:recipes => ["ephemeral_lvm::default"],
:required => "optional"