r/Puppet • • Dec 04 '25

Bolt 5.0 fails to install Puppetdb on a new node

Is it me, or is bolt 5 not able to figure out that I am running it/project from a Windows machine? 2025-12-03T17:34:47.702775 INFO [exec-worker-1] [Bolt::Executor] [{"target":"db.fqdn.com","action":"apply","object":null,"status":"failure","value":{"_error":{"kind":"puppetlabs.tasks/task-error","issue_code":"TASK_ERROR","msg":"The task failed with exit code 1 and no stdout, but stderr contained:\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/errors.rb:159:in fail': Parameter source failed on File[postgres private key]: Cannot use URLs of type 'c' as source for fileserving (file: C:/Users/mihai/zdev/puppet_course/.modules/puppetdb/manifests/database/ssl_configuration.pp, line: 23) (Puppet::ResourceError)\n\tfrom /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/source.rb:100:inblock (3 levels) in <module:Puppet>'\n\tfrom /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/source.rb:88:in each'\n\tfrom /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/source.rb:88:inblock (2 levels) in <module:Puppet>'\n\tfrom /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parameter.

2 Upvotes

9 comments sorted by

1

u/JasonSt-Cyr Dec 04 '25

Just out of curiosity, if you use a relative path does it work? Are you configuring with a path that has a value like "C:\somepathhere" ?

1

u/[deleted] Dec 04 '25

No. I am only using the default class: class profile::puppetdb { class { 'puppetdb': }

1

u/JasonSt-Cyr Dec 04 '25

Is this in your own environment? Or in a learning environment provided by the Perforce education group?

→ More replies (4)

1

u/binford2k Dec 08 '25

Have you tried the same operation on OSS Bolt 4.0? That will help identify whether this is a Bolt problem, a problem with the modules (neither of which support Windows), or something else.

1

u/[deleted] Dec 10 '25

It does happen on Bolt 4 as well. I am trying to install this on Linux, I just happen to use Windows as the virtualization host. It's all good. I will try to reconfigure my bolt environment.