Giter Site home page Giter Site logo

chef_diff's People

Contributors

desdic avatar storpipfugl avatar

Stargazers

 avatar

Watchers

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

chef_diff's Issues

Support for git modules?

First, thank you for providing this module. It has proven to be very beneficial.

We currently have several server clusters each having their own chef organization.
Example: Dev, QA, Beta, Stage, Prod.

To allow customization of environments, we separated them into individual git repositories which maintain data_bags and environments per cluster.
Example: chef-dev, chef-qa, chef-beta, etc.

All cluster repositories share the chef-cookbooks and chef-roles repositories which are include as git submodules.

Example: chef-dev repo has
data_bags/
environments/
cookbooks/ ==> submodule to chef-cookbooks
roles/ == submodule to chef-roles

I was able to 'trick' chef_diff into pulling the repository recursively by specifying url as --recursively <repoURL>

Unfortunately I don't have a 'trick' for updating submodules which requires a separate command git submodule update --recursive --remote

What's the chances chef_diff could be updated to become submodule 'aware'? If configuration uses_submodules true, then use --recursive on clone and execute the additional submodule command for updates. I would also assume the submodule revisions must be tracked separately.

Thoughts?

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.