Giter Site home page Giter Site logo

ngeorgieff / update-with-puppet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dansksupermarked/update-with-puppet

0.0 2.0 0.0 42 KB

Tool to generate Puppet/Hiera list of packages to be updated on a node. Resulting list will be committed to GIT.

License: GNU General Public License v3.0

Python 100.00%

update-with-puppet's Introduction

Update with Puppet

Build Status

Would like to know which packages should be updated on a node?

Would like that list of packages to be fed directly to Puppet?

Then this is the tool for you.

How it Works

This program will fetch from the package provider the updates available for the specified package repositories. A list of Puppet Package resource will be generated (For now as Hiera JSON). Some packages and their associated libs should be updated as once and for this they will be updated as an Exec resource created along the Package resources.

This list can be committed to a GIT repository where your Puppet configuration is. You're then free to have those Package resources updated by Puppet.

Use Case

Schedule a CRON job on a node or pool of servers. This tool will collect packages to update and create a GIT PR to be reviewed, eventually edited, and finally merged in your Puppet configuration to have the packages updated during the next Puppet run.

OS Support

  • RPM based Linux: RHEL, Centos, Scientific, older Fedora,...
  • DNF based Linux: newer Fedora.

Repository Support

  • GIT.
  • BitBucket API for pull request creation.

TODO

  • Support other package providers.
  • Support creation of resource list as Yaml or .pp files.
  • Support other GIT hosting API for PR.

Copyright

Copyright 2017 Dansk Supermarked Group and released under the terms of the GPL version 3 license.

update-with-puppet's People

Watchers

James Cloos avatar Nikolay Georgiev avatar

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.