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

    Slackbot

    06/09/2023, 2:35 PM
    This message was deleted.
    p
    t
    • 3
    • 2
  • s

    Slackbot

    06/12/2023, 10:47 AM
    This message was deleted.
    m
    w
    +3
    • 6
    • 25
  • s

    Slackbot

    06/13/2023, 6:43 AM
    This message was deleted.
    b
    d
    d
    • 4
    • 37
  • b

    boats

    06/13/2023, 10:04 AM
    @boats has left the channel
  • s

    Slackbot

    06/13/2023, 11:41 AM
    This message was deleted.
    b
    t
    t
    • 4
    • 8
  • s

    Slackbot

    06/13/2023, 5:04 PM
    This message was deleted.
    d
    s
    • 3
    • 4
  • m

    Mossman

    06/13/2023, 11:45 PM
    I want to change the control repo URL in my puppet enterprise install to use a fork is that possible without reinstalling the whole thing? so far it seems to change back to the previous value after running the agent again despite changing the value in pe.conf and running
    puppet infrastructure configure
    puppet_enterprise::profile::master::r10k_remote"
  • c

    CVQuesty

    06/14/2023, 1:02 AM
    /etc/puppetlabs/r10k/r10k.yaml
  • c

    CVQuesty

    06/14/2023, 1:02 AM
    oh wait. PE?
  • c

    CVQuesty

    06/14/2023, 1:06 AM
    uhh… in the console or in Hiera, you can change it. Hiera is the key you listed and if you wanted to go into the console, it’s 1. t the Puppet Enterprise Console, navigate to Nodes | Classification | PE Master | Classes Tab | puppet_enterprise:profile:master. 2. In the puppet_enterprise:profile:master class, you need to set the following parameters: • r10k_remote => ‘the git FQDN and path to the namespace/control_repo of this node.’
    Copy code
    e.g. **git@git.example.com:cmadmin/control_repo.git**
  • c

    CVQuesty

    06/14/2023, 1:06 AM
    So, however you have it configured today, either the Hiera you list or the location in the console, mdify that.
  • c

    CVQuesty

    06/14/2023, 1:11 AM
    After making the change on the server, make sure to run
    puppet agent -t
    on the Puppet server itself.
  • m

    Mossman

    06/14/2023, 3:49 AM
    ta!
  • s

    Slackbot

    06/14/2023, 9:55 AM
    This message was deleted.
    ✅ 1
    b
    m
    +2
    • 5
    • 47
  • w

    whatsaranjit

    06/14/2023, 4:14 PM
    New node_manager release to incorporate Ruby v3. Sorry if anyone was waiting: https://forge.puppet.com/modules/WhatsARanjit/node_manager/0.8.0/readme
    👍 2
    🦜 2
  • m

    Moe

    06/14/2023, 7:37 PM
    So I'm revisiting the idea of @bastelfreak where we want to put some settings from out (or from) pe.conf into Hiera. When reading: https://www.puppet.com/docs/pe/2023.2/installing_pe.html As far as I understood the documentation, the pe.conf is read during installation/updates and then never again. Can we just take the settings we changed and put it into hiera? Are there exceptions? We don't have that many. As of now I see that we set the following:
    Copy code
    console_admin_password
    puppet_enterprise::send_analytics_data
    puppet_enterprise::profile::console::display_local_time
    puppet_enterprise::profile::master::check_for_updates
    puppet_enterprise::profile::master::code_manager_auto_configure
    puppet_enterprise::profile::master::r10k_remote
    puppet_enterprise::profile::master::r10k_private_key
    puppet_enterprise::profile::master::r10k_proxy
    puppet_enterprise::profile::orchestrator::use_application_services
    pe_install::puppet_master_dnsaltnames
    Anything to keep in mind when doing that?
  • v

    vchepkov

    06/14/2023, 7:38 PM
    I disagree with the statement 'never again'. In my experience, it is pretty much used
  • b

    bastelfreak

    06/14/2023, 7:39 PM
    all of them can go into hiera
  • b

    bastelfreak

    06/14/2023, 7:39 PM
    the pe.conf is used during upgrades/reconfiguration as well
  • b

    bastelfreak

    06/14/2023, 7:42 PM
    if you changed the PE environment from production to something else, that needs to go into pe.conf. the rest is optional in my experience and I prefer it in hiera because thats easier for version control
  • v

    vchepkov

    06/14/2023, 7:45 PM
    pe.conf is read during compiling catalog. try this on primary
    Copy code
    puppet infrastructure tune --local --pe_conf
    this will populate
    pe.conf
    with 'recommended' settings and then run
    puppet agent -t
    👀 1
  • m

    Moe

    06/14/2023, 7:46 PM
    Ah! Good to know - we have a test Puppet Primary Server that is PE environment "test"
  • m

    Moe

    06/14/2023, 7:48 PM
    I applied those tuned settings on our test node and will keep an eye on it for a couple of days and then see if we apply it on the prod system
  • m

    Moe

    06/14/2023, 7:48 PM
    thank!
  • v

    vchepkov

    06/14/2023, 7:48 PM
    You will see references to pe.conf in
    /opt/puppetlabs/puppet/modules/puppet_enterprise/hiera.yaml
    👀 1
  • s

    Slackbot

    06/15/2023, 3:20 PM
    This message was deleted.
    r
    m
    +3
    • 6
    • 9
  • s

    Slackbot

    06/21/2023, 6:48 AM
    This message was deleted.
    b
    d
    +2
    • 5
    • 4
  • s

    Slackbot

    06/21/2023, 10:04 AM
    This message was deleted.
    b
    m
    • 3
    • 53
  • m

    Moe

    06/21/2023, 12:41 PM
    What should the JSON object for the key
    modules
    look like when using the POST /v1/deploys API?
    {"environments": ["test"], "wait": true, "modules":{ "data": "data"}}
    throws a validation error.
  • s

    steveax

    06/21/2023, 9:54 PM
    Looks like it should be:
    {"environments": ["test"], "wait": true, "modules": ["foo", "bar"]}
1...565758...73Latest