module-mysql/manifests/disable.pp
2009-02-22 23:07:05 +00:00

16 lines
310 B
Puppet

# 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,
require => Package['mysql-server'],
}
}