Managing MySQL with CFEngine

From Kyle's Wiki
Jump to: navigation, search
packages:
	mysql-server	action=install
	dbbackup	action=install

classes:
    redhat::
        mysql_on = ( ReturnsZero(/sbin/chkconfig mysqld) )

shellcommands:
    !mysql_on::
        "/sbin/chkconfig mysqld on" inform=true
        "/sbin/service mysqld start" inform=true
Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta