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

    joeypiccola

    07/12/2022, 7:43 PM
    @natemccurdy thank you!
  • v

    vchepkov

    07/12/2022, 7:46 PM
    see if this works, I am not 100% sure
    Copy code
    file { '/etc/big_dir/specific.txt':
      ensure => file,
      audit  => 'content',
      notify => Service['some-service'],
    }
  • n

    natemccurdy

    07/12/2022, 7:48 PM
    I think that’ll override the automatically generated resource from the recursive directory, thus leaving it without any content.
  • j

    joeypiccola

    07/12/2022, 7:49 PM
    oh, interesting @vchepkov. off to the docs to read up on the
    audit
    param. TIL
  • g

    Ganaparthi Nikhil

    07/13/2022, 6:47 AM
    hi guys
  • s

    Slackbot

    07/13/2022, 6:51 AM
    This message was deleted.
    s
    • 2
    • 1
  • s

    Slackbot

    07/13/2022, 10:32 AM
    This message was deleted.
    a
    v
    n
    • 4
    • 29
  • v

    vchepkov

    07/13/2022, 3:22 PM
    unless you maintain module
    snmp
  • v

    vchepkov

    07/13/2022, 3:43 PM
    Copy code
    class foo (
      $bar
    ) {
      notice($bar)
    }
    and lookup process will look for hiera key
    foo::bar
  • a

    AngeloMileto

    07/13/2022, 3:47 PM
    I tried to manually change the archive_files = false on a particular host as it's failing to backup for some reason. I have 10 other hosts working fine and the only real disctintion for this host which can't backup changed files to the other 10 or so that work is this hos is FIPS enabled. Do I figured I would try to just turn off the archive function for this host but changing the puppet.conf didn't seem to stop it from trying. Any suggestions?
  • w

    Willem Basson

    07/13/2022, 10:09 PM
    any good resource for helping me decide between putting resources like apt::pin, apt::source, logrotate::rule in a profile, or in hieradata?
  • s

    Slackbot

    07/13/2022, 10:10 PM
    This message was deleted.
    s
    w
    +3
    • 6
    • 21
  • s

    Slackbot

    07/13/2022, 10:48 PM
    This message was deleted.
    b
    • 2
    • 1
  • y

    Yehuda Katz

    07/13/2022, 10:50 PM
    Has anyone used LastPass (Enterprise) for credential storage for passwords to be used in a Puppet manifest/template? We currently use Vault (
    petems/hiera_vault
    module), but we may be switching our primary password storage to LastPass, so I am interested in other options. Types of things we do with this integration: • Make sure each machine's root account has a password matching the random one stored in Vault • Put database connection passwords in application config files
  • s

    Slackbot

    07/14/2022, 2:12 AM
    This message was deleted.
    y
    e
    l
    • 4
    • 5
  • s

    Slackbot

    07/14/2022, 9:35 AM
    This message was deleted.
    a
    b
    +3
    • 6
    • 9
  • s

    Slackbot

    07/14/2022, 10:06 AM
    This message was deleted.
    b
    z
    d
    • 4
    • 10
  • b

    bastelfreak

    07/14/2022, 10:10 AM
    and maybe
    journalctl --unit loki -fn 150
  • d

    Dr Bunsen Honeydew

    07/14/2022, 11:45 AM
    businessparrot 🧑‍🏫Puppet Forge is about to start up in #CFD8Z9A4T
  • b

    Brian Schonecker

    07/14/2022, 11:49 AM
    I'm going to be the odd man out here and recommend you put everything in your hiera data. Keep your company logic separate from your code. Yes, do a "include ::logrotate" and "create_resources(logrotate::rule, $my_logrotate_hash) in your profile. In my environment I call the profile where all common code/properties are defined "base.pp".
  • b

    baurmatt

    07/14/2022, 12:50 PM
    Hey 🙂 Has one of you managed to automate puppetlabs-mysql with SSL certificates? Especially interested how you might have solved the certificate sharing between primary and replicas.
  • d

    Dr Bunsen Honeydew

    07/14/2022, 12:51 PM
    See the
    puppetlabs-mysql
    module at https://forge.puppet.com/puppetlabs/mysql?src=slack&channel=puppet
  • g

    Geetika Kohli

    07/14/2022, 4:59 PM
    Hi team, I want to uninstall puppet agent from my linux server. I am trying /opt/puppetlabs/bin/puppet-enterprise-uninstaller command . Its not available there. Are there any other ways to remove puppet agent.
  • s

    Slackbot

    07/14/2022, 5:10 PM
    This message was deleted.
    g
    • 2
    • 1
  • v

    vchepkov

    07/14/2022, 5:11 PM
    or whatever package manager you use
  • v

    vchepkov

    07/14/2022, 5:11 PM
    That uninstaller is for PE instalations
  • s

    Slackbot

    07/14/2022, 5:17 PM
    This message was deleted.
    v
    t
    • 3
    • 2
  • b

    Brian Schonecker

    07/14/2022, 5:17 PM
    message has been deleted
  • r

    ramnad

    07/14/2022, 7:26 PM
    my puppet ca cert got expired and I was able to renew it successfully. We have lot of clients that needs a new cert using this CA. is there a way to force generate the certs on the clients ? Removing the contents from ssl folder and restarting the puppet agent worked, but wanted to know if there is a better procedure?
  • b

    Brian Schonecker

    07/14/2022, 7:26 PM
    Before I make a fool of myself at Voxpupuli Chrony .... I'm doing security compliance (Qualys, CIS, etc) and I'm getting dinged on /etc/sysconfig/chrony not having OPTIONS='-u chrony' to ensure that the chrony daemon runs as the chrony user. Something in my brain tells me that /etc/sysconfig/chrony is deprecated (I'm on RHEL6 through 8 ). I have a need to manage the /etc/sysconfig/chrony file in order to pass compliance audits but before I do the work I wanted to know how/if you're meeting this compliance item (if at all) and if I should submit a change to the Voxpupuli project.
1...949596...428Latest