Skip to content

Commit fcc051c

Browse files
committed
Addition of mysql module
1 parent 8d92db4 commit fcc051c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@
3131
[submodule "puppet/modules/wget"]
3232
path = puppet/modules/wget
3333
url = https://github.com/maestrodev/puppet-wget.git
34+
[submodule "puppet/modules/mysql"]
35+
path = puppet/modules/mysql
36+
url = https://github.com/puppetlabs/puppetlabs-mysql.git

puppet/modules/devenv/manifests/init.pp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,19 @@
3838

3939
php::module { $php_modules: }
4040

41-
class {'git': }
41+
class { '::mysql::server':
42+
root_password => 'vagrant',
43+
override_options => { 'mysqld' => { 'max_connections' => '1024' } }
44+
}
4245

43-
class { 'redis':
46+
class { 'redis':
4447
version => '2.6.5',
4548
}
4649

4750
class {'varnish':
4851
varnish_listen_port => 80,
4952
varnish_storage_size => '32M',
5053
}
54+
55+
class {'git': }
5156
}

puppet/modules/mysql

Submodule mysql added at ec1cc59

0 commit comments

Comments
 (0)