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 { ...@@ -52,6 +52,7 @@ class skadereg {
} }
include skadereg::firewall include skadereg::firewall
include ::yum::centos_scl
include ::apache include ::apache
class { '::apache::mod::php': class { '::apache::mod::php':
...@@ -64,8 +65,6 @@ class skadereg { ...@@ -64,8 +65,6 @@ class skadereg {
'php55-php-common': ensure => installed; 'php55-php-common': ensure => installed;
} }
file { '/etc/httpd/modules/libphp5.so': file { '/etc/httpd/modules/libphp5.so':
ensure => link, ensure => link,
target => '/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp55-php5.so', target => '/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp55-php5.so',
...@@ -116,13 +115,18 @@ class skadereg { ...@@ -116,13 +115,18 @@ class skadereg {
user => 'andal699' user => 'andal699'
} }
include ::yum::centos_scl class { '::mysql::server':
root_password => 'ControlAvHandboll',
file { '/tmp/example': databases => {
ensure => file, 'homestead' => {
content => template('skadereg/example.erb'), ensure => present,
owner => andal699, charset => 'utf8',
group => andal699, }
mode => '0400', },
override_options => {
mysqld => {
port => 33060
}
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment