Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebsco/mixlibrary-core
GEM to wrap all Chef LWRP logic inside a gem
https://github.com/ebsco/mixlibrary-core
Last synced: about 1 month ago
JSON representation
GEM to wrap all Chef LWRP logic inside a gem
- Host: GitHub
- URL: https://github.com/ebsco/mixlibrary-core
- Owner: ebsco
- License: other
- Created: 2014-12-17T16:18:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T16:33:51.000Z (almost 9 years ago)
- Last Synced: 2024-10-14T00:12:15.120Z (2 months ago)
- Language: Ruby
- Homepage: http://ebsco.github.io/mixlibrary-core
- Size: 50.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Mixlibrary-Core
[![GitHub](http://img.shields.io/badge/github-ebsco/mixlibrary-blue.svg)](https://github.com/ebsco/mixlibrary-core)
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/mixlibrary-core/frames)[![Gem Version](https://badge.fury.io/rb/mixlibrary-core.svg)](https://github.com/ebsco/mixlibrary-core/releases)
[![Build Status - Linux](https://api.travis-ci.org/ebsco/mixlibrary-core.svg?branch=master)](https://travis-ci.org/ebsco/mixlibrary-core)
[![License](http://img.shields.io/badge/license-Apache2-yellowgreen.svg)](https://github.com/ebsco/mixlibrary-core/blob/master/LICENSE.txt)
[![Build status - Windows](https://ci.appveyor.com/api/projects/status/0d26tuv87r13b27r/branch/master?svg=true)](https://ci.appveyor.com/project/carpnick/mixlibrary-core/branch/master)Wraps some provider functionality from chef into easily consumable ruby classes that do not have the extra baggage of being dependent on Chef data objects. Node object, Environment etc.
## Installation
Add this line to your application's Gemfile:
gem 'mixlibrary-core'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install mixlibrary-core
## How to Install via Chef Recipe
* [Recipe Install Sample](https://github.com/ebsco/mixlibrary-core/blob/master/Samples/SampleRecipeDeployment.rb)
## Documentation
* Uses yard to document classes and methods. Generate docs or automatic documentation: http://www.rubydoc.info
* rake doc## Usage
### Windows Oriented
#### Powershell Scripts
Needed ability to execute powershell scripts and get the powershell process back. So to execute a powershell script:```
require 'mixlibrary/core/apps/shell'
script= <<-EOF
write-host "Hello 'World'"
EOFprocobj = Mixlibrary::Core::Shell.windows_script_out!(:powershell,script)
```#### Batch
Not Implemented yet### Linux Oriented
## Contributing
# Run All the Tests on your platform and build the gem
bundle installbundle exec rake
1. Fork it (http://github.com//mixlibrary-core/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request