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

    David Sandilands

    11/16/2022, 9:06 AM
    If you set ensure to absent it will remove the line you can see examples on stlib reference documentation https://forge.puppet.com/modules/puppetlabs/stdlib/reference#file_line
  • s

    Slackbot

    11/16/2022, 10:27 AM
    This message was deleted.
    d
    b
    +6
    • 9
    • 20
  • b

    bittner

    11/16/2022, 10:28 AM
    I just would like to mention, I received notifications from GitHub by @molly today saying:
    r10k is now considered to be feature complete and we are unfortunately discontinuing development.
    In addition, the issues feature on the GitHub project was then disabled, so there's no way to comment on this anymore. For the sake of history: • [puppetlabs/r10k] [feature] Install modules with their dependency (#621) • [puppetlabs/r10k] R10k unable to handle submodules (#675) I just want PuppetLab to know that this is very, very disappointing.
  • b

    bittner

    11/16/2022, 10:28 AM
    I just would like to mention, I received notifications from GitHub by @molly today saying:
    r10k is now considered to be feature complete and we are unfortunately discontinuing development.
    In addition, the issues feature on the GitHub project was then disabled, so there's no way to comment on this anymore. For the sake of history: • [puppetlabs/r10k] [feature] Install modules with their dependency (#621) • [puppetlabs/r10k] R10k unable to handle submodules (#675) I just want PuppetLabs to know that this is very, very disappointing.
  • b

    bittner

    11/16/2022, 10:28 AM
    I just would like to mention, I received notifications from GitHub by @molly today, saying:
    r10k is now considered to be feature complete and we are unfortunately discontinuing development.
    In addition, the issues feature on the GitHub project was then disabled, so there's no way to comment on this anymore. For the sake of history: • [puppetlabs/r10k] [feature] Install modules with their dependency (#621) • [puppetlabs/r10k] R10k unable to handle submodules (#675) I just want PuppetLabs to know that this is very, very disappointing.
  • b

    bittner

    11/16/2022, 10:29 AM
    I just would like to mention, I received notifications from GitHub by @molly today, saying:
    r10k is now considered to be feature complete and we are unfortunately discontinuing development.
    In addition, the issues feature on the GitHub project was subsequently disabled, so there's no way to comment on this anymore. For the sake of history: • [puppetlabs/r10k] [feature] Install modules with their dependency (#621) • [puppetlabs/r10k] R10k unable to handle submodules (#675) I just want PuppetLabs to know that this is very, very disappointing.
  • s

    Slackbot

    11/16/2022, 11:54 AM
    This message was deleted.
    c
    b
    • 3
    • 5
  • b

    bastelfreak

    11/16/2022, 12:35 PM
    and if you need a fast r10k replacement, there's a maintained go version: https://github.com/xorpaul/g10k
  • a

    April Murphy

    11/16/2022, 2:12 PM
    @April Murphy has left the channel
  • w

    William Myers

    11/16/2022, 7:02 PM
    think I found something, https://github.com/bitfield/control-repo
  • b

    Brian Schonecker

    11/16/2022, 8:10 PM
    Looking for advice on making a single-line edit to an XML file: Should I use Augeas lens or puppet-xmlfile?
  • b

    Brian Schonecker

    11/16/2022, 8:11 PM
    The XML file already exists as part of an IBM Cognos installation.
  • b

    Brian Schonecker

    11/16/2022, 8:11 PM
    I'd rather not use a template if possible because developers will invariably get in there and make other changes that they never tell me about.
  • b

    Brian Schonecker

    11/16/2022, 8:12 PM
    I'd rather not use a template if possible because developers will invariably get in there and make other changes that they never tell me about.
  • b

    Brian Schonecker

    11/16/2022, 8:17 PM
    Also, I would like advice on copying a 4G file for installing aforementioned IBM Cognos software. I'm sure puppet file resource isn't the right way to do it because it'll kill my CPU every 30s trying to do an md5sum on the file. puppet-archive looks like it might do the trick but I'm thinking maybe just use git to pull the file down. That does lead to the possibility of an exploding git project every time I need to update the zip file.
  • b

    Brian Schonecker

    11/16/2022, 8:17 PM
    All of this stuff is on Linux.
  • b

    bastelfreak

    11/16/2022, 8:18 PM
    the answer that you don't want to hear is: don't use so shitty software, use something that's properly packaged and has a sane configuration file
    😆 1
  • s

    Slackbot

    11/16/2022, 8:19 PM
    This message was deleted.
    s
    b
    • 3
    • 2
  • n

    natemccurdy

    11/16/2022, 8:19 PM
    Definitely do not check the 4G file into a git repo. Put it on some kind of shared, network file system or fileserver, and use puppet-archive to fetch it on the agent. Or do what Basetelfreak says below and package it into an OS-native package format, like RPM 👇
  • b

    bastelfreak

    11/16/2022, 8:19 PM
    I suggest building a custom rpm
  • n

    natemccurdy

    11/16/2022, 8:19 PM
    Definitely do not check the 4G file into a git repo. Put it on some kind of shared, network file system or fileserver, and use puppet-archive to fetch it on the agent.
  • n

    natemccurdy

    11/16/2022, 8:19 PM
    Definitely do not check the 4G file into a git repo. Put it on some kind of shared, network file system or fileserver, and use puppet-archive to fetch it on the agent. Or do what Basetelfreak says below and package it into an OS-native package format, like RPM 👇
  • b

    bastelfreak

    11/16/2022, 8:19 PM
    as an alternative; download the file from a webserver, put the version in the filename, check on the target if the file exists
  • b

    bastelfreak

    11/16/2022, 8:20 PM
    (so you don't need to compute the checksum)
  • b

    Brian Schonecker

    11/16/2022, 8:20 PM
    Great idea on the RPM. It's a lot easier for Puppet to manage an RPM than a huge file. Thanks!
  • b

    bastelfreak

    11/16/2022, 8:21 PM
    and put that rpm in a repo!
  • b

    bastelfreak

    11/16/2022, 8:21 PM
    I see so many people that download rpms with puppet/archive or put the rpm in git...
  • d

    Dr Bunsen Honeydew

    11/16/2022, 8:21 PM
    See the
    puppet-archive
    module at https://forge.puppet.com/puppet/archive?src=slack&channel=puppet
  • b

    bastelfreak

    11/16/2022, 8:21 PM
    that's not how rpms are supposed to be used 😄
  • n

    natemccurdy

    11/16/2022, 8:21 PM
    a YUM repository (not your Puppet repo, to clarify 🙂 )
1...236237238...428Latest