Ask Your Question

Why does the Puppet-Agent on Windows use a batch file?

asked 2013-10-06 19:31:15 -0600

Glenn.Sarti gravatar image

The Puppet Enterprise for Windows Agent runs as a windows service, basically a deamonised version of Puppet, which is all fine. However the Windows Service calls a batch file which seems extremely strange. While it does work, i.e. the Service starts and runs, using CMD.EXE as a service executable is generally considered a really bad idea.

It does not respond to the usual SCM (Service Control Manager) calls and in it's current state is misconfigured e.g. The service says that it can respond to Pause and Continue events but CMD.EXE can't fulfill those requests ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-10-10 10:51:56 -0600

updated 2013-10-10 10:55:41 -0600

Would you file an enhancement to set startup to startup delayed? That way we can prioritize it. You can do that here:

As far as using a batch file for calling ruby, this is how you see it with most ruby things, but that is not to say whether it is correct or not. Would you mind opening a dialog on the puppet-users email group to discuss in more detail? I want to capture everything you are seeing and determine if it is a local issue for you or something that is ... (more)

edit flag offensive delete link more


Thanks for your answer Rob. I've filed feature request #22839 with two options and I'll start a post on the puppet-users group shortly.

Glenn.Sarti gravatar imageGlenn.Sarti ( 2013-10-10 20:25:27 -0600 )edit

answered 2013-10-13 20:30:51 -0600

Glenn.Sarti gravatar image

I have created a thread in the Puppet Users email group. Just waiting for the thread to be approved.

edit flag offensive delete link more


See ``

joshc gravatar imagejoshc ( 2013-10-21 23:06:45 -0600 )edit

link is broken (has a < p > at the end which prevents a proper redirection to the correct thread on google groups).

ArmanCastell gravatar imageArmanCastell ( 2014-10-24 07:30:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-06 19:31:15 -0600

Seen: 797 times

Last updated: Oct 13 '13