/
default.rb
73 lines (62 loc) · 3.25 KB
/
default.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# Cookbook Name:: confluence
# Attributes:: confluence
#
# Copyright 2013, Brian Flad
#
# 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.
#
default['confluence']['home_path'] = '/var/atlassian/application-data/confluence'
default['confluence']['install_path'] = '/opt/atlassian/confluence'
default['confluence']['install_type'] = 'installer'
default['confluence']['user'] = 'confluence'
default['confluence']['version'] = '5.9.10'
# Defaults are automatically selected from version via helper functions
default['confluence']['url'] = nil
default['confluence']['checksum'] = nil
# Data bag where credentials and other sensitive data could be stored (optional)
default['confluence']['data_bag_name'] = 'confluence'
default['confluence']['data_bag_item'] = 'confluence'
default['confluence']['apache2']['access_log'] = ''
default['confluence']['apache2']['error_log'] = ''
default['confluence']['apache2']['port'] = 80
# Defaults are automatically selected from fqdn and hostname via helper functions
default['confluence']['apache2']['template_cookbook'] = 'confluence'
default['confluence']['apache2']['virtual_host_name'] = nil
default['confluence']['apache2']['virtual_host_alias'] = nil
default['confluence']['apache2']['ssl']['access_log'] = ''
default['confluence']['apache2']['ssl']['chain_file'] = ''
default['confluence']['apache2']['ssl']['error_log'] = ''
default['confluence']['apache2']['ssl']['port'] = 443
case node['platform_family']
when 'rhel'
default['confluence']['apache2']['ssl']['certificate_file'] = '/etc/pki/tls/certs/localhost.crt'
default['confluence']['apache2']['ssl']['key_file'] = '/etc/pki/tls/private/localhost.key'
else
default['confluence']['apache2']['ssl']['certificate_file'] = '/etc/ssl/certs/ssl-cert-snakeoil.pem'
default['confluence']['apache2']['ssl']['key_file'] = '/etc/ssl/private/ssl-cert-snakeoil.key'
end
default['confluence']['database']['host'] = '127.0.0.1'
default['confluence']['database']['name'] = 'confluence'
default['confluence']['database']['password'] = 'changeit'
default['confluence']['database']['type'] = 'mysql'
default['confluence']['database']['user'] = 'confluence'
default['confluence']['jvm']['minimum_memory'] = '256m'
default['confluence']['jvm']['maximum_memory'] = '512m'
default['confluence']['jvm']['maximum_permgen'] = '256m'
default['confluence']['jvm']['java_opts'] = ''
default['confluence']['tomcat']['port'] = '8090'
default['confluence']['crowd_sso']['enabled'] = false
default['confluence']['crowd_sso']['app_name'] = nil
default['confluence']['crowd_sso']['app_password'] = nil
default['confluence']['crowd_sso']['crowd_base_url'] = 'http://crowd.example.com:8095/crowd'