https://www.puppet.com/community logo
Join Slack
Powered by
# puppet
  • r

    rmeden

    10/29/2025, 6:38 PM
    Howdy all... I'm stumped and interested in some tips to track down how this is working. Environment: Puppetserver 7.17 and foreman 3.14. This year we've updated from old versions of Puppet... I think it was 2.7 (that was fun!) I have two hosts using a locally built proftpd module ages ago. The structure looks like it was developed with the PDK. (init and params manifests). There is a variable called $service_manage that controls if the proftpd service is managed (duh). These hosts are set up in different clusters and should have $proftpd::service_manage set to "false" so the cluster can manage it. I added a notify{} before $service_manage if statement and one one host it is "false" and another has it as the default "true". I can't find where it is being set to "false". I've confirmed it is being set in the host's catalog (not cached in the puppet client). Places I've looked: grep -ir service_manage /etc/puppetlabs/* (includes modules and hiera) foreman node parameters via the web foreman database parameters table Any idea where else to look? I wonder if the upgrades kept an old setting somewhere? I want to fix the old host, but not at the expense of the working one!
    j
    b
    • 3
    • 4
  • b

    bastelfreak

    10/29/2025, 7:23 PM
    @rmeden you want to use "puppet lookup" on the puppetserver to check for hiera values
  • l

    Leon Ross

    11/04/2025, 9:40 AM
    @Leon Ross has left the channel
  • o

    Oleksandr Lytvyn

    11/04/2025, 11:38 AM
    Hello, i have a strange situation. I have Puppet sever open source 7 and i have RHEL 9 virtual machine (VM). On this VM i installed Puppet agent and it was working fine. Then this VM was moved to another network and its hostname was changed. Now when i logged into this VM, it's new hostname is "a-dfweq-pgk-001". I went to Puppet server and checked - there is no certificate for this hostname. Then i returned to client VM and stopped puppet service and removed /etc/puppetlabs/puppet/ssl directory completely and after that i executed "puppet agent -t". Usually it should make a new CSR and contact Puppet server to auto sign certificate. But right now i have next error:
    Copy code
    a-dfweq-pgk-001 /etc/puppetlabs/puppet # puppet agent -t
    Error: Connection to <https://d-dfweq-vua-011.example.com:8140/puppet-ca/v1> failed, trying next route: Request to <https://d-dfweq-vua-011.example.com:8140/puppet-ca/v1> failed after 0.005 seconds: Connection reset by peer - SSL_connect
    Wrapped exception:
    Connection reset by peer - SSL_connect
    Error: No more routes to ca
    Error: No more routes to ca
    I can see that puppet agent didn't created certificates:
    Copy code
    a-dfweq-pgk-001 /etc/puppetlabs/puppet # tree ssl
    ssl
    ├── certificate_requests
    ├── certs
    ├── private
    ├── private_keys
    └── public_keys
    What interesting when i check on the client VM nslookup, ping, and nc -vz d-dfweq-vua-011.example.com 8140 everything is ok. I even checked tcpdump on Puppet server -> traffic is going ok in both directions. Also i checked SELinux, restarted puppetserver service, checked puppet.conf on client VM. Could you please help me to fix this issue? (also i was using ChatGPT to troubleshoot it, followed all suggestions and it is still not resolved)
    ✅ 1
  • b

    bastelfreak

    11/04/2025, 11:43 AM
    Something terminates your connection. Maybe a firewall, load balancer, or http proxy
    ✅ 1
    ☝️ 1
    o
    c
    • 3
    • 2
  • j

    jms1

    11/04/2025, 9:15 PM
    dumb question ... fact names all share a global namespace. what happens if multiple modules contain the same fact (i.e.
    pdk 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?
    b
    a
    +3
    • 6
    • 14
  • h

    Henri No

    11/06/2025, 8:18 AM
    Hi everyone How can we manage this pull request on docker module ? https://github.com/puppetlabs/puppetlabs-docker/pull/965
  • k

    kenyon

    11/06/2025, 9:45 PM
    what do you mean by "manage" it
  • l

    Laryssa Araujo

    11/09/2025, 3:34 PM
    Hi everyone, I’m building a proof of concept (POC) of Puppet and need to install PuppetServer on an EKS cluster. The server will run on my EC2 instances, and we’re using Puppet Open Source. I haven’t found consistent documentation about Puppet on Kubernetes. The only option I found is to run the PuppetServer on EC2 instances, which we don’t want. Since the official image in the Docker Registry is deprecated, and the Voxpuli Puppet Server image is too, I had to build a Dockerfile. https://hub.docker.com/r/puppet/puppetserver/ https://hub.docker.com/r/voxpupuli/container-puppetserver I noticed the official Puppet Server Helm Chart: https://github.com/puppetlabs/puppetserver-helm-chart, but some of its dependencies reference Bitnami images. Do you have any suggestions for alternatives to this? If you’ve faced a similar challenge (PuppetServer on a Kubernetes cluster) before, please share your experience and knowledge with me. Thank you so much.
    s
    • 2
    • 2
  • s

    saz

    11/11/2025, 11:37 AM
    @Jason St-Cyr Is there a way to get the puppetlabs-apt module to a better state? Ubuntu 24.04 isn't supported yet, neither Debian Trixie.
    j
    k
    b
    • 4
    • 11
  • n

    Nicholas Hasser

    11/11/2025, 3:32 PM
    Hi everyone. I'm running open source Puppet version 7. I'm using the roles/profiles architecture to manage my configurations. I'm using the puppetlabs/docker module to manage my compose files/services (docker_compose resource definitions) for various application stacks. One of my compose-based application stacks is an nginx reverse proxy for a number of FQDNs. I'm writing a custom module to manage certificates using lego. My lego module loops over a list of domains and uses exec resources to create/renew the certificates. I'm struggling to figure out how to declare the dependencies between my lego module certificate creation and/or renewal with restarting my nginx stack. I'm trying to keep the modules as loosely coupled as possible. I've tried creating File resources for the certificates within the loop and subscribing the nginx docker_compose resource to the certificate File resources. I am getting errors from the nginx docker_compose that the File resources do not exist, presumably because they are dynamically generated in the loop and haven't been actualized yet? I've thought that somehow declaring the dependencies within my profiles is a better approach, but I haven't been able to wrap my head around how to declare a dependency in a class external to both the File or Docker_compose resources. I'm looking for suggestions on the best way to approach this situation. Should I give up the idea of loosely coupling the module? Is there a way to subscribe to resources that are dynamically created within a loop in a different module?
    k
    • 2
    • 3
  • j

    jms1

    11/11/2025, 4:09 PM
    question ... i'm looking at https://help.puppet.com/pe/current/topics/certificate-authority-service-parameters.htm ... i hadn't realized that agent certs are only 90 days and are automatically re-issued, that is cool ... my question is, does the same thing happen for the CA certificate?
    b
    c
    • 3
    • 5
  • r

    redat

    11/17/2025, 4:39 PM
    Hey everyone ! Trying to understand how the Puppet CA works. When I'm submitting a new CSR as an agent to the Puppet Master, how is the transaction secured ? Most importantly with which certificate ? As far as I'm aware, the certificate exposed by the Puppet Master server is not signed by a trusted CA by the agent (I think) for now. How does this not fail ?
    c
    b
    +2
    • 5
    • 15
  • m

    Massimiliano (Max)

    11/18/2025, 8:34 PM
    is this an issue with Github, or with access to the modules? (same iwth
    Copy code
    $ 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.
  • m

    Massimiliano (Max)

    11/18/2025, 8:35 PM
    I was typing: same with HTTPS. p.s.: one hour ago Codeberg was down. What's wrong today? 🙂
  • c

    CVQuesty

    11/18/2025, 8:36 PM
    cloudflare was barfing early this morning
  • b

    bastelfreak

    11/18/2025, 8:43 PM
    Github has issues again
    dead yes 1
  • k

    kenyon

    11/18/2025, 8:48 PM
    finally they put something up https://www.githubstatus.com/incidents/5q7nmlxz30sk I was seeing weirdness with the web interface an hour ago
  • c

    CVQuesty

    11/18/2025, 8:52 PM
    yuuup. Just tried an r10k and it failed spectacularly
  • c

    CVQuesty

    11/18/2025, 8:54 PM
    The requested URL returned error: 500
  • j

    jms1

    11/21/2025, 8:37 PM
    question ...
    puppet 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"?
  • b

    bastelfreak

    11/21/2025, 8:40 PM
    That's what the puppet strings server can do.
  • b

    bastelfreak

    11/21/2025, 8:41 PM
    And there is also https://www.puppetmodule.info/modules
  • j

    jms1

    11/21/2025, 8:43 PM
    is there any documentation about "the puppet strings server"? all i've ever seen is the output from
    puppet strings server -h
    , which is ... a bit sparse.
  • b

    bastelfreak

    11/21/2025, 8:47 PM
    Yes that's it
  • b

    bastelfreak

    11/21/2025, 8:47 PM
    https://www.puppet.com/docs/puppet/7/puppet_strings.html#strings-server
  • j

    jms1

    11/21/2025, 8:56 PM
    okay ... i just ran
    puppet 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?
  • b

    bastelfreak

    11/21/2025, 9:00 PM
    I am quite sure it should run in foreground
  • j

    jms1

    11/21/2025, 9:04 PM
    it looks like it created a
    doc/
    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)
  • j

    jms1

    11/21/2025, 9:07 PM
    and actually, what i'm hoping for isn't a running "server" with the docs, but the collection of HTML/CSS/JS/etc. files that appears to be in that
    doc/
    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.