GithubHelp home page GithubHelp logo

Comments (5)

dhollinger avatar dhollinger commented on August 20, 2024

@logicminds Sorry for the delay on this. I've been fairly busy. I'll take a look at this today or tonight and get it taken care of

from puppet-rsyslog.

dhollinger avatar dhollinger commented on August 20, 2024

@logicminds This is an issue related to the File resources use of purge and backup not intending to be mixed. Currently the Rsylsog module purges the /etc/rsyslog.d directory if the directory is managed by Puppet. As such, since the files, including backups, are being modified, Puppet sees this and backs the files up again and replaces them with an appended .old extension after the purge has completed.

from puppet-rsyslog.

dhollinger avatar dhollinger commented on August 20, 2024

@logicminds You need to set the value of $rsyslog::purge_config_files to false to get it to backup files correctly.

from puppet-rsyslog.

alexjfisher avatar alexjfisher commented on August 20, 2024

I think you can also unset any defaults from site.pp in your rsyslog profile.

File {
  backup => undef,
}

should do it. (EDIT: by unsetting it, you'll get the default which is to use a local filebucket)

Or possibly after you've declared the class, you can modify the file resource.

File[$rsyslog::confdir] {
  backup => false,
}

Or if you use a puppetserver based filebucket for backup you won't have this issue either.

from puppet-rsyslog.

alexjfisher avatar alexjfisher commented on August 20, 2024

Also see https://tickets.puppetlabs.com/browse/PUP-1147

from puppet-rsyslog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.