[chef] Re: Modifying Windows Service Logon As


Chronological Thread 
  • From: James Kessler < >
  • To:
  • Subject: [chef] Re: Modifying Windows Service Logon As
  • Date: Mon, 6 Jan 2014 17:07:20 -0600

I added a resource to the Windows cookbook to create/delete services. I'm not sure about the "Log On As" parameter but this should get you started:




On Fri, Jan 3, 2014 at 11:46 AM, Kamil Markowicz < " target="_blank"> > wrote:
Hello Chefs,

We are currently evaluating Chef as a management tool for our Windows platform. We are playing around with some of the built in resources, and it did not take long to realize that crucial features are missing.

One of the items that is important to us is manipulating Windows services, specifically, the "Log On As" parameter. We need to be able to run Windows services under various (local and AD-authenticated) accounts.

We would prefer to have an abstracted way of doing this (i.e. not defining custom CMD/Powershell for each recipe that manipulates a service), for example by having logonas_user/logonas_password attributes for the service resource.

What documentation topics should we look at? Ideally, we'd like to somehow extend the existing Service resource (provider?). Should we look at developing a custom resource?

I am still somewhat intimidated some of the terminology, so I'd appreciate some pointers to the documentation or maybe examples of others doing similar work.

Thanks for your tips,

- Kamil





Archive powered by MHonArc 2.6.16.

§