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

    Lumiere

    05/03/2022, 3:10 PM
    https://github.com/puppetlabs/puppetlabs-apache/blob/main/manifests/params.pp#L758-L762
  • l

    Lumiere

    05/03/2022, 3:14 PM
    oh, yea in hiera it either needs to be
    ["one", "line"]
    or
    Copy code
    key:
      - "multi"
      - "line"
  • r

    Rahul

    05/03/2022, 5:53 PM
    Hi all I have been using the the vault_lookup forge module https://forge.puppet.com/modules/puppet/vault_lookup I have been trying to use the secret stored to use to configure a another module https://forge.puppet.com/modules/sgnl05/sssd This is the code I have been using
    Copy code
    $ldap_bind_pws = Deferred('vault_lookup::lookup',["ldap_bind_pw", '<https://vault.net:8200>'])
    class { 'sssd':
        config  => {
            'enumerate'                 => true,
            'ldap_default_bind_dn'      => $ldap_bind_user,
            'ldap_default_authtok_type' => 'password',
            'ldap_default_authtok'      => $ldap_bind_pws.unwrap,
          },
        }
  • r

    Rahul

    05/03/2022, 5:54 PM
    when the file gets generated it has the string
    Copy code
    ldap_default_authtok = Deferred({'name' => 'vault_lookup::lookup'
    Instead of it actually populating it In the debug logs I see that it actually fetches the secret
  • r

    Rahul

    05/03/2022, 5:54 PM
    cc: @josh @Troy Klein
  • s

    Slackbot

    05/03/2022, 5:54 PM
    This message was deleted.
    t
    h
    +4
    • 7
    • 18
  • r

    Rahul

    05/03/2022, 5:55 PM
    cc: @josh @Troy Klein
  • s

    Slackbot

    05/03/2022, 8:32 PM
    This message was deleted.
    t
    j
    +2
    • 5
    • 51
  • w

    woolfy

    05/03/2022, 9:12 PM
    sssd was one of those - which made us implenting internal version of the module
  • j

    Joel Wilson

    05/03/2022, 9:16 PM
    Like I have moduledata for that repo module, I could do:
    Copy code
    apt:
      update:
        frequency: always
      purge:
        'sources.list': true
  • j

    Joel Wilson

    05/03/2022, 9:24 PM
    Copy code
    class { 'apt':
          auth_conf_entries => [
            {
              'machine'  => '<http://internalrepo.XXXXXX.COM|internalrepo.XXXXXX.COM>',
              'login'    => 'internal',
              'password' => 'XXXXXXXX',
            },
          ],
          update            => {
            'frequency' => 'always',
          },
          purge             => {
            'sources.list' => true,
          },
        }
  • b

    binford2k

    05/03/2022, 9:27 PM
    so the hiera key would be
    apt::purge
    and its value would be the hash of
    { 'sources.list': true }
  • j

    Joel Wilson

    05/03/2022, 9:27 PM
    https://github.com/puppetlabs/puppetlabs-apt/blob/main/manifests/init.pp#L57
  • t

    thedonkdonk

    05/03/2022, 9:53 PM
    Bump https://puppetcommunity.slack.com/archives/C0W298S9G/p1651270631812719
  • s

    Slackbot

    05/03/2022, 10:01 PM
    This message was deleted.
    c
    n
    s
    • 4
    • 5
  • i

    Isaiah Frantz

    05/03/2022, 10:51 PM
    anybody know of an easy way to benchmark/profile ruby facts?
  • i

    Isaiah Frantz

    05/03/2022, 10:51 PM
    Im having trouble tracking down which fact is taking so darn long
  • i

    Isaiah Frantz

    05/03/2022, 10:52 PM
    no luck finding any built in tools to do it 😞
  • c

    csharpsteen

    05/03/2022, 10:59 PM
    Facter 4 brought the --timing flag back, which shows the resolution times of each fact.
    🍌 2
  • i

    Isaiah Frantz

    05/03/2022, 11:11 PM
    hmm, not on facter 4 yet 😞
  • s

    Slackbot

    05/03/2022, 11:12 PM
    This message was deleted.
    b
    i
    +2
    • 5
    • 5
  • s

    Slackbot

    05/03/2022, 11:44 PM
    This message was deleted.
    a
    • 2
    • 3
  • s

    Slackbot

    05/04/2022, 10:28 AM
    This message was deleted.
    a
    m
    • 3
    • 9
  • m

    Marty Ewings

    05/04/2022, 10:30 AM
    Configuration data can be used as a parameter override, sometimes declaring a class, which may already be declared as part of another class or profile, for the sole purposes of changing one parameter can cause duplicate classifications
  • s

    Slackbot

    05/04/2022, 12:56 PM
    This message was deleted.
    a
    h
    • 3
    • 3
  • a

    Andrew Z

    05/04/2022, 1:49 PM
    👋 Hello, team!
  • h

    hbui

    05/04/2022, 2:18 PM
    We're just adding in support for Rocky and noticed that $facts['os']['name'] resolves to RedHat on a Rocky 8 system, but on systems like CentOS or AlmaLinux it resolves to those instead
  • h

    hbui

    05/04/2022, 2:18 PM
    anyone run in to this?
  • b

    bastelfreak

    05/04/2022, 2:19 PM
    on which facter version?
  • h

    hbui

    05/04/2022, 2:25 PM
    3.14.22 as bundled with puppet-agent-6.26.0
1...161718...428Latest