Puppet Class: mysql::wordpressbddpriv

Defined in:
manifests/init.pp

Overview



106
107
108
109
110
111
112
113
# File 'manifests/init.pp', line 106

class mysql::wordpressbddpriv {
	exec { 'wordpresspriv':	
		command => 'mysql -u root -p`awk \'{print $1}\' /tmp/mysql` -e "GRANT ALL PRIVILEGES ON wordpress.* TO \'wordpress\'@\'localhost\';" && rm -f /tmp/mysql',
		path => [ "/usr/bin", "/bin" ], 
		require => Class["mysql::wordpressbdduser"],
		logoutput => on_failure
	}
}