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

    vchepkov

    10/28/2024, 2:01 PM
    You still don't, code manager does
  • k

    kenyon

    10/28/2024, 2:01 PM
    it’s remains true, you don’t change anything there
  • c

    CVQuesty

    10/28/2024, 2:08 PM
    all the fun stuff is there! 😄
    yeah, but my stuff doesn’t spectacularly crash like some people I know. ಠ_ಠ
  • j

    josh

    10/28/2024, 3:53 PM
    The
    puppet-agent
    package creates
    /etc/puppetlabs/code/environments/production
    along with files containing defaults to help users get started. However, when lockless code deploy is enabled, puppetserver's
    codedir
    is configured to point to the new directory.
    c
    v
    • 3
    • 3
  • j

    josh

    10/28/2024, 3:56 PM
    if you're going to move a core system envirnment location, perhaps a grep through all the codebases
    Some people run serverless, so
    puppet-agent
    has to create the old directory
  • c

    CVQuesty

    10/28/2024, 4:00 PM
    Seems like something to let Puppet know what's up such as maybe a new puppet.conf setting: install_type = serverless and then leverage that as a core setting that sort of directs traffic would be an idea I'd offer. That way you're not pooping extra directories onto disk if they've been deprecated or moved? Just thinking out loud.
  • l

    Lumiere

    10/28/2024, 4:39 PM
    except non-PE uses the other dir, and isn't changing... and the agent isn't different between the two?
    c
    • 2
    • 1
  • k

    kenyon

    10/28/2024, 9:25 PM
    my colleague working on a PE upgrade ran into this https://puppet.atlassian.net/browse/DOCUMENT-1230
  • s

    Stevan Svilokos

    10/29/2024, 2:48 PM
    Hello all, We have our puppet master set up behind a DNAT on NSX edge. What would be the right way to set up compilers to use DNAT for all neccesery services AND is such approach is actually supported? In current documentation it suggested that compile masters talk directly to the Master server. Using
    /etc/hosts
    on compilers is not the solution for our case since we usually forget about that one when migrating stuff, and it is more of a hack than a solution. Is it possible at all to set up and configure all the necessary services to use DNAT address in puppet console? Thank you!
  • c

    CVQuesty

    10/29/2024, 2:54 PM
    Names have to be in place and working no matter what. However you decide to address, you will still need either DNS entries or Host File entries to point to the address you use without exception.
  • c

    CVQuesty

    10/29/2024, 2:54 PM
    https://www.puppet.com/docs/pe/2023.8/system_configuration#name_resolution
  • c

    CVQuesty

    10/29/2024, 2:57 PM
    Using the hosts file for names is not really a hack in cloud situations, as multiple interfaces and routes come into play, and your overall design needs to fit within the well architeted framework considerations for your particular cloud provider. If on-prem, simply expose an IP, and point the name(s) in question to the cpnfigured IP, and things should function. Don't sell host file entries short, as they insert into the lib gethostbyname() architecture, and are a perfectly viable alternative if you do not have access to DNS configurtion
    thankyou 1
    s
    v
    • 3
    • 14
  • c

    CVQuesty

    10/29/2024, 3:05 PM
    I need a new keyboard. LOL
  • r

    Raj Parpani

    10/30/2024, 11:40 PM
    Can bolt be used to do puppet agent upgrades like we use it for pe upgrade
  • s

    spp

    10/31/2024, 1:58 AM
    Use the Puppet_agent module and just do it through desired state. The agent is just a package, so you could use a 'bolt command run' or 'bolt task run package'.
  • g

    Goran Brannstrom

    10/15/2024, 11:07 AM
    I wonder, is augeas still the best way to make sure a config file has a certain config line in it? In short, are there any better (easier) ways to achieve the same without the complex syntax of augeas?
    b
    s
    c
    • 4
    • 61
  • r

    Raj Parpani

    10/31/2024, 5:45 PM
    File: /etc/puppetlabs/code/environments/production/modules/puppet_agent/manifests/install/windows.pp
  • r

    Raj Parpani

    10/31/2024, 5:45 PM
    Getting failure on puppet run - agent upgrade failure
  • r

    Raj Parpani

    10/31/2024, 5:46 PM
    Any suggestions on how to resolve this?
  • b

    bastelfreak

    10/31/2024, 6:32 PM
    Why error do you get and which command did you run?
  • r

    Raj Parpani

    11/03/2024, 5:38 PM
    Error: Unable to connect to server from server_list setting: Request to https://us03p02pup10.prod.nexttravel.com:8140/status/v1/simple/server failed after 0.001 seconds: Failed to open TCP connection to us03p02pup10.prod.costcotravel.com:8140 (Connection refused - connect(2) for "us03p02pup10.prod.nexttravel.com" port 8140)
    b
    c
    • 3
    • 2
  • r

    Raj Parpani

    11/03/2024, 5:39 PM
    What is the best way to resolve this error?
  • r

    Raj Parpani

    11/03/2024, 5:40 PM
    For some reason puppet broke
  • j

    Jean-Dominique VANPE

    11/04/2024, 8:56 AM
    Hello all, Do we know when will PE 2023.8.0 will be available for Ubuntu 24 ? What's the plan ? Thanks in advance,
    g
    • 2
    • 11
  • h

    hashim vayalar

    11/04/2024, 12:42 PM
    On the pe primary puppet agent should run ? systemctl status puppet * puppet.service - Puppet agent Loaded: loaded (/usr/lib/systemd/system/puppet.service; enabled; vendor preset: disabled) Active: inactive (dead) since Thu 2024-08-01 042329 UTC; 3 months 4 days ago Docs: man:puppet-agent(8)
  • h

    hashim vayalar

    11/04/2024, 12:42 PM
    Module sync is not happening from jfrog artifactory
  • h

    hashim vayalar

    11/04/2024, 12:45 PM
    sudo -H -u pe-puppet bash -c 'curl -X GET -H "Authorization: Bearer {Token}" https://artifactory url/artifactory/api/puppet/puppet-prod-virtual/v3/modules/filebeat' List all the modules correctly. Mentioned the specific version module on Puppetfile control repo for specific environment. it is not updating. Any idea? Still taking oold module version.
  • b

    bastelfreak

    11/04/2024, 12:57 PM
    the puppet unit is for the puppet agent itself, all the PE specific services are prefixed with pe-
  • h

    hashim vayalar

    11/04/2024, 12:58 PM
    ok. All the pe- services are works well. systemctl status pe-puppetdb systemctl status pe-console-services systemctl status pe-puppetserver
  • b

    bastelfreak

    11/04/2024, 1:00 PM
    okay
1...6970717273Latest