module-mysql/manifests/disable.pp

17 lines
287 B
ObjectPascal
Raw Normal View History

2009-02-21 18:22:47 +01:00
# manifests/disable.pp
# 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:
ensure => stopped,
enable => false,
hasstatus => true,
require => Package['mysql-server'],
}
2009-02-21 18:22:47 +01:00
}