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

    bastelfreak

    05/05/2022, 5:37 AM
    and working on a shared workflow for ra10ke st https://github.com/voxpupuli/gha-puppet/pulls
  • j

    jms1

    05/05/2022, 12:49 PM
    i'm still trying to learn about workflows in general, but i still need to re-organize things from the current "everything in three repos" to the normal "control repo plus one repo per module" layout, before i'll be able to do anything like that ... i have a list of things to check out if i ever think i'll be able to do that conversion, i've added these two things to that list. thanks for the pointers.
  • s

    Slackbot

    05/05/2022, 1:37 PM
    This message was deleted.
    m
    b
    +2
    • 5
    • 28
  • m

    Marty Ewings

    05/05/2022, 2:00 PM
    ill see if there is an official statement
  • s

    Slackbot

    05/05/2022, 5:33 PM
    This message was deleted.
    r
    n
    b
    • 4
    • 4
  • n

    nwops

    05/05/2022, 8:50 PM
    I want to deploy all my enviornments via a github webhook. I was trying to use the deploys API but it requires a json payload and not html parameters. https://puppet.com/docs/pe/2019.8/code_manager_api.html#code_mgr_post_deploys
  • n

    nwops

    05/05/2022, 8:50 PM
    Is there another way without CI job.
  • b

    bastelfreak

    05/05/2022, 8:52 PM
    whats the issue with json
  • b

    bastelfreak

    05/05/2022, 8:52 PM
    github webhooks support both, you can configure it
  • n

    nwops

    05/05/2022, 8:55 PM
    ahh I’ll use that. I thought the api supported both forms but only the payload
  • b

    bastelfreak

    05/05/2022, 8:56 PM
    ahhhh
  • b

    bastelfreak

    05/05/2022, 8:57 PM
    so the usual github webhook can call any site and provide information about the event as url encoded or jskn
  • b

    bastelfreak

    05/05/2022, 8:57 PM
    but you cannot set your own payload. but code manager has a proper endpoint for github
  • b

    bastelfreak

    05/05/2022, 8:58 PM
    or use a github action and set your desired payload?
  • n

    nwops

    05/05/2022, 8:58 PM
    and the normal webhooks api doesn’t support “All”
  • n

    npwalker

    05/05/2022, 8:59 PM
    what’s the use case for having a repo tell code manager to deploy all environments? Is this a module that you want deployed to all environments?
  • n

    nwops

    05/05/2022, 9:00 PM
    YAML based environments: https://github.com/nwops/puppet-environments
  • n

    nwops

    05/05/2022, 9:00 PM
    YAML based environments: https://github.com/nwops/puppet-environments
  • n

    nwops

    05/05/2022, 9:00 PM
    Anytime that r10k-environments file is updated I want to deploy all.
  • n

    npwalker

    05/05/2022, 9:01 PM
    you really really want to deploy them all or you want to deploy the ones that you added, removed or modified?
  • n

    nwops

    05/05/2022, 9:01 PM
    well, really only the ones modifed
  • n

    nwops

    05/05/2022, 9:01 PM
    but I need some extra code for that. Right now this is just a hack.
  • n

    npwalker

    05/05/2022, 9:03 PM
    makes sense. I don’t think you can do that 😞
  • n

    npwalker

    05/05/2022, 9:03 PM
    action that hits the api directly seems like what you’d have to do
  • s

    Slackbot

    05/05/2022, 9:03 PM
    This message was deleted.
    n
    n
    b
    • 4
    • 9
  • j

    Justin Stoller

    05/05/2022, 9:30 PM
    https://github.com/puppetlabs/puppet/blob/main/lib/puppet/environments.rb#L198 is all it does
  • s

    Slackbot

    05/05/2022, 9:33 PM
    This message was deleted.
    n
    r
    c
    • 4
    • 12
  • d

    damsdri

    05/06/2022, 8:40 AM
    for tuning reasons I have set the
    puppet_enterprise::puppetserver_ram_per_jruby
    parameter to
    2048
    on our compilers, but how can I verify this setting? should it be visible somewhere in the logs?
  • b

    bastelfreak

    05/06/2022, 8:51 AM
    I would guess that sets the xmx/xms for the puppetserver jvm and other things
  • b

    bastelfreak

    05/06/2022, 8:51 AM
    https://puppet.com/docs/pe/2021.2/tuning_infrastructure.html#tuning_parameters
1...456...73Latest