Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -22,16 +22,16 @@ service_name = os_service_name(node['platform'], node['platform_version'])
|
||||
node.set['mariadb']['mysqld']['service_name'] = service_name\
|
||||
unless service_name.nil?
|
||||
|
||||
package 'mariadb-server' do
|
||||
action :install
|
||||
notifies :enable, 'service[mysql]'
|
||||
end
|
||||
|
||||
directory '/var/log/mysql' do
|
||||
action :create
|
||||
user 'mysql'
|
||||
group 'mysql'
|
||||
mode '0755'
|
||||
end
|
||||
|
||||
package 'mariadb-server' do
|
||||
action :install
|
||||
notifies :enable, 'service[mysql]'
|
||||
notifies :start, 'service[mysql]', :immediately
|
||||
notifies :run, 'execute[change first install root password]', :immediately
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user