gabe-sky / puppet-yum_updates Goto Github PK
View Code? Open in Web Editor NEWFacter fact to report on the number of yum_updates outstanding, ad-hoc tasks, and code to manage a cron job
Facter fact to report on the number of yum_updates outstanding, ad-hoc tasks, and code to manage a cron job
Forge has: Version 1.2.2 released Aug 14th 2017
But no tags exist in repo.
The number of updates available should be lowered by 1 if any yum plugins are enabled:
[root@localhost ~]# yum check-update --quiet
epel-release.noarch 7-12 Xxxx_el7_repos_epel_x86_64
Loaded plugins: fastestmirror, product-id, subscription-manager
[root@localhost ~]# facter -p yum_updates
{
count => 2,
available => true
}
[root@localhost ~]# yum update -y --quiet
Loaded plugins: fastestmirror, product-id, subscription-manager
Loaded plugins: fastestmirror, product-id, subscription-manager
Loaded plugins: fastestmirror, product-id, subscription-manager
Loaded plugins: fastestmirror, product-id, subscription-manager
Uploading Tracer Profile
Updated:
epel-release.noarch 0:7-12
Complete!
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id, subscription-manager
[root@localhost ~]# facter -p yum_updates
{
count => 1,
available => true
}
[root@localhost ~]# yum update -y --quiet
Loaded plugins: fastestmirror, product-id, subscription-manager
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.