forked from zuazo/filesystem_resize-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
57 lines (51 loc) · 1.79 KB
/
metadata.rb
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
# encoding: UTF-8
#
# Cookbook Name:: filesystem_resize
# Author:: Xabier de Zuazo (<[email protected]>)
# Copyright:: Copyright (c) 2014-2015 Onddo Labs, SL.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name 'filesystem_resize'
maintainer 'Xabier de Zuazo'
maintainer_email '[email protected]'
license 'Apache 2.0'
description <<-EOS
Resize the file system automatically when the underlying partition or disk
increases its size.
EOS
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.4.0' # WiP
if respond_to?(:source_url)
source_url "https://github.com/zuazo/#{name}-cookbook"
end
if respond_to?(:issues_url)
issues_url "https://github.com/zuazo/#{name}-cookbook/issues"
end
supports 'amazon', '>= 2012.03'
supports 'centos', '>= 6.0'
supports 'debian', '>= 7.0'
supports 'fedora'
supports 'redhat'
supports 'ubuntu', '>= 12.04'
recipe 'filesystem_resize::default', 'Resizes all mounted file systems.'
provides 'filesystem_resize'
provides 'filesystem_resize_all'
attribute 'filesystem_resize/compiletime',
display_name: 'fs resize at compile time',
description: 'Resize the file sistems at compile time.',
choice: %w(true false),
type: 'string',
required: 'optional',
default: 'false'