puppetlabs-toy-chest / chloride Goto Github PK
View Code? Open in Web Editor NEWSimple abstraction layer around NetSSH: For all of your SSH-in-a-for-loop needs!
License: Apache License 2.0
Simple abstraction layer around NetSSH: For all of your SSH-in-a-for-loop needs!
License: Apache License 2.0
IIRC the Execute
action has it's own messaging for commands it has executed, which overlaps with the output from the Host. We should figure out how we actually want to handle STDOUT/STDERR, and other messaging, in a non-redundant and configurable way.
We should simplify/automate the process of the initial SSH connection so an end-user doesn't need to use connect_ssh
. Addititionally, the SSH key file verifification logic from the installer could probably be ported over as an action.
We need better docs, both comments in the code as well as docs on the site. If we added YARD, we could probably get an initial stab at both of those for the price of one.
I think it would be useful to add a Puppet action that would ensure puppet is installed, and then pass along the arguments given to puppet. In this way you could kick off puppet agent -t
, install a package with puppet resource package
or do any other one-time resource management supported by the RAL. A convenience method for installing modules would also be useful.
Chloride::Action::Puppet.new(host: host, cmd: "resource package nginx ensure=latest")
Chloride::Action::Puppet.new(host: host, cmd: "agent -t")
We'd want to ensure that the action works correctly with FOSS and PE. Not sure if we'd want to deal with 3.8 support initially.
Making it easy to query and use facter facts once the puppet-agent is installed would be useful.
Currently, we only support SSH. It would be great if we also supported WinRM so you could use one tool to handle all of your remote management needs with one lib. There is already a library for WinRM. We'd just need to add a special connection config for WinRM that could be passed in to the Host
object.
Having i18n support for non-English speakers is a good thing.
Currently, if you want to multi-thread this library, you'd have to manage that yourself. We could add multi-threading support natively as an option you can enable/disable.
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.