module-mysql/manifests/disable.pp
2012-06-08 13:04:06 -03:00

16 lines
287 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'],
}
}