From 96dac3522fa2bf283ae9d81d413f0c8cbf8854f6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 20 Jan 2010 11:14:24 -0200 Subject: Using set_mysql_rootpw again --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 8944595..84f07b8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -33,7 +33,7 @@ class mysql::server inherits mysql { mode => 0500, } - exec { 'change_mysql_rootpw': + exec { 'set_mysql_rootpw': command => "/usr/local/sbin/setmysqlpass.sh", require => [ File['/usr/local/sbin/setmysqlpass.sh'], Package[mysql-server] ], refreshonly => true, @@ -53,7 +53,7 @@ class mysql::server inherits mysql { owner => root, group => root, mode => 0400, - notify => Exec['change_mysql_rootpw'], + notify => Exec['set_mysql_rootpw'], } } } -- cgit v1.2.3