On Fri, Jul 22, 2011 at 12:35 AM, David Schmitt <[email protected]> wrote:
> On 21.07.2011 18:14, Jacob Helwig wrote: > >> We currently have the majority of the tests passing, marked as known >> failures due to missing providers or other yet unwritten code, or >> confined to not run on windows since they are testing functionality >> that we do not plan to support (running a master, for example). >> > > Awesome feat! > > We've got a "Work in Progress" branch with a service provider for >> Windows that supports managing the "Start Type" (enabled), and whether >> the service is currently running (ensure) up on GitHub[1]. Currently, >> the provider does not work when transitioning a service from stopped >> with a start type of "disabled" to running with a start type of >> "automatic", or "manual". The problem is that the ResourceHarness >> always syncs ensure first, before syncing everything else, and Windows >> (understandably) refuses to start a "disabled" service. >> > I had a similar problem with the launchd provider, and we solved it by temporarily enabling, starting, then disabling. https://github.com/puppetlabs/puppet/blob/2.7.x/lib/puppet/provider/service/launchd.rb#L161 Not sure if this is feasible on Windows, but we should work out a way to resolve this. > > Shouldn't the windows' service provider set the service at least to manual > when trying to start it? > > > Best Regards, David > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to puppet-dev+unsubscribe@** > googlegroups.com <puppet-dev%[email protected]>. > For more options, visit this group at http://groups.google.com/** > group/puppet-dev?hl=en <http://groups.google.com/group/puppet-dev?hl=en>. > > -- Nigel Kersten Product Manager, Puppet Labs *Join us for **PuppetConf * <http://www.bit.ly/puppetconfsig> Sept 22/23 Portland, Oregon, USA. * * -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
