bastelfreak
11/04/2025, 11:43 AMjms1
11/04/2025, 9:15 PMpdk new fact xyz) ? ... common sense tells me that only one of them would end up in /opt/puppetlabs/puppet/cache/lib/facter/ on the target machine (even if both are sent, one would overwrite the other), so only one would end up being executed ... i know the "correct" answer is "don't do that", but if somebody does, is there any way to know which one would end up existing on the target machine?Henri No
11/06/2025, 8:18 AMkenyon
11/06/2025, 9:45 PMLaryssa Araujo
11/09/2025, 3:34 PMsaz
11/11/2025, 11:37 AMNicholas Hasser
11/11/2025, 3:32 PMjms1
11/11/2025, 4:09 PMredat
11/17/2025, 4:39 PMMassimiliano (Max)
11/18/2025, 8:34 PM$ git clone git@github.com:voxpupuli/voxpupuli-release.git
Cloning into 'voxpupuli-release'...
ERROR: user:1710103:maxadamo
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.Massimiliano (Max)
11/18/2025, 8:35 PMCVQuesty
11/18/2025, 8:36 PMbastelfreak
11/18/2025, 8:43 PMkenyon
11/18/2025, 8:48 PMCVQuesty
11/18/2025, 8:52 PMCVQuesty
11/18/2025, 8:54 PMThe requested URL returned error: 500jms1
11/21/2025, 8:37 PMpuppet strings generates a doc/ directory with HTML documentation for the current module ... is there a way to take a collection of all modules/*/doc/ directories and "combine" their content into a single set of HTML documentation for the entire "code base"?bastelfreak
11/21/2025, 8:40 PMbastelfreak
11/21/2025, 8:41 PMjms1
11/21/2025, 8:43 PMpuppet strings server -h, which is ... a bit sparse.bastelfreak
11/21/2025, 8:47 PMbastelfreak
11/21/2025, 8:47 PMjms1
11/21/2025, 8:56 PMpuppet strings server --modulepath $HOME/blah/ ... it looks like it went through all the modules, the last thing it printed was Starting YARD documentation server. and then it dropped back to a command prompt ... when i try to access <http://localhost:8808/> it gets "connection refused", and netstat -af inet shows nothing listening on port 8808 ... when i've run similiar things in the past, it would generally print a URL and then wait for incoming connections, rather than dropping back to a command prompt ... did something go wrong and not print an error message?bastelfreak
11/21/2025, 9:00 PMjms1
11/21/2025, 9:04 PMdoc/ directory, and looking at the files within that directory it looks like there are individual documentation files for each class, defined type, etc... but the index.html has "Puppet Class Listing A-Z" but only lists one class (which, coincidentally, looks like the last class it processed)jms1
11/21/2025, 9:07 PMdoc/ directory, that i can upload to a directory on an internal web server, to act as static documentation for a specific "version" of the puppet code ... so to me, the broken indexes are a bigger problem than the "web server isn't running" thing.Oleksandr Lytvyn
11/26/2025, 10:45 AMif dig($facts, 'virtual') == 'vmware' and $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '8' {
if Deferred('file', ['/etc/yum.repos.d/microsoft-prod.repo']).exist? {
file_line { 'microsoft_repo_gpgcheck':
ensure => present,
path => '/etc/yum.repos.d/microsoft-prod.repo',
line => 'gpgcheck=1',
match => '^\s*gpgcheck\s*=.*$',
}
}
}
Basically what makes me somewhat upset is case when in future this file will no longer be there, and from what i remember if file is absent but file_line resource will look for it it will pretty much make "puppet agent -t" fail with ERROR 500 because catalog won't be compiled.
I started asking Microsoft Copilot and it gave me code above using "Deffered" to check if file exists on filesystem and only then try to apply "file_line".
But Google Gemini says that it will not work and that is not how Deffered is used and pushing me towards using module from Forge with "deffered" in its name.
Could someone advice, would code above work? Or what you advice in general for my use case?bastelfreak
11/26/2025, 10:50 AMOleksandr Lytvyn
11/26/2025, 10:52 AMbastelfreak
11/26/2025, 1:59 PM