summaryrefslogtreecommitdiff
path: root/oxidized.gemspec
AgeCommit message (Collapse)Author
2015-09-17restore ruby 1.9.3 compatibility0.8.1Saku Ytti
fix some whitespaces bump up gemspec version
2015-09-14release new versionSaku Ytti
bump up gemspec
2015-09-12Fix FloatDomainError when 0 nodes are foundSaku Ytti
Oxidized would throw: ---- /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:36:in `to_i': NaN (FloatDomainError) from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:36:in `new_count' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:28:in `duration' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:16:in `initialize' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/worker.rb:7:in `new' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/worker.rb:7:in `initialize' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:21:in `new' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:21:in `initialize' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:12:in `new' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:12:in `new' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/cli.rb:9:in `run' from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/bin/oxidized:9:in `<top (required)>' from /usr/local/bin/oxidized:23:in `load' from /usr/local/bin/oxidized:23:in `<main>' --- When nodes.size == 0, this may happen when you have say one node in router.db which has non-existing model. Actual problem happens in jobs.rb: @duration = @durations.inject(:+).to_f / @nodes.size ... @want = ((@nodes.size * @duration) / @interval).to_i Simplified: a = 0.0 / 0 b = a.to_i
2015-08-28Initial implementation of the hook featureAnton Aksola
The current implementation is modular and allows users to define hooks in several ways: * Use one of the built-in hook types (currently only 'exec') * Define their own Hook classes inside ~/.config/oxidized/hook Exec hook type runs a user defined command with or without shell. It populates a bunch of environment variables with metadata. The command can either be run as synchronous or asynchronous. The default is synchronous.
2015-06-17bump versionSamer Abdel-Hafez
2015-05-26bump up gemspec version0.7.1Saku Ytti
2015-05-21update gemspecSaku Ytti
2015-04-22release 0.6.0Saku Ytti
2015-04-20don't use keyboard interactive passwordsSaku Ytti
(new behavior in net-ssh 2.9.3)
2015-04-03version 0.5.00.5.0Samer Abdel-Hafez
2015-03-10Bugfixes and bump to 0.4.1Samer Abdel-Hafez
2015-02-27Minor cosmetic changes and additionsSamer Abdel-Hafez
2015-02-19Update oxidized.gemspecArnoud Vermeer
Require rugged for lib/oxidized/output/git.rb
2015-02-13bump to 0.3.0Samer Abdel-Hafez
2015-02-02add nopedial as author, so he can release gemSaku Ytti
2014-12-03bump up gemspec versionSaku Ytti
2014-08-16update change log, bump up gemspecSaku Ytti
2014-07-24update gemspec version0.2.2Saku Ytti
2014-07-24fix variable reasolving0.2.1Saku Ytti
+ bumpup gemspec
2014-07-24bump up gemspec version0.2.0Saku Ytti
2014-07-21Fix bug in 'vars.rb'0.1.1Saku Ytti
We need to return value of 'r' instead of value of previous evaluation.
2014-07-20bump up gemspec0.1.0Saku Ytti
- actually start to follow semantic version - a.b.c a == major, b == minor c == patch - c only for bug-fixes etc - b for non-breaking new features - a for breaking new featires - a == 0 is special, can break anywhere - http://semver.org - add more specific version restrictions for gems
2014-07-20Depend on newer asetus versionSaku Ytti
We are doing this in sql.rb :user => @cfg.sql.user? :password => @cfg.sql.password? As 'asetus' will accept arbitrary chain @cfg.sql.one.two.three it is clear that 'one' or 'two' cannot _ever_ return nil/false, otherwise you cannot create 'three'. So if there isn't value of one/two, instance of 'asetus' is returned, upon which we can build two, and then tree'. one?, two?, three? version existed in old asetus, as strict boolean test @cfg.sql.one? would return true, false or nil In newer version, instead of returning true, it returns actual value.
2014-07-17bump up gemspec version0.0.65Saku Ytti
2014-07-11bump up gemspec version0.0.64Saku Ytti
2014-07-11bump up gemspec version0.0.63Saku Ytti
2014-07-09bump up gemspecSaku Ytti
2014-07-09fixed #13Samer Abdel-Hafez
2014-07-03Fix class name resolutionSaku Ytti
In new method, where we no long explicitly set loaded class name for later resolution we depend on file name being same as class name. However for File output, this is not true, because I didn't want plain File in code to resolve to Oxidized::File, and din't want to always write ::File, File ouput has class name OxFile. This change allows class names to start optionally with string 'Oxidized' if so, they still match.
2014-07-03bump up gemspecSaku Ytti
2014-06-11add secrets removal code + bump versionSamer Abdel-Hafez
2014-05-07Save stats/last status during Nodes#load0.0.58Saku Ytti
We probably should just axe Node#last, as Node#stats contains all it does and more. However it would need changing web views and I'm too lazy for that right now. Perhaps Nodes/Node also needs some unique ID so two instances of Nodes can be compared exactly. Right now copying the old stats relies on name being identical, but can we trust name to be unique? Even with groups support?
2014-05-07Add support for node stats0.0.57Saku Ytti
Bumpup gemspec
2014-05-06require config/vars earlier0.0.56Saku Ytti
- we need config/vars before model - some whitespace changes Bump up gemspec
2014-04-22potential fix to race conditionSaku Ytti
1) ssh fails 2) user clicks 'update' 3) node is reset and moved head of queue 4) telnet fails 5) node last time is set to current net result, head of queue will block until interval has passed, even though below head there are nodes which need to be processed.
2014-04-16Don't daemonize by default0.0.54Saku Ytti
It's useful to run interactively during startup, to get the helpful messages about missing stuff.
2014-04-16remove web APISaku Ytti
It is now separately in oxidized-web package
2014-04-15Remove dependency to sequel, sqlite3 and gritSaku Ytti
Not every installation will use git + sql. Try to give helpful error message on missing dependencies.
2014-04-15use Asetus#create to create missing config0.0.52Saku Ytti
2014-04-14update to newer asetus version0.0.51Saku Ytti
2014-04-14bump up gemspec version0.0.50Saku Ytti
2014-04-14depend on AsetusSaku Ytti
Change models to Asetus syntax
2014-04-14Use 'asetus' for configuration filesSaku Ytti
Main benefits a) we get support for system wide configs b) we don't use symbols in config file, they're confusing to non-rubyist
2014-04-13bumpup gemspec0.0.49Saku Ytti
2014-04-11bump up gemspec0.0.48Saku Ytti
2014-04-09bump up gemspec0.0.47Saku Ytti
2014-04-07bump up gemspec0.0.46Saku Ytti
2014-04-07bump up gemspec0.0.45Saku Ytti
2014-04-07bump up gemspecSaku Ytti
2014-03-28bump up gemspecSaku Ytti