bastelfreak
11/14/2025, 6:38 PMjms1
11/14/2025, 6:39 PMbastelfreak
11/14/2025, 6:40 PMjms1
11/14/2025, 6:40 PMlet(:node) { 'target.example.com' } to set the name of the machine whose catalog is being built, i need to be able to set the name of the puppet server which is building the catalog.bastelfreak
11/14/2025, 6:41 PMbastelfreak
11/14/2025, 6:41 PMjms1
11/14/2025, 6:41 PMbastelfreak
11/14/2025, 6:41 PMbastelfreak
11/14/2025, 6:41 PMbastelfreak
11/14/2025, 6:41 PMjms1
11/14/2025, 6:42 PMbastelfreak
11/14/2025, 6:42 PMbastelfreak
11/14/2025, 6:43 PMjms1
11/14/2025, 6:44 PMbastelfreak
11/14/2025, 6:44 PMbastelfreak
11/14/2025, 6:44 PMbastelfreak
11/14/2025, 6:54 PMjms1
11/19/2025, 10:45 PMpdk validate returns this error
pdk (WARNING): puppet-lint: class parameter with String type defaults to empty string
on this line in a class's parameter list
String $xyz = '' ,
... removing the = '' makes puppet-lint happy, but it changes the parameter from "optional with a default value" (which is what i need in this case) to "required" (which is NOT what i need)rnelson0
12/05/2025, 8:37 PMjms1
12/10/2025, 7:28 PMpe_ini_setting { 'main strict_variables true' :
path => '/etc/puppetlabs/puppet/puppet.conf' ,
section => 'main' ,
setting => 'strict_variables' ,
value => true ,
}
when i try to run a unit test against it, the "expected to compile a catalog" test is failing with Unknown resource type: 'pe_node_group' ... is there a way to "mock up" the PE modules? (i'm assuming there's no way to access their source code repos, so they can't be added to .fixtures.yml)jms1
12/11/2025, 8:45 PM.fixtures.yml file, i changed
fixtures :
repositories :
aaa :
repo : 'git@github.com:user/aaa'
ref : 'main'
to
fixtures :
repositories :
aaa :
repo : 'git@github.com:user/aaa'
ref : 'feature-branch-name'
with this change, pdk bundle exec rake spec_prep is throwing this error:
HEAD is now at de36198 ABC-123 other unrelated change
fatal: ambiguous argument 'feature-branch-name': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git command [revision...] -- [file...]'jms1
12/12/2025, 2:29 PMon_supported_os uses for each OS, but i didn't think to write down the URL or name ... does somebody happen to have that info handy?bastelfreak
12/12/2025, 2:31 PMjms1
12/12/2025, 2:33 PMbastelfreak
12/12/2025, 2:33 PMjms1
12/12/2025, 2:37 PMbastelfreak
12/12/2025, 2:40 PMpdk bundle info facterdbbastelfreak
12/12/2025, 2:40 PMjms1
12/12/2025, 2:42 PM$ pdk bundle info facterdb
pdk (INFO): Using Ruby 3.2.8
pdk (INFO): Using Puppet 8.10.0
* facterdb (3.10.0)
Summary: A Database of OS facts provided by Facter
Homepage: http://github.com/voxpupuli/facterdb
Path: /opt/puppetlabs/pdk/share/cache/ruby/3.2.0/gems/facterdb-3.10.0
Reverse Dependencies:
puppet-debugger (1.6.0) depends on facterdb (>= 0.4.0)
rspec-puppet-facts (5.4.0) depends on facterdb (~> 3.1)Stevan Svilokos
11/19/2026, 4:28 PM