summaryrefslogtreecommitdiff
path: root/oxidized.gemspec
AgeCommit message (Collapse)Author
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
2014-03-21Rescue git timeout, fixes #10Saku Ytti
At least I hope it fixes #10, since I didn't figure out how to introduce 10s I/O latency to confirm.
2014-03-17Fix JunOS modelSaku Ytti
Block must return string, it returned nil which broke it. Also coerce type to string in future, so block won't fail so catastrophically, just output missing.
2014-03-14bump up gemspec versionSaku Ytti
2014-03-05Ignore rogue adhoc alert macsSaku Ytti
They keep changing dynamically in config
2014-03-05Add AireOS supportSaku Ytti
Crappy Cisco WLC 5k, much quality, very implementation, such secure * stop pre_logout from expecting prompt by default
2014-03-03Make node table sortableSaku Ytti
2014-03-02Bump up gemspecSaku Ytti
2014-03-02Change dynamic loadingSaku Ytti
If we use assignment method (#method=) we don't get return value, so we never know that manager fails to load. Also we do not want to rescue failures of input/output/source loading, they are catastrophic and should fail whole process, loading of model is not catastrophic.
2014-03-01Switch from CSS to SASSSaku Ytti
I probably should figure out how to start rack in the code, so I'd get caching of the SASS (and in future Coffee) files, instead of Sinatra generating them always on the fly
2014-03-01Add Model#output methodSaku Ytti
Outputs about what we've seen last in input class. Quite dirty in telnet, so not sure I'm going to support it. Let's see if there is use-case for it.
2014-02-28bump up gemspec versiongroteskSaku Ytti
2014-02-27Slightly less ugly nodes pageSaku Ytti
2014-02-27Redirect / to /nodesSaku Ytti
2014-02-27Switch to syslog instead of fileSaku Ytti
1.9.3 does not have Syslog::Logger so in 1.9.3 keep on logging to files
2014-02-26Fix missing dependencySaku Ytti
Also catch all load errors in future by moving require 'oxidized' inside the block
2014-02-26Switch OpenStruct#to_h to #marshal_dump for 1.9Saku Ytti
1.9 does not have #to_h, unnecessarily breaks compatibility downwards
2014-02-25Fix crashes on missing configSaku Ytti
We now merge user config with bootstrap config ensuring all configuratio options are set even if not in configuratatin. Allowing us to add new configuration options, without needing for users to touch their existing configuration. All default values are still written to user config when ever CFG.save is called, which means when you change your output/input/source models and configuration is missing, instead of just adding the configuration needed for that particular module, it'll save full config to file. Don't really think that is a bug, but might be something to fix later on with maybe parameter to 'save'. Which would load user config, merge it with 'save' argument level and save user config. But unless someone is bothered by it, I won't do it. This commit fixes #1
2014-02-25Remove Mutex#owned? It is incompatible with 1.9.3Saku Ytti
I didn't like that solution anyhow, but wasn't sure my locked methods are not calling other external locked methods. That shouldn't be the case so synchronize should work.
2014-02-23Fix sleep and return ability to not run rest/webSaku Ytti
2014-02-23Migrate to sinatra/puma from webrickSaku Ytti
As I can't do IO#select on sinatra/puma to run it when I have time, I have to run it on separate thread. This means Nodes container needs to be thread safe, it now has ghetto mutex locking, but I probably need to be be more focused what are the external methods that can be called and wrap those in @mutex.synchronize Provide also HTML UI not just JSON for ghetto UI to people who don't want to integrate
2014-02-20Figure out which parent class we rescuedSaku Ytti
Rakefile changes Bump up gemspec version
2014-02-10Handle exceptions with different log levelsSaku Ytti
2014-02-07Add AOS (ALU OmniSwitch) supportSaku Ytti
Specifically AOS 6, vxworks era, not linux era 7
2014-02-07Ignore ssh keys, change input exceptionsSaku Ytti
Now input ssh has configuration secure which is false by default, meaning we don't care about changing keys. It breaks ssh security model but rancid does it too. Also input models error handling is now mostly moved to node.rb for centralized handling + logging. With input models only defining which errors they want to receover from.
2013-10-26bump up versionnopedial