Skip to content

Commit

Permalink
Add sample hiera configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoodlad committed Mar 30, 2014
1 parent 0d66ea7 commit c7aa51b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions config/hiera.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
---
# This file configures the hiera "database" for Boxen. As with most files in
# this repo, it's just an example, and you should feel free to make any
# changes suited to your organisation.

# The defaults here should give you a solid start; put global defaults in
# a file named hiera/common.yaml, and individuals can supplement and/or override
# them in hiera/{github_login}.yaml

:backends:
- yaml
:yaml:
:datadir: "%{::boxen_home}/repo/hiera"
:hierarchy:
- "users/%{github_login}"
- common

# Many modules make their own hiera data available through the use of
# puppet-module-data. Some depend on the 'deeper' merge_behavior setting, so
# remove it at your own risk!
# ...
# besides the modules that use it, you might want to override deeply nested hash
# values, too!
:merge_behavior: deeper
23 changes: 23 additions & 0 deletions hiera/common.yaml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# This is an example of the kinds of things that you can configure via hiera.
# If you've left the defaults in `/hiera.yml`, you might want to copy this file
# to `hiera/common.yaml`, or feel free to start with a blank slate!

# Have a gander at some of these examples to get an idea of some of the things
# that you can affect 'out of the box', and then customise to your
# heart's content.

# See https://github.com/boxen/puppet-ruby for docs
ruby::global::version: "2.1.0"
ruby::rbenv_plugins:
rbenv-vars:
ensure: v1.0.0
source: sstephenson/rbenv-vars
ruby-build:
ensure: v20131225.1
source: sstephenson/ruby-build
ruby::version::alias:
2.0.0: 2.0.0-p353

# See https://github.com/boxen/puppet-java for docs
java::update_version: 51

0 comments on commit c7aa51b

Please sign in to comment.