-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path04_others.rb
32 lines (29 loc) · 1.03 KB
/
04_others.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
## memcached
default[:memcached][:enabled] = true
default[:memcached][:service_action] = [:disable, :stop]
if node[:memcached][:enabled]
default[:memcached][:service_action] = [:enable, :start]
default[:php][:packages].push('php-pecl-memcache')
default[:mod_php7][:packages].push('php70-php-pecl-memcache')
end
## redis
default[:redis][:enabled] = false
default[:redis][:service_action] = [:disable, :stop]
if node[:redis][:enabled]
default[:redis][:service_action] = [:enable, :start]
end
## goofys
default[:goofys][:install] = false
default[:goofys][:version] = '0.19.0'
default[:goofys][:packages] = %w{
golang
fuse
}
default[:goofys][:source_url] = 'https://github.com/kahing/goofys/releases/download/v' + node[:goofys][:version] + '/goofys'
default[:goofys][:mount] = false
default[:goofys][:config][:profile] = 'default'
default[:goofis][:config][:reagion] = 'us-east-1'
default[:goofys][:config][:s3_bucket] = 's3_bucket_name'
default[:goofys][:config][:mount_point] = '/mnt/s3'
## letsencrypt
default[:letsencrypt][:install] = false