Code Monkey home page Code Monkey logo

hierademo's Introduction

Interactive Hiera demo

This is a simplified simulation of the process that Hiera goes through as it resolves each layer in its hierarchy while looking for requested keys. This simulation matches exactly how legacy Hiera works. Modern Hiera conceptually works similarly, but adds in several layers of complexity and more data sources.

Once you use this simulation to understand how each layer and source is resolved from the available facts, then the documentation for the added complexity for modern Hiera will make a lot more sense.

Try it out!

Click the [Interpolate Facts] button a few times to see how the values resolve in the layer names, then change the facts listed on the left side of the page and try again.

Then compare those layers to the datasource files listed underneath the hiera.yaml file. Click each one to expand it. Interpolate the facts in hiera.yaml and compare the layers to the filenames. Expand the datasource contents by clicking on each of them and see what data is available in each.

Finally, type a key to resolve in the upper left and press the [Lookup] button. See how each layer is inspected, one at a time. If it resolves to the path of a file that exists, that datasource will expand to show its contents, and if the key matches something in the file, then the simulation returns that value.

The status of the simulation runs in the top message box.

Have fun, and contribute any fixes needed if you find a bug!

hierademo's People

Contributors

binford2k avatar smortex avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hierademo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.