Re: [Puppet Users] Bolt: Running a ps-script making a web request with credentials

2019-11-24 Thread Glenn Sarti
Hi Toband, This sounds exactly like the Double Hop problem with WinRM authentication https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ps-remoting-second-hop?view=powershell-6

Re: [Puppet Users] Windows custom fact as a batch file

2019-07-11 Thread Glenn Sarti
Change Request raised - https://tickets.puppetlabs.com/browse/FACT-1934 On Thursday, July 11, 2019 at 2:01:48 PM UTC+8, Dirk Heinrichs wrote: > > Am Mittwoch, den 10.07.2019, 22:30 -0700 schrieb comport3: > > C:\ProgramData\ssh\ssh_host_ecdsa_key.pub > > > On Linux, SSH host keys are already

[Puppet Users] Re: Windows custom fact as a batch file

2019-07-10 Thread Glenn Sarti
Hi. What you've listed this is an External Fact ( https://puppet.com/docs/puppet/6.2/external_facts.html#executable-facts-on-windows) So it should be in the directory "facts.d" inside your module. That directory (lib/facter) is for Custom Facts (

[Puppet Users] Re: A GUI tool for Hiera

2019-01-21 Thread glenn . sarti
This is VERY VERY interesting... I'm one of the people you maintains the VSCode Puppet extension, and there seems to be some nice cross over here. (I see you develop using VSCode so hopefully you're aware of it :-) ) In particular offering a GUI experience to modifying Hiera data, combined

[Puppet Users] Re: puppetlabs-iis \ restart_requests_limit should be greater than 0

2018-10-15 Thread glenn . sarti
This looks like a bug. restart_requests_limit is defined as a positive integer (https://github.com/puppetlabs/puppetlabs-iis/blob/master/lib/puppet/type/iis_application_pool.rb#L496) which would fail if zero is passed. Can you please raise a jira ticket for this?

Re: [Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-31 Thread Glenn Sarti
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

Re: [Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-30 Thread Glenn Sarti
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

Re: [Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-30 Thread Glenn Sarti
* 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

Re: [Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-30 Thread Glenn Sarti
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

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

2013-10-14 Thread Glenn Sarti
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