Giter VIP home page Giter VIP logo

Comments (5)

ekohl avatar ekohl commented on June 22, 2024 2

I'd be great if someone could add this to README.md.

from puppet-unattended_upgrades.

 avatar commented on June 22, 2024 1

Got it out of the source code. You have to setup the origins array like that

origins   => [
  "origin=Debian,n=oldstable",
  "origin=Debian,n=oldstable-updates",
  "origin=Debian,n=oldstable-proposed-updates",
  "origin=Debian,n=oldstable,l=Debian-Security",
]

but in that case you have to check (with an if clause or something else) which distribution you'll use first.

from puppet-unattended_upgrades.

vegaaz avatar vegaaz commented on June 22, 2024 1

Is there a "proper" way to simply append an origin to the default ones?

I guess the parameter 'extra_origins' (Array) will satisfy your needs.
In my case I used this:

  class { 'unattended_upgrades':
    extra_origins        => [
      '${distro_id}ESM:${distro_codename}',         #lint:ignore:single_quote_string_with_variables
      '${distro_id}:${distro_codename}-updates',    #lint:ignore:single_quote_string_with_variables
    ]
  }

from puppet-unattended_upgrades.

cristianbalan-mf avatar cristianbalan-mf commented on June 22, 2024

Exactly, can't figure out how to declare the origins.

from puppet-unattended_upgrades.

fetzerms avatar fetzerms commented on June 22, 2024

Is there a "proper" way to simply append an origin to the default ones?

from puppet-unattended_upgrades.

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.