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

    ziggy

    07/21/2022, 10:06 PM
    Thank you! This is great
  • s

    Slackbot

    07/22/2022, 9:38 AM
    This message was deleted.
    n
    b
    • 3
    • 31
  • r

    Robert Vincent

    07/22/2022, 4:19 PM
    How would you, using the PE console, write a node-group rule that selected nodes for which the
    ec2_metadata
    fact exists?
  • r

    Robert Vincent

    07/22/2022, 4:21 PM
    I've tried
    ec2_metadata != undef
    ,
    ec2_metadata != null
    ,
    ec2_metadata != nil
    ,
    ec2_metadata ~ Hash
    , none of which works.
  • v

    vchepkov

    07/22/2022, 4:22 PM
    the problem here is that ec2_metadata is a structured fact
  • v

    vchepkov

    07/22/2022, 4:22 PM
    and console operators don't work like that
  • v

    vchepkov

    07/22/2022, 4:24 PM
    try
    ec2_metadata.hostname ~ .*
  • b

    bastelfreak

    07/22/2022, 4:27 PM
    I did a count on that table, was around 1.400.000 entries
  • n

    npwalker

    07/22/2022, 4:30 PM
    maybe, I don’t remember
  • r

    Robert Vincent

    07/24/2022, 3:58 AM
    @vchepkov -- I eventually settled on
    ec2_metadata.hostname ~ .
    . because hostname should be non-blank. Thanks for the confirmation!
    👍 1
  • r

    Robert Vincent

    07/24/2022, 3:59 AM
    @vchepkov -- I eventually settled on
    ec2_metadata.hostname ~ .
    . because hostname should be non-blank. Thanks for the confirmation!
  • m

    Marty Ewings

    07/25/2022, 12:14 PM
    set the channel topic: Puppet Enterprise 2019.8: Empowering automation simply, safely, and at scale. https://puppet.com/docs/pe/2019.8/release_notes_pe.html See the Support Knowledge Base https://support.puppet.com/hc/en-us
  • m

    Marty Ewings

    07/25/2022, 12:15 PM
    Hi Folks Just a quick reminder the Support Knowledge Base Is open to all users without requirement for registration https://support.puppet.com/hc/en-us
    👍 2
    đź’Ż 2
  • m

    Marty Ewings

    07/25/2022, 12:15 PM
    Hi Folks Just a quick reminder the Support Knowledge Base Is open to all users without requirement for registration https://support.puppet.com/hc/en-us
  • s

    Slackbot

    07/26/2022, 5:05 PM
    This message was deleted.
    n
    t
    c
    • 4
    • 8
  • t

    tenajsystems

    07/26/2022, 5:07 PM
    I am trying to provision a new compiler but when I run
    puppet infrastructure provision compiler <http://puppetcompiler-prod.com|puppetcompiler-prod.com>
    on the primary server and after sometime, I get the below error. Any thoughts on this error? This is on the latest LTS version.
    Copy code
    Errors in task facts:
      <http://puppetcompiler-prod.com|puppetcompiler-prod.com>:
        Message: ERROR: unsupported Unicode escape sequence
      Detail: \u0000 cannot be converted to text.
      Where: JSON data, line 1: ...apl_msr"]},"virtio_mmio":{"parameters":{"device":...
        Kind:
        Details:
          nil
    
    Overall job status: failure...
    Error: Error during orchestrated plan run of enterprise_tasks::provision_compiler.
    Error: An error has occurred while running orchestrated plan.
            Message: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /opt/puppetlabs/puppet/modules/enterprise_tasks/plans/agent_cert_regen.pp, line: 77, column: 57)
            Kind: bolt/pal-error
            Details:
                    file: /opt/puppetlabs/puppet/modules/enterprise_tasks/plans/agent_cert_regen.pp
                    line: 77
    
                    column: 57
  • n

    NickB

    07/26/2022, 5:09 PM
    Looks like one of your facts might have some sort of unicode value the fact parser doesn’t like, so it ends up breaking the plan where it’s trying to get facts from the node.
  • t

    tenajsystems

    07/26/2022, 6:03 PM
    I did that. Puppet runs fine with no errors and nothing funky when I run
    factor -p
  • n

    NickB

    07/26/2022, 9:20 PM
    You could possibly try running
    puppet task run facts --nodes <http://puppetcompiler-prod.com|puppetcompiler-prod.com>
    , not sure if you’ll get more info or not
  • e

    Esteban Almarales

    07/26/2022, 9:29 PM
    one easy, package { 'Binary Tree Active Directory Pro Agent': ensure => installed, source => '/binaries/cloud/windows/BinaryTree/Active-Directory-Pro-Agent-20.1.0.1-Installer.msi', install_options => [ '/passive', { 'INSTALLDIR' => 'C:\binarytree'}] } this if having issue installing the msi, What if can instead of trying to just install it, try to run this from o local path, buth how do in download / copy that msi to a local path? anyone with a basic command?
  • e

    Esteban Almarales

    07/26/2022, 9:29 PM
    one easy, package { 'Binary Tree Active Directory Pro Agent': ensure => installed, source => '/binaries/cloud/windows/BinaryTree/Active-Directory-Pro-Agent-20.1.0.1-Installer.msi', install_options => [ '/passive', { 'INSTALLDIR' => 'C:\binarytree'}] }
  • e

    Esteban Almarales

    07/26/2022, 10:19 PM
    one easy, package { 'Binary Tree Active Directory Pro Agent': ensure => installed, source => '/binaries/cloud/windows/BinaryTree/Active-Directory-Pro-Agent-20.1.0.1-Installer.msi', install_options => [ '/passive', { 'INSTALLDIR' => 'C:\binarytree'}] } this if having issue installing the msi, What if can instead of try to run this from o local path, buth how do in download / copy that msi to a local path? anyone with a basic command?
  • e

    Esteban Almarales

    07/26/2022, 10:20 PM
    one easy, package { 'Binary Tree Active Directory Pro Agent': ensure => installed, source => '/binaries/cloud/windows/BinaryTree/Active-Directory-Pro-Agent-20.1.0.1-Installer.msi', install_options => [ '/passive', { 'INSTALLDIR' => 'C:\binarytree'}] } this if having issue installing the msi, What if can instead of trying to just install it, try to run this from o local path, buth how do in download / copy that msi to a local path? anyone with a basic command?
  • s

    Slackbot

    07/27/2022, 2:59 PM
    This message was deleted.
    m
    b
    s
    • 4
    • 12
  • s

    spin

    07/27/2022, 7:25 PM
    multiple minutes on reports showing up for sure.. but the network latency is 80-85ms solid. throughput is substantial, so i wouldnt expect its having trouble keeping up from a network perspective.. looking at our monitoring its not sending substantial amounts of data.. there is not flat lining going on in network utilization or anything
  • s

    Slackbot

    07/27/2022, 7:46 PM
    This message was deleted.
    b
    t
    v
    • 4
    • 50
  • b

    bastelfreak

    07/27/2022, 8:02 PM
    you can configure that via hiera or in the console
  • v

    vchepkov

    07/27/2022, 8:09 PM
    He is my setup, I use three control repositories there
  • s

    Slackbot

    07/28/2022, 4:52 PM
    This message was deleted.
    b
    t
    • 3
    • 3
  • s

    Slackbot

    07/29/2022, 6:11 PM
    This message was deleted.
    n
    z
    +4
    • 7
    • 15
1...161718...73Latest