This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import OrderedDict | |
class S4LRU(object): | |
""" | |
Short and Simple [S4LRU][1]cache. Implemented by Micha Gorelick | |
(http://github.com/mynameisfiber) and released under the do whatever you | |
want license. | |
[1] http://www.cs.cornell.edu/~qhuang/papers/sosp_fbanalysis.pdf | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
Gem::Specification.new do |s| | |
s.name = "mcollective-client" | |
s.version = "1.0.2" | |
s.platform = Gem::Platform::RUBY | |
s.authors = ["RI Pienaar"] | |
s.email = ["[email protected]"] | |
s.homepage = "https://github.com/puppetlabs/marionette-collective" | |
s.summary = %q{Mcollective client} | |
s.description = %q{Interact with mcollective} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MCollective | |
module Agent | |
class agentreload<RPC::Agent | |
action 'reload' do | |
reload | |
end | |
private | |
def reload |