On Wed, Aug 28, 2013 at 10:51 AM, Igor Berger <codewiz...@gmail.com> wrote:
> Hello, > > Documentation mentions that Windows service resource provider "can start, > stop, enable, and disable services". > > Is it possible to create (register) a service using this provider? > I don't believe it is, but it's possible we could add this as an enhancement (we don't support the controllable feature in windows). For now you can use exec and a call to sc.exe to install services. http://ss64.com/nt/sc.html And a stack overflow article talking a bit about this: http://stackoverflow.com/questions/15085856/using-sc-to-install-a-windows-service-and-then-set-recovery-properties > > I'm running stand-alone Puppet agent 3.4.2 on Windows. > > I believe you meant 3.2.4. My answers were based on that version. > Thanks, > Igor. > > -- > 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 post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- Rob Reynolds Developer, Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.