Hey guys,

 I wrote an exec class for one of my modules. And for some reason, on
puppet runs it's not executing.

Here's the class:

class bacula::exec {

    exec { 'create.mysql.admin.user':
    path => "/bin",
    command => "mysql -e 'grant all privileges on *.* to 'admin'@'localhost'
identified by 'secret';",
    refreshonly => true,
    }

}

This is my init file:

class bacula {

    include bacula::install, bacula::service, bacula::cron, bacula::config,
bacula::exec

}

Any thoughts or opininions welcomed!

Tim


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAOZy0eky4KpzhZ4NS2BUQSSb7HK6L4HyEpPJAoRaaGK2dYW64w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to