Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an array as listen attribute instead of a hash #409

Merged
merged 1 commit into from
Mar 1, 2016

Commits on Feb 10, 2016

  1. Use an array as listen attribute instead of a hash

    This PR amends the logic introduced in
    sous-chefs#378 to use an array
    as attribute instead of a hash, as this will simplify using this
    cookbook in other recipes.
    
    E.g., if a recipe wants httpd to listen on `addr:port`, it is much easier to
    just set
    
        node.set['apache2']['listen'] += ['addr:port']
    
    instead of first having to check whether the listen hash does have the
    key `addr` already and then either add it or update the port list.
    Jens Rosenboom committed Feb 10, 2016
    Configuration menu
    Copy the full SHA
    c5da749 View commit details
    Browse the repository at this point in the history