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

    Raj Parpani

    11/13/2025, 9:56 PM
    We do have that branch in azure and tests show it can ping it etc
  • a

    Adrian Parreiras Horta

    11/13/2025, 10:16 PM
    agent-specified
    means the node classifier, i.e. the Console, will use the environment that the agent requests. So whatever is in the agent's
    puppet.conf
    is what will be used for the environment.
    c
    • 2
    • 1
  • r

    Raj Parpani

    11/13/2025, 10:30 PM
    puppet.conf does not have any code to explicitly pickup production
  • r

    Raj Parpani

    11/13/2025, 10:31 PM
    Usually it just look at production
  • r

    Raj Parpani

    11/13/2025, 10:34 PM
    The list should show production in its values like it did before but it does not so trying to fix it
  • s

    steveax

    11/13/2025, 10:38 PM
    one thing to be aware of… the console has a cache as that can be an expensive request if there’s many environments, on the classes tab of the node group detail screen there’s a refresh button
    ➕ 1
  • s

    steveax

    11/13/2025, 10:38 PM
    Screenshot 2025-11-13 at 14.37.56.png
  • r

    Raj Parpani

    11/13/2025, 10:52 PM
    I do know but that doesnt fix the issue of production not showing
  • s

    steveax

    11/13/2025, 10:53 PM
    to narrow things down, what does puppetserver list?
  • s

    steveax

    11/13/2025, 10:53 PM
    Untitled
    Untitled
  • k

    kenyon

    11/13/2025, 11:27 PM
    did you try running explicitly with production, like
    puppet agent --test --environment production
    and then see if the next runs without explicit
    environment
    setting keep using production
  • j

    Jay Iorio

    11/17/2025, 2:32 PM
    Good Morning.. Any ETA on PE 2025.7 , more with respect to the Puppet Agent upgrade to v8.17?
    j
    • 2
    • 6
  • j

    jms1

    11/19/2025, 2:47 PM
    question: is there a way to make
    pdk test unit
    ALWAYS emit coloured text? if i run it with
    | grep
    or
    | less -R
    , the output isn't coloured.
  • c

    CVQuesty

    11/19/2025, 2:56 PM
    yeah, that’s a pipeline thing, I think. Not Puppet’s fault.
  • c

    CVQuesty

    11/19/2025, 2:56 PM
    I run into it with other things and just have to live with no output.
  • j

    jms1

    11/19/2025, 3:07 PM
    i've seen (and written) tools that automatically enable or disable output colouring based on whether STDOUT is a tty or not ... almost always these tools will have options to force colour on, or force colour off. i'm hoping that
    pdk
    has options like this, and they just aren't documented anywhere (including in the
    pdk test unit -h
    output).
  • c

    CVQuesty

    11/19/2025, 3:10 PM
    here’s why I think it’s the pipe… do this:
    pdk --help |grep update
  • c

    CVQuesty

    11/19/2025, 3:10 PM
    it strips the colors
  • c

    CVQuesty

    11/19/2025, 3:10 PM
    now do this:
    pdk --help |grep update --color
  • c

    CVQuesty

    11/19/2025, 3:11 PM
    grep is the thing stripping colors.
  • j

    jms1

    11/19/2025, 3:11 PM
    no, grep is adding the colours. if you run
    pdk -h
    , the word
    update
    is green. with
    pdk -h | grep --color update
    , the word
    update
    is red.
  • c

    CVQuesty

    11/19/2025, 3:11 PM
    even so, this doesn’t just let the text with its existing colors pass
  • c

    CVQuesty

    11/19/2025, 3:12 PM
    what you’re saying is “search for <this> and then color it so I can see it”
  • j

    jms1

    11/19/2025, 3:12 PM
    run
    pdk -h | cat
    ... you'll see what i mean
  • y

    Yorokobi

    11/19/2025, 3:15 PM
    grep --color
    uses
    $GREP_COLORS
    to highlight matching text, not pass the original colour through the pipeline.
  • j

    jms1

    11/19/2025, 3:15 PM
    the problem (for me anyway) is that
    grep
    isn't RECEIVING the colour codes in the first place.
  • j

    jms1

    11/19/2025, 3:16 PM
    the difference is whether `pdk`'s STDOUT is a TTY or not... if it's not a TTY, the
    pdk
    command isn't sending the colour codes.
  • j

    jms1

    11/19/2025, 3:26 PM
    side note ... i had asked (last week maybe?) if there was a way to pre-set the template URL/ref that
    pdk new module
    uses, so you don't need to remember to include the
    --template-url=
    and
    --template-ref=
    options ... turns out the answer is yes:
    Copy code
    pdk set config user.module_defaults.template-url git@github.com:USER/REPO
    pdk set config user.module_defaults.template-ref main
  • j

    jms1

    11/19/2025, 3:29 PM
    (obviously the URL format can also be
    https://
    or
    ssh://
    , or any other URL scheme for which the machine has a remote helper installed ... like on my workstation i could also use
    keybase://
    or
    foks://
    )
  • y

    Yorokobi

    11/19/2025, 3:30 PM
    You can include the ref in the URL, too.