module-mysql/manifests/disable.pp

17 lines
310 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 {
package{'mysql-server':
ensure => installed,
}
service {mysql:
ensure => stopped,
enable => false,
hasstatus => true,
2009-02-23 00:07:05 +01:00
require => Package['mysql-server'],
2009-02-21 18:22:47 +01:00
}
}