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

add proper array support for require #1047

Merged
merged 2 commits into from
Feb 27, 2015

Conversation

underscorgan
Copy link
Contributor

Fixes #1002

now valid access rules are generated from directory template
@@ -38,7 +38,9 @@
<%- end -%>
<%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
<%- if directory['require'] and directory['require'] != '' -%>
Require <%= Array(directory['require']).join(' ') %>
<%- Array(directory['require']).each do |require| -%>
Require <%= require %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmm, @require?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no, local variable. Anyway, something other than a ruby keyword would be good.

hunner added a commit that referenced this pull request Feb 27, 2015
add proper array support for require
@hunner hunner merged commit daf257e into puppetlabs:master Feb 27, 2015
@underscorgan underscorgan deleted the Griphon-master branch February 27, 2015 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants