-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
53 lines (43 loc) · 1.63 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
maintainer "Seth Chisamore"
maintainer_email "cookbooks@chisamore.com"
license "Apache 2.0"
description "Installs/Configures ZNC IRC bouncer"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.0.1"
depends "build-essential"
%w{ debian ubuntu }.each do |os|
supports os
end
attribute "znc/user",
:display_name => "ZNC System User",
:description => "The name of the system user under which ZNC will be run",
:default => "znc"
attribute "znc/group",
:display_name => "ZNC System Group",
:description => "The name of the system group under which ZNC will be run",
:default => "znc"
attribute "znc/data_dir",
:display_name => "ZNC Data Dir",
:description => "Directory where ZNC data will be stored",
:default => "/etc/znc"
attribute "znc/conf_dir",
:display_name => "ZNC Config Dir",
:description => "Directory where ZNC configuration will be stored",
:default => "/etc/znc/configs"
attribute "znc/log_dir",
:display_name => "ZNC Log Dir",
:description => "Directory where ZNC logs will be stored",
:default => "/etc/znc/moddata/adminlog"
attribute "znc/module_dir",
:display_name => "ZNC Module Dir",
:description => "Directory where ZNC modules will be stored",
:default => "/etc/znc/modules"
attribute "znc/user_dir",
:display_name => "ZNC User Dir",
:description => "Directory where ZNC users will be stored",
:default => "/etc/znc/users"
attribute "znc/install_method",
:display_name => "ZNC Install Method",
:description => "The installation source for znc, either source or package",
:choice => ["package","source"],
:default => "package"