Code Monkey home page Code Monkey logo

chef-config-driven-helper's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chef-config-driven-helper's Issues

app_vhost still doesn't behave the same as when used from internal recipes

Internal recipes iterate node[type]['sites'] where type is either nginx or apache.

Defaults are set on these attrs but are not available to the app_vhost definition separately.

Therefore, given a site definition in node['nginx']['sites] and a site definition from a cookbook using app_vhost directly, app_vhost will fail unless all parameters are provided whereas the attr version will work.

The defaults need refactoring (again) to internalize them in to app_vhost. In order to facilitate introspection of the sites attrs, perhaps we should do this in addition to what is there already.

This means that a little bit of redundant logic will occur when using the built in recipes but that resulting behavior should be consistent.

Ability to grant access to more than 1 database

At present the only way to grant perms is with the database_name parameter to the mysql_database_user provider.

This parameter does not support multiple values, therefore it is only possible to grant a user access to one database.

This either needs expanding to support multiple database names or an additional grants section of the config needs creating. This can map on to the mysql_database_user provider with action :grant

Nested key type inconsistency for apache sites

Due to the way we send template variables to the web_app resource, the top level keys get converted to symbols for use in the template. However, the nested keys remain as strings.

In order to resolve I believe we need to stop using the apache2 web_app definition and create our own where variables can directly be passed through to the template with no key mangling.

Support restricted urls definition in Nginx and Apache

the existing restricted_dirs configuration uses Nginx locations and Apache Directories, which doesn't support restricting files as well.

A restricted_urls option should be added to use Nginx location blocks and Apache Location blocks.

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.