On Mon, May 04, 2015 at 07:54:05AM -0700, Victor Danilchenko wrote:
> Hi guys,
>
> The Puppet that comes with Ubuntu Vivid (3.7.2) is broken -- it doesn't
> correctly resolve whether a service is an Upstart service, so e.g. any mysql
> service notification will fail when trying to restart a service (some other
> services fail too). This is because the 'service' Puppet type is trying to
> invoke /sbin/{start,stop,status,restart,reload} scripts, which fail. So
> basically Puppet issues 'reload mysql', when it should be issuing 'service
> mysql reload'
>
> There's an easy work-around -- I have written a simple script that emulates
> old-style service init behavior, and symlinked it into /sbin/ as
> appropriate; however, this dirty hack may cause problems down the road, so
> I really would rather avoid it.
>
> I am hoping that an official Puppetlabs release for Vivid might fix the
> problem. Do you guys know when/if it's coming? I keep checking in
>
https://apt.puppetlabs.com/, but there's nothing there still...
>
> Alternatively, does anyone know how to make the stock distro Puppet package
> resolve the service type correctly?
Sounds like you may want to specify the provider or do something conditional for a resource default? You can also specify start/stop/restart options, as defaults or per-service.
> 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
.
.