forked from zuazo/dovecot-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
53 lines (47 loc) · 1.99 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
# Cookbook Name:: dovecot
# Author:: Xabier de Zuazo (<[email protected]>)
# Copyright:: Copyright (c) 2016 Xabier de Zuazo
# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL.
# License:: Apache-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 'dovecot'
maintainer 'Xabier de Zuazo'
maintainer_email '[email protected]'
license 'Apache-2.0'
description <<-EOH
Installs and configures Dovecot, open source IMAP and POP3 email server.
EOH
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '3.3.0' # WiP
source_url "https://github.com/zuazo/#{name}-cookbook" if respond_to?(:source_url)
issues_url "https://github.com/zuazo/#{name}-cookbook/issues" if respond_to?(:issues_url)
chef_version '>= 12' if respond_to?(:chef_version)
supports 'amazon'
supports 'centos', '>= 6.7'
supports 'debian', '>= 7.11'
supports 'fedora', '>= 26.0'
supports 'opensuse', '>= 42.0'
supports 'oracle', '>= 6.9'
supports 'ubuntu', '>= 14.04'
# TODO: remove this as it will be deprecated in Chef 15
depends 'ohai'
recipe 'dovecot::default', 'Installs and configures Dovecot.'
recipe 'dovecot::user', 'Creates the dovecot system user.'
recipe 'dovecot::conf_files', 'Generates all the configuration files.'
recipe 'dovecot::ohai_plugin',
'Provides an Ohai plugin for reading dovecot install information.'
recipe 'dovecot::from_package', 'Installs the required packages.'
recipe 'dovecot::service', 'Configures the Dovecot service.'
recipe 'dovecot::create_pwfile', 'Creates a userdb password file from databag.'