Skip to content
Snippets Groups Projects
Commit db024287 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Add MySQL

parent ac756589
No related branches found
No related tags found
1 merge request!2Merge till Production
......@@ -52,6 +52,7 @@ class skadereg {
}
include skadereg::firewall
include ::yum::centos_scl
include ::apache
class { '::apache::mod::php':
......@@ -64,8 +65,6 @@ class skadereg {
'php55-php-common': ensure => installed;
}
file { '/etc/httpd/modules/libphp5.so':
ensure => link,
target => '/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp55-php5.so',
......@@ -116,13 +115,18 @@ class skadereg {
user => 'andal699'
}
include ::yum::centos_scl
file { '/tmp/example':
ensure => file,
content => template('skadereg/example.erb'),
owner => andal699,
group => andal699,
mode => '0400',
class { '::mysql::server':
root_password => 'ControlAvHandboll',
databases => {
'homestead' => {
ensure => present,
charset => 'utf8',
}
},
override_options => {
mysqld => {
port => 33060
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment