On Thursday, October 31, 2013 11:54:19 AM UTC+8, Josh Cooper wrote:
On Wed, Oct 30, 2013 at 8:41 PM, Glenn Sarti
glenn@gmail.comjavascript:
wrote:
Well that was easier than I expected
* daemon.rb now defaults to logging in the Event Log and optionally to
the windows.log
Hi Josh,
After a lot of digging around, I think I have partial solution;
NOTE - This is my first attempt at writing ruby so I expect there are some
issues with what I've written. I only had a single host (Server 2008 R2
64bit) to test this on, but I believe the changes I've made are generic
* A side effect of not running the daemon from a CMD.EXE was that the
call to get to runinterval was failing. I suspect this is due to STDOUT
not being available anymore. So I used the well worn method of pipe the
output to a file and read that instead (Lines 60-79). I still need to
I also noticed there is a puppetres.dll and puppetres.mc file so I'll
investigate that and use it for the EventLog stuff.
https://github.com/puppetlabs/puppet/tree/master/ext/windows/eventlog
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To
On Wed, Oct 30, 2013 at 8:41 PM, Glenn Sarti glenn.sar...@gmail.com wrote:
Well that was easier than I expected
* daemon.rb now defaults to logging in the Event Log and optionally to the
windows.log file
This should resolve https://projects.puppetlabs.com/issues/21641. Can you
submit a PR
On Wed, Oct 30, 2013 at 6:06 PM, Glenn Sarti glenn.sar...@gmail.com wrote:
* A side effect of not running the daemon from a CMD.EXE was that the
call to get to runinterval was failing. I suspect this is due to STDOUT
not being available anymore. So I used the well worn method of pipe the
Why does the Puppet-Agent on Windows use a batch file?
I posted a question in the Ask PuppetLabs section and was directed to
create post here as well;
https://ask.puppetlabs.com/question/3506/why-does-the-puppet-agent-on-windows-use-a-batch-file/
Original question
The
Hi Glenn,
On Sun, Oct 13, 2013 at 6:28 PM, Glenn Sarti glenn.sar...@gmail.com wrote:
Why does the Puppet-Agent on Windows use a batch file?
Because the service and command line invocations, e.g. puppet apply, both
need to setup their environment to run ruby, e.g. RUBYLIB, etc. The easiest
way