Skip to content

Conversation

@tommodore
Copy link
Contributor

Disregard the lin which starts in "%" for erb files.

disregard the lin which starts in "%"
@vStone
Copy link
Owner

vStone commented Dec 18, 2014

care to add an example of a template where this is used?

@tommodore
Copy link
Contributor Author

for example a sudo template:

...
# User privilege specification
%admin <%= @hostname %>=(ALL) ALL
root    ALL=(ALL:ALL) ALL
ROOTS   <%= @hostname %>=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo  <%= @hostname %>=(ALL:ALL) ALL
...

vStone added a commit that referenced this pull request Dec 18, 2014
Allow lines in templates to begin with %
@vStone vStone merged commit 156df6c into vStone:master Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants