On Thu, Feb 2, 2012 at 4:39 AM, Hendy Irawan <ceefour...@gmail.com> wrote: > I'm having the same problem in Ubuntu Oneiric 11.10 64-bit. > > It seems puppet runs this command: > > debug: Service[mysql](provider=debian): Executing '/etc/init.d/mysql > status' > > which outputs : > > $ /etc/init.d/mysql status > Rather than invoking init scripts through /etc/init.d, use the > service(8) > utility, e.g. service mysql status > > Since the script you are attempting to invoke has been converted to an > Upstart job, you may also use the status(8) utility, e.g. status mysql > mysql stop/waiting > > Using: > > status => '/usr/sbin/service mysql status', > > still doesn't solve the problem. > > I'm still confused..
Is the service command returning appropriate exit code? Depending on your puppet version, try adding: service { 'mysql': ... provider => 'upstart', } Thanks, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.