Giter VIP home page Giter VIP logo

mcollective-yum-agent's People

Contributors

liketed avatar mburger avatar powellnathanj avatar robinbowes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mcollective-yum-agent's Issues

Feature request: yum list

Thanks for the yum plugin! Just adding a feature request for yum list or yum list installed so you can discover what package versions are installed.

I know you can do this with mco package status package=foo, but I'd like to be able to disable the mco package plugin altogether since I've got a yum-centric version now, mainly to avoid someone from installing something outside of yum.

Check-update output question

Just a question, Is there any benefit for the output on check-update to have three sections which seem somewhat repetitive? I was thinking about modifying this to just keep the Exit code and 'Output' sections for each host, but I was wondering if that might be a mistake I'd regret doing.

This is what I currently get:

       Exit Code: 100

Outdated Packages: nil
outdated_packages: [{:repo=>"DoIT", :package=>"MariaDB-common.x86_64", :version=>"10.0.20-1.el6"},
{:repo=>"DoIT", :package=>"MariaDB-compat.x86_64", :version=>"10.0.20-1.el6"},
{:repo=>"DoIT", :package=>"MariaDB-shared.x86_64", :version=>"10.0.20-1.el6"},
{:repo=>"DoIT", :package=>"db4.x86_64", :version=>"4.7.25-19.el6_6"},
{:repo=>"DoIT", :package=>"db4-utils.x86_64", :version=>"4.7.25-19.el6_6"},
{:repo=>"DoIT", :package=>"dmidecode.x86_64", :version=>"1:2.12-5.el6_6.1"},
{:repo=>"DoIT", :package=>"glibc.x86_64", :version=>"2.12-1.149.el6_6.9"},
{:repo=>"DoIT",
:package=>"glibc-common.x86_64",
:version=>"2.12-1.149.el6_6.9"},
{:repo=>"DoIT", :package=>"htop.x86_64", :version=>"1.0.3-1.el6.rf"},
{:repo=>"DoIT", :package=>"kernel.x86_64", :version=>"2.6.32-504.23.4.el6"},
{:repo=>"DoIT",
:package=>"kernel-firmware.noarch",
:version=>"2.6.32-504.23.4.el6"},
{:repo=>"DoIT", :package=>"openssl.x86_64", :version=>"1.0.1e-30.el6.11"},
{:repo=>"DoIT", :package=>"puppet.noarch", :version=>"3.8.1-1.el6"},
{:repo=>"DoIT", :package=>"rsyslog.x86_64", :version=>"8.10.0.ad1-2.el6"},
{:repo=>"DoIT",
:package=>"rsyslog-gnutls.x86_64",
:version=>"8.10.0.ad1-2.el6"},
{:repo=>"DoIT", :package=>"tzdata.noarch", :version=>"2015e-1.el6"}]
Output:
MariaDB-common.x86_64 10.0.20-1.el6 DoIT
MariaDB-compat.x86_64 10.0.20-1.el6 DoIT
MariaDB-shared.x86_64 10.0.20-1.el6 DoIT
db4.x86_64 4.7.25-19.el6_6 DoIT
db4-utils.x86_64 4.7.25-19.el6_6 DoIT
dmidecode.x86_64 1:2.12-5.el6_6.1 DoIT
glibc.x86_64 2.12-1.149.el6_6.9 DoIT
glibc-common.x86_64 2.12-1.149.el6_6.9 DoIT
htop.x86_64 1.0.3-1.el6.rf DoIT
kernel.x86_64 2.6.32-504.23.4.el6 DoIT
kernel-firmware.noarch 2.6.32-504.23.4.el6 DoIT
openssl.x86_64 1.0.1e-30.el6.11 DoIT
puppet.noarch 3.8.1-1.el6 DoIT
rsyslog.x86_64 8.10.0.ad1-2.el6 DoIT
rsyslog-gnutls.x86_64 8.10.0.ad1-2.el6 DoIT
tzdata.noarch 2015e-1.el6 DoIT

Deprecate downloadonly in favour of --downloadonly

Working on the basis that mco yum command... should, as near as is possible, function the same as yum command... I suggest removing the downloadonly command in favour of using the --downloadonly switch.

Prevent multiple yum instances

The yum command should drop some sort of semaphore to prevent multiple instances of the yum command being launched.

There should also be a command to kill any currently running yum processes (in the event that a yum command hangs or is taking too long to run).

Possibility to exclude repo's as argument

Hi,

It would be nice if the mco rpc yum allows the native yum arguments or at least the exclude option and if possible something like this:
mco yum update-minimal --security -y --disablerepo=${RD_OPTION_DISABLE_REPO} ${RD_OPTION_FQDN}

My goal: update only the security patches from Base/Updates but exclude certain repo's with high impact packages such tomcat, own custom repo's etc.

Is something like this possible to add?

Thanks!

Michiel

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.