Compare commits
2 Commits
b7e2a72369
...
2d559ebd91
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d559ebd91 | |||
| 8dd146e95c |
@ -41,7 +41,20 @@
|
||||
"php::ini",
|
||||
"composer::global_configs",
|
||||
"mediawiki::default",
|
||||
"mediawiki::database"
|
||||
"mediawiki::database",
|
||||
"kosmos-nginx::default",
|
||||
"nginx::default",
|
||||
"nginx::package",
|
||||
"nginx::ohai_plugin",
|
||||
"nginx::repo",
|
||||
"nginx::commons",
|
||||
"nginx::commons_dir",
|
||||
"nginx::commons_script",
|
||||
"nginx::commons_conf",
|
||||
"mediawiki::nginx",
|
||||
"backup::default",
|
||||
"logrotate::default",
|
||||
"kosmos-base::letsencrypt"
|
||||
],
|
||||
"platform": "ubuntu",
|
||||
"platform_version": "20.04",
|
||||
|
||||
@ -62,12 +62,6 @@ cron "default backup model" do
|
||||
end
|
||||
|
||||
include_recipe 'logrotate'
|
||||
# Install MySQL client (includes mysqldump)
|
||||
mysql_client 'default' do
|
||||
action :create
|
||||
version '5.7' if node[:platform_version].to_f == 18.04
|
||||
not_if { node["backup"]["mysql"]["databases"].empty? }
|
||||
end
|
||||
|
||||
# Write the credentials file to allow dumps without password for the root
|
||||
# user (https://dev.mysql.com/doc/refman/5.7/en/option-files.html)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user