[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] Windows custom fact as a batch file

2019-07-10 Thread comport3
Is there anything else that is needed to have a custom facter fact as a batch file? cat lib/facter/ssh_hostkey.bat ``` @ECHO OFF for /f "tokens=2" %%a in ('type C:\ProgramData\ssh\ssh_host_ecdsa_key.pub') do (set hostkey=%%a) Echo ssh_hostkey=%hostkey% ``` Executes fine on the Windows host

[Puppet Users] Bolt 1.26.0 is now avilable

2019-07-10 Thread puppet-product-updates
Greetings! We're happy to announce the release of Bolt 1.26.0. Highlights in this release include: - Configuring PCP transport options in bolt.yaml - Task plugin improvements - Seeing nodes in an inventory group - Some bug fixes For more information, check out the release notes:

Re: [Puppet Users] How do you keep the forge modules you use up to date (and keep your sanity)

2019-07-10 Thread Martin Alfke
Hi, we never use the puppet module tool. Instead we mirror upstream modules on an internal git server (including tags) and reference module, git url and tag in a control-repository Puppetfile. When we want to upgrade modules we create a branch and veriffy that everything still works as