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

    csharpsteen

    06/12/2023, 3:15 PM
    There is a point where
    n
    agents x
    m
    facts is too much data.
  • c

    csharpsteen

    06/12/2023, 3:16 PM
    And usually at that point there is a large volume of fact data that is not used to create catalogs or even used for reporting purposes. It's just there because someone assumed system capacity was infinite.
    👍 1
  • s

    Slackbot

    06/12/2023, 3:36 PM
    This message was deleted.
    s
    n
    • 3
    • 5
  • d

    Dr Bunsen Honeydew

    06/12/2023, 3:36 PM
    See the
    puppetlabs-vcsrepo
    module at https://forge.puppet.com/puppetlabs/vcsrepo?src=slack&channel=puppet
  • s

    Stephen

    06/13/2023, 4:04 AM
    Running into something I think is almost certainly a bug. I have some `Concat::Fragment`s that are exported and then collected, but for some reason when the exported data is imported to a different node, it appears in the file as raw base64. Is this a known feature? I will say that the exported fragment contains text that has some base64 in it, but it is not only base64.
  • d

    David Sandilands

    06/13/2023, 8:21 AM
    LVM is now a supported module party dag https://forge.puppet.com/modules/puppetlabs/lvm/readme
    woohoo 2
  • b

    boats

    06/13/2023, 10:04 AM
    @boats has left the channel
  • s

    Slackbot

    06/13/2023, 12:55 PM
    This message was deleted.
    b
    m
    t
    • 4
    • 13
  • d

    Dr Bunsen Honeydew

    06/13/2023, 1:45 PM
    kermit typing Content and Tooling is about to start up in #CFD8Z9A4T
  • p

    Pat Riehecky

    06/13/2023, 2:08 PM
    Re: puppetlabs-rsync can this module be updated for Puppet 7/8, stdlib9 (and other deps), pdk, and have https://github.com/puppetlabs/puppetlabs-rsync/pull/144 reviewed?
  • d

    Dr Bunsen Honeydew

    06/13/2023, 2:08 PM
    See the
    puppetlabs-rsync
    module at https://forge.puppet.com/puppetlabs/rsync?src=slack&channel=puppet
  • d

    Dr Bunsen Honeydew

    06/13/2023, 2:45 PM
    businessparrot _🦊Vox Pupuli monthly sync; see calendar event for info_ is about to start up in #CFD8Z9A4T
  • j

    Jain the Human

    06/13/2023, 3:04 PM
    Do any of you Puppet CLI power users happen to know if there's a way to create a new Puppet Console user via the CLI? Someone just asked me, and I've only ever done it by throwing data at RBAC.
  • c

    CVQuesty

    06/13/2023, 3:07 PM
    yes
  • c

    CVQuesty

    06/13/2023, 3:07 PM
    one sec…. I have one online soewhere
    🙌 1
  • c

    CVQuesty

    06/13/2023, 3:10 PM
    # Adding Deploy User to Deploy Code Group curl -k -X POST -H ‘Content-Type: application/json’ https://master.puppetlabs.vm:4433/rbac-api/v1/users -d ‘{“login”“cmadmin”,“email”“cmadmin@master.puppetlabs.vm”,“display_name”:“CM Admin”,“role_ids”: [4],“password”:“puppetlabs”}’ --cert /etc/puppetlabs/puppet/ssl/certs/master.puppetlabs.vm.pem --key /etc/puppetlabs/puppet/ssl/private_keys/master.puppetlabs.vm.pem --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem
  • c

    CVQuesty

    06/13/2023, 3:11 PM
    that’s a specific action, but it gives you the section you need to look into in the APIs
  • c

    CVQuesty

    06/13/2023, 3:13 PM
    https://www.puppet.com/docs/pe/2023.2/rbac_api_v1.html
  • c

    CVQuesty

    06/13/2023, 3:14 PM
    A little extra guidance there. You don’t have to do what I did, but the auth/curl mechanism remains the same.
  • j

    Jain the Human

    06/13/2023, 3:15 PM
    Aha, it's via curl and RBAC! I thought it might be. Thank you! 🙂
  • d

    Dr Bunsen Honeydew

    06/13/2023, 3:45 PM
    businessparrot 🧑‍🏫 Bolt is about to start up in #CFD8Z9A4T
    🙌 1
  • y

    Yuan Liu

    06/13/2023, 4:52 PM
    How to represent type Regexp in Hiera? I entered myvar: /mypattern/. But compiler complains that’s a string
  • s

    Slackbot

    06/13/2023, 4:55 PM
    This message was deleted.
    b
    t
    • 3
    • 8
  • t

    todd.seidenberg

    06/13/2023, 9:45 PM
    Alright next question:
  • t

    todd.seidenberg

    06/13/2023, 9:45 PM
    and I'm simplifying this - but
  • t

    todd.seidenberg

    06/13/2023, 9:46 PM
    Assume the above example - I'm no longer doing virtual resources
  • t

    todd.seidenberg

    06/13/2023, 9:46 PM
    I'm able to define those users
  • t

    todd.seidenberg

    06/13/2023, 9:47 PM
    Copy code
    if empty($engops_users[$this_user][uid]) {
             user { $this_user:
                ensure           => present,
                comment          => "${engops_users[$this_user][comment]}",
                managehome       => true,
                groups           => $engops_groups,
                shell            => '/bin/bash',
                password_max_age => '-1',
              }
          } else {
            user { $this_user:
              ensure           => present,
              gid              => "${engops_users[$this_user][gid]}",
              uid              => "${engops_users[$this_user][uid]}",
              comment          => "${engops_users[$this_user][comment]}",
              managehome       => true,
              groups           => $engops_groups,
              shell            => '/bin/bash',
              password_max_age => '-1',
            }
          }
  • t

    todd.seidenberg

    06/13/2023, 9:47 PM
    This creates a bunch of users
  • t

    todd.seidenberg

    06/13/2023, 9:47 PM
    I have another class where I'm checking to see if one of the users above is defined
1...375376377...428Latest