Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcooley/hiera-genders
Hiera backend using genders
https://github.com/wcooley/hiera-genders
Last synced: 16 days ago
JSON representation
Hiera backend using genders
- Host: GitHub
- URL: https://github.com/wcooley/hiera-genders
- Owner: wcooley
- Created: 2013-08-10T06:30:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T03:42:26.000Z (over 10 years ago)
- Last Synced: 2024-10-18T23:16:04.740Z (2 months ago)
- Language: Ruby
- Size: 254 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
Awesome Lists containing this project
README
hiera-genders
=============[![Build
Status](https://travis-ci.org/wcooley/hiera-genders.svg?branch=master)](https://travis-ci.org/wcooley/hiera-genders)Provides a [genders][1] backend for Hiera.
Author
------
* Wil Cooley wcooley(at)nakedape.ccExample
-------To try it out with the `hiera` command outside of Puppet:
$ RUBYLIB=`pwd`/lib hiera -c spec/fixtures/hiera/good/hiera.yaml foo hostname=host1
bar
$ RUBYLIB=`pwd`/lib hiera -c spec/fixtures/hiera/good/hiera.yaml oof hostname=host1
trueLicense
-------Author:: Wil Cooley (wcooley(at)nakedape.cc)
Copyright:: Copyright (c) 2013 Wil Cooley
License:: Apache License, Version 2.0Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Testing
-------Due to what appears to be a bug in the new hiera support in `rspec-puppet`, it
is not possible to change the `hiera_config` so running just `rake spec` or `rspec`
at the top of the tree fails. Instead, run the tests separately:$ rspec spec/functions/hiera_genders_broken_spec.rb
$ rspec spec/functions/hiera_genders_good_spec.rbOr using a non-standard Rake task:
$ rake specs
Support
-------Please log tickets and issues at our [Github project][2].
[1]: https://computing.llnl.gov/linux/genders.html
[2]: https://github.com/wcooley/hiera-genders/issues