Merge branch 'master' of https://github.com/jfryman/puppet-nginx into rip-out-module-data
Conflicts: docs/hiera.md
This commit is contained in:
commit
12ece07bb4
4 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
# Usage of Hiera
|
||||
|
||||
<<<<<<< HEAD
|
||||
Passing through parameters from the main Class[nginx] and then having them chain down to Class[nginx::config] creates a ton of unnecessary spaghetti code that makes the module more complex to understand and difficult to extend.
|
||||
|
||||
Going forward, it is recommended to declare your changes in Hiera based on the system(s) role and location in your environment. In Puppet < 3.x, this is accomplished with Hiera bindings.
|
||||
|
|
|
@ -39,4 +39,3 @@
|
|||
<%- end -%>
|
||||
<% end -%>
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
location <%= @location %> {
|
||||
<% if @internal -%>
|
||||
internal;
|
||||
|
@ -52,4 +53,4 @@
|
|||
<%- Array(@raw_prepend).each do |line| -%>
|
||||
<%= line %>
|
||||
<%- end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
|
@ -94,4 +94,3 @@ server {
|
|||
|
||||
access_log <%= @access_log_real %>;
|
||||
error_log <%= @error_log_real %>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue