module-mysql/manifests/disable.pp

15 lines
271 B
ObjectPascal
Raw Normal View History

2009-02-21 18:22:47 +01:00
# class to install mysql-server
# in a disabled way.
class mysql::disable {
2012-06-08 18:04:06 +02:00
package{'mysql-server':
ensure => installed,
}
2009-02-21 18:22:47 +01:00
2012-06-08 18:04:06 +02:00
service {mysql:
2013-01-02 17:13:45 +01:00
ensure => stopped,
enable => false,
2012-06-08 18:04:06 +02:00
hasstatus => true,
2013-01-02 17:13:45 +01:00
require => Package['mysql-server'],
2012-06-08 18:04:06 +02:00
}
2009-02-21 18:22:47 +01:00
}