Ask Your Question
0

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

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

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
0

answered 2013-10-10 10:51:56 -0500

updated 2013-10-10 10:55:41 -0500

Would you file an enhancement to set startup to startup delayed? That way we can prioritize it. You can do that here: http://projects.puppetlabs.com/projects/puppet/issues/new

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

Comments

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 -0500 )edit
0

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

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

Comments

See `https://groups.google.com/d/msg/puppet-users/DxdR-PJ64GU/beoEJMUMzlAJ`

joshc gravatar imagejoshc ( 2013-10-21 23:06:45 -0500 )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 -0500 )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

Stats

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

Seen: 703 times

Last updated: Oct 13 '13