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

    Slackbot

    04/28/2022, 10:02 PM
    This message was deleted.
    c
    • 2
    • 1
  • i

    Isaiah Frantz

    04/28/2022, 10:22 PM
    anybody know if you can override parts of a complex fact on the cli? (something like
    FACTER_dmi.product.name='not vmware' facter dmi.product.name
    )
  • i

    Isaiah Frantz

    04/28/2022, 10:23 PM
    Ive tried a bunch of searches and variations but none of them have worked 😞
  • n

    natemccurdy

    04/28/2022, 10:33 PM
    That’s not possible. The
    FACTER_
    override behavior is only able to set facts to Strings.
    gratitude thank you 1
  • n

    natemccurdy

    04/28/2022, 10:33 PM
    That’s not possible. The
    FACTER_
    override behavior is only able to set facts to Strings.
  • t

    thedonkdonk

    04/28/2022, 10:48 PM
    Am I reading this right? networking.primary fact detected by output of
    ip route show default
    ? https://github.com/puppetlabs/facter/blob/003ed6663c0e5ad2b4257e3d95e2d208d38eb95e/lib/facter/util/resolvers/networking/primary_interface.rb#L50
  • t

    thedonkdonk

    04/28/2022, 10:48 PM
    Am I reading this right? networking.primary fact detected by output of
    ip route show default
    ? https://github.com/puppetlabs/facter/blob/003ed6663c0e5ad2b4257e3d95e2d208d38eb95e/lib/facter/util/resolvers/networking/primary_interface.rb#L50
  • n

    natemccurdy

    04/28/2022, 10:51 PM
    Yup. But that’s the second choice: https://github.com/puppetlabs/facter/blob/88a4f07aca392d438792c329994c462de0c7746b/lib/facter/resolvers/linux/networking.rb#L111-L118
  • n

    natemccurdy

    04/28/2022, 10:51 PM
    Yup. But that’s the second choice: https://github.com/puppetlabs/facter/blob/88a4f07aca392d438792c329994c462de0c7746b/lib/facter/resolvers/linux/networking.rb#L111-L118
  • t

    thedonkdonk

    04/28/2022, 10:56 PM
    which also checks for default route. got it.
  • t

    thedonkdonk

    04/28/2022, 10:56 PM
    thanks again @natemccurdy
  • s

    Slackbot

    04/29/2022, 6:56 AM
    This message was deleted.
    y
    r
    b
    • 4
    • 10
  • y

    Yury Bushmelev

    04/29/2022, 7:51 AM
    But the octocatalog-diff is dead, right?
  • s

    Slackbot

    04/29/2022, 9:22 AM
    This message was deleted.
    t
    n
    • 3
    • 2
  • t

    tuxmea

    04/29/2022, 9:25 AM
    You can find all resources from last catalog in /opt/puppetlabs/puppet/cache/state/resources.txt. If you need the tags, you must parse the catalog (json). Catalog is cached on the node in /opt/puppetlabs/puppet/cache/client_data/catalog/
  • t

    tuxmea

    04/29/2022, 9:25 AM
    You can find all resources from last catalog in
    /opt/puppetlabs/puppet/cache/state/resources.txt
    . If you need the tags, you must parse the catalog (json). Catalog is cached on the node in
    /opt/puppetlabs/puppet/cache/client_data/catalog/
  • s

    Samy

    04/29/2022, 9:54 AM
    Hi Everyone, Regarding cem_linux module, cem_linux:utilspackages:linux :ssh Has many sshd configuration values, And, I wanted to change 2 values only for 3 specific nodes. For ex: I want to change AllowTcpForwarding and max_startups On 3 servers only Any workaround for this?
  • s

    Slackbot

    04/29/2022, 11:14 AM
    This message was deleted.
    t
    • 2
    • 1
  • s

    Samy

    04/29/2022, 1:18 PM
    Hi Everyone, Regarding cem_linux module, cem_linux:utilspackages:linux :ssh Has many sshd configuration values, And, I wanted to change 2 values only for 3 specific nodes. For ex: I want to change AllowTcpForwarding and max_startups On 3 servers only Any workaround for this?
  • m

    Matt Perkins

    04/29/2022, 2:21 PM
    Hello all, I'm trying to upgrade MongoDB version 2.6 to version 3. I'm getting a conflict error when it tries to install version 3 due to version 2.6 already existing. I can manually remove 2.6 and then the install should go through, but is there a better way to force the update to avoid the manual uninstall?
  • c

    CVQuesty

    04/29/2022, 2:32 PM
    I’m not seeing the Puppet portion of this.
  • n

    nwops

    04/29/2022, 2:43 PM
    is there not a sssd module for rhel8? Can’t seem to find one in the forge.
  • s

    Slackbot

    04/29/2022, 2:44 PM
    This message was deleted.
    n
    c
    • 3
    • 6
  • f

    ferventcoder

    04/29/2022, 2:44 PM
    The module simply explains how to keep Puppet from doing what it does. It does this with everything with spaces
  • c

    CVQuesty

    04/29/2022, 2:44 PM
    Says it’s compatible with both 7 & 8
  • m

    Matt Perkins

    04/29/2022, 2:46 PM
    I'm using puppet to upgrade it/manage the config, but I'd like to make it a bit more automated by removing the manual uninstall piece.
  • c

    CVQuesty

    04/29/2022, 2:47 PM
    Are you getting a duplicate declaration error?
  • m

    Matt Perkins

    04/29/2022, 2:48 PM
    Error: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install mongodb-org-shell-3.0.0' returned 1: Error: mongodb-org-shell conflicts with mongodb-server-2.6.12-4.el7.x86_64
  • c

    CVQuesty

    04/29/2022, 2:48 PM
    Ah. Yeah, that’s a Yum thing. Out of Puppet’s control.
  • c

    CVQuesty

    04/29/2022, 2:48 PM
    Welcome to RPM hell
1...121314...428Latest