Compare commits

...

2 Commits

Author SHA1 Message Date
2d559ebd91
Update wiki node config
Just committing the changes after a successful run with letsencrypt also
working.
2020-09-06 13:43:07 +02:00
8dd146e95c
Remove obsolete mysql client install
This fails nowadays,and the client is already installed via the mysql
package in the first place.
2020-09-06 13:42:34 +02:00
2 changed files with 14 additions and 7 deletions

View File

@ -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",

View File

@ -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)