mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 21:34:28 +02:00
parent
f631a60d60
commit
f2afd7423d
30
.vagrant-puppet/modules/mysql/manifests/init.pp
Normal file
30
.vagrant-puppet/modules/mysql/manifests/init.pp
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Class: mysql
|
||||||
|
#
|
||||||
|
# This class installs the mysql server and client software.
|
||||||
|
#
|
||||||
|
# Parameters:
|
||||||
|
#
|
||||||
|
# Actions:
|
||||||
|
#
|
||||||
|
# Requires:
|
||||||
|
#
|
||||||
|
# Sample Usage:
|
||||||
|
#
|
||||||
|
# include mysql
|
||||||
|
#
|
||||||
|
class mysql {
|
||||||
|
|
||||||
|
Exec { path => '/usr/bin' }
|
||||||
|
|
||||||
|
package {
|
||||||
|
'mysql':
|
||||||
|
ensure => installed;
|
||||||
|
'mysql-server':
|
||||||
|
ensure => installed;
|
||||||
|
}
|
||||||
|
|
||||||
|
service { 'mysqld':
|
||||||
|
ensure => running,
|
||||||
|
require => Package['mysql-server']
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user