https://www.puppet.com/community logo
Join Slack
Powered by
# puppet-enterprise
  • y

    Yorokobi

    08/13/2025, 9:43 PM
    https://www.puppet.com/docs/pe/2025.2/puppetfile#declare_content_from_a_relative_control_repo_branch
  • j

    jms1

    08/13/2025, 9:47 PM
    i'm looking at https://help.puppet.com/pe/2023.8/topics/puppetfile_relative_control_branch.htm which is the exact version i'm using on my server
  • k

    kenyon

    08/13/2025, 9:47 PM
    you should have a code review process so that there is no accidentally changing things in a repo
  • j

    jms1

    08/13/2025, 9:49 PM
    we do, but ... let's just say there are people "reviewing" PRs who have no idea what they're looking at. the phrase "rubber stamping" has become a common joke/complaint here.
  • k

    kelvin

    08/14/2025, 11:23 AM
    PIM issue I tried PIM for the first time (multiple times) yesterday to bootstrap a prototyping VM for validating backup/recovery and other testing…. It didn’t go well. I tried running with parameters, and that always failed seemingly when setting up ca;
    Copy code
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.730-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Error:
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.730-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/gs-eim-protopuppet.inf.earthdata.nasa.gov.pem
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.731-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/gs-eim-protopuppet.inf.earthdata.nasa.gov.pem
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.731-04:00 - [Error]: '/opt/puppetlabs/bin/puppetserver ca setup --certname <http://gs-eim-protopuppet.inf.earthdata.nasa.gov|gs-eim-protopuppet.inf.earthdata.nasa.gov> --ca-name 'Puppet Enterprise CA generated at +2025-08-13 19:47:46 -0400' --subject-alt-names 'puppet'' returned 1 instead of one of [0]
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.732-04:00 - [Error]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: change from 'notrun' to ['0'] failed: '/opt/puppetlabs/bin/puppetserver ca setup --certname <http://gs-eim-protopuppet.inf.earthdata.nasa.gov|gs-eim-protopuppet.inf.earthdata.nasa.gov> --ca-name 'Puppet Enterprise CA generated at +2025-08-13 19:47:46 -0400' --subject-alt-names 'puppet'' returned 1 instead of one of [0]
    2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.733-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate node cert]: Dependency Exec[generate ca cert] has failures: true
    I tried removing altnames element from parameters.json, and that didn’t fix it. I’m trying the wizard now…
    m
    • 2
    • 4
  • k

    kelvin

    08/14/2025, 11:26 AM
    wizard failed because it doesn’t honor -b “tmpdir=/root/tmp” to specify alternative /tmp directory
  • b

    bastelfreak

    08/14/2025, 11:26 AM
    Is that from a new installation or a recovery?
  • k

    kelvin

    08/14/2025, 11:26 AM
    fresh VM
  • b

    bastelfreak

    08/14/2025, 11:27 AM
    (I prefer using PEADM instead of PIM, PIM is just another abstraction layer that makes it more complicated IMO)
  • k

    kelvin

    08/14/2025, 11:27 AM
    PEADM?
  • b

    bastelfreak

    08/14/2025, 11:27 AM
    which PE version, just primary or also replica/compiler, which parameters and do you have working hostname resolution on the box?
  • k

    kelvin

    08/14/2025, 11:28 AM
    2023.8.5
  • k

    kelvin

    08/14/2025, 11:28 AM
    (current LTS version)
  • b

    bastelfreak

    08/14/2025, 11:28 AM
    bolt is a tool that runs task and plans, similar to ansible. PEADM (https://github.com/puppetlabs/puppetlabs-peadm) is a collection of such tasks and plans to install and modify a PE installation. PIM is a wrapper around bolt and PEADM
  • v

    vchepkov

    08/14/2025, 11:29 AM
    I use vagrant/peadm for sandbox https://github.com/vchepkov/bootstrap-pe-ha
  • v

    vchepkov

    08/14/2025, 11:30 AM
    you can borrow ideas there
  • k

    kelvin

    08/14/2025, 11:30 AM
    We can’t use vagrant anymore because puppet server doesn’t support Apple Silicon
  • v

    vchepkov

    08/14/2025, 11:31 AM
    yep, that's why I will keep my iMac forever 🙂 but if you ignore virtualbox bits, it should work
  • v

    vchepkov

    08/14/2025, 11:31 AM
    just create appropriate inventory.yaml
  • k

    kelvin

    08/14/2025, 11:32 AM
    Vagrant was our development environment until we all got refreshed with M3/M4. Now we’re looking at Docker/Podman.
  • k

    kelvin

    08/14/2025, 11:34 AM
    Yeah, PEADM looks more like what I want. I was frankly kicking the tires of PIM just to see if it would be quick/easy.
  • b

    bastelfreak

    08/14/2025, 11:36 AM
    you could also switch to openvox, which has proper ARM builds 🙂
  • v

    vchepkov

    08/14/2025, 11:36 AM
    You are in PE channel 🙂
  • b

    bastelfreak

    08/14/2025, 11:37 AM
    ¯\_(ツ)_/¯
  • k

    kelvin

    08/14/2025, 11:41 AM
    openvox supports ARM? I had been playing around with openvox last year.
  • k

    kelvin

    08/14/2025, 11:42 AM
    Oh yeah, lookie! https://downloads.voxpupuli.org/mac/openvox8/15/
  • b

    bastelfreak

    08/14/2025, 11:42 AM
    We also have EL10 ARM builds https://yum.voxpupuli.org/openvox8/el/10/aarch64/ and other platforms
  • k

    kelvin

    08/14/2025, 11:42 AM
    Stop winning!
  • b

    bastelfreak

    08/14/2025, 11:42 AM
    okay, so I won't mention the containers that we have
  • k

    kelvin

    08/14/2025, 11:43 AM
    🙂