https://www.puppet.com/community logo
Join Slack
Powered by
# puppet
  • t

    todd.seidenberg

    06/13/2023, 9:47 PM
    so I do a
    if defined(User['some_user_name']
  • t

    todd.seidenberg

    06/13/2023, 9:48 PM
    however - in that class - the users are never defined.
  • s

    Slackbot

    06/13/2023, 9:48 PM
    This message was deleted.
    b
    t
    +2
    • 5
    • 11
  • t

    todd.seidenberg

    06/13/2023, 9:51 PM
    Im sure that the classes are both included in the manifest
  • s

    Slackbot

    06/13/2023, 10:16 PM
    This message was deleted.
    y
    p
    +3
    • 6
    • 18
  • s

    Slackbot

    06/14/2023, 5:54 AM
    This message was deleted.
    y
    m
    • 3
    • 2
  • s

    Slackbot

    06/14/2023, 1:39 PM
    This message was deleted.
    b
    e
    +3
    • 6
    • 13
  • s

    Slackbot

    06/14/2023, 3:25 PM
    This message was deleted.
    c
    n
    • 3
    • 2
  • l

    Liam Curtis

    06/14/2023, 3:33 PM
    Hello all - I have inherited a puppet 5.5 / foreman environment and the CA expired. WE created a new CA, but I am seeing this in the puppetserver logs
    Copy code
    [p.t.a.rules] Forbidden request: <ip address> access to /puppet/v3/file_metadatas/modules/xxxx (method :get) (authenticated: false) denied by rule 'puppetlabs file metadata'.
  • s

    Slackbot

    06/14/2023, 3:33 PM
    This message was deleted.
    j
    l
    • 3
    • 47
  • l

    Liam Curtis

    06/14/2023, 3:34 PM
    ip address is an haproxy lb
    šŸ™ 1
  • s

    Slackbot

    06/14/2023, 3:40 PM
    This message was deleted.
    s
    j
    • 3
    • 2
  • s

    Slackbot

    06/14/2023, 4:56 PM
    This message was deleted.
    j
    • 2
    • 1
  • s

    Slackbot

    06/14/2023, 5:06 PM
    This message was deleted.
    b
    i
    • 3
    • 12
  • u

    Ugo Bellavance

    06/14/2023, 5:58 PM
    Is it me or it's not possible to use a password hash for the MySQL root password, using the puppetlabs-mysql module? I know it's probably not as secure as using eyaml but I was wondering why it couldn't be done for the mysql root account.
  • d

    Dr Bunsen Honeydew

    06/14/2023, 5:58 PM
    See the
    puppetlabs-mysql
    module at https://forge.puppet.com/puppetlabs/mysql?src=slack&amp;channel=puppet
  • s

    Slackbot

    06/14/2023, 7:38 PM
    This message was deleted.
    b
    c
    +4
    • 7
    • 59
  • j

    Joel Wilson

    06/14/2023, 7:57 PM
    Could a parameter that results in an array be used to create multiple hiera levels?
  • l

    Lumiere

    06/14/2023, 7:58 PM
    hiera interp has to return string or something that can be munged to string iirc
  • l

    Lumiere

    06/14/2023, 7:58 PM
    (aka int/float)
  • j

    Joel Wilson

    06/14/2023, 7:59 PM
    Bummer
  • j

    Joel Wilson

    06/14/2023, 8:00 PM
    Wanted to do data overrides that could exist in something like
    <stage>.yaml
    when
    stage
    is an array
  • b

    bastelfreak

    06/14/2023, 8:00 PM
    you can use globbing, if that helps
  • j

    Joel Wilson

    06/14/2023, 8:01 PM
    Not to be confused with puppet stages.
  • j

    Joel Wilson

    06/14/2023, 8:03 PM
    We have something in our ENC generator that creates
    class::params
    parameters that differ on an internal named stage presently not exposed via name to puppet. There can be more than one of these things, though. I was hoping to move the stuff into hiera.
  • l

    Lumiere

    06/14/2023, 8:03 PM
    so you can have multiple stages?
  • j

    Joel Wilson

    06/14/2023, 8:03 PM
    And the parent classes are often
    include
    d
  • l

    Lumiere

    06/14/2023, 8:03 PM
    is there a limit to the number of stages?
  • j

    Joel Wilson

    06/14/2023, 8:04 PM
    No
  • l

    Lumiere

    06/14/2023, 8:04 PM
    could there be?
1...376377378...428Latest