-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CAT-1347 erb to epp conversion #2451
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<%- if $action { -%> | ||
|
||
Action <%= $action %> /cgi-bin virtual | ||
<% } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Alias declarations for resources outside the DocumentRoot | ||
<%- $aliases.each |$alias_statement| { -%> | ||
<%- if $alias_statement["path"] { -%> | ||
<%- if $alias_statement["alias"] { -%> | ||
Alias <%= $alias_statement["alias"] %> "<%= $alias_statement["path"] %>" | ||
<%- }elsif $alias_statement["aliasmatch"] { -%> | ||
AliasMatch <%= $alias_statement["aliasmatch"] %> "<%= $alias_statement["path"] %>" | ||
<%- } elsif $alias_statement["scriptalias"] { -%> | ||
ScriptAlias <%= $alias_statement["scriptalias"] %> "<%= $alias_statement["path"] %>" | ||
<%- } elsif $alias_statement["scriptaliasmatch"] { -%> | ||
ScriptAliasMatch <%= $alias_statement["scriptaliasmatch"] %> "<%= $alias_statement["path"] %>" | ||
<%- } -%> | ||
<%- } -%> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<%- if $allow_encoded_slashes { -%> | ||
|
||
AllowEncodedSlashes <%= $allow_encoded_slashes %> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<%- if $cas_enabled { -%> | ||
<%- if $cas_cookie_path { -%> | ||
CASCookiePath <%= $cas_cookie_path %> | ||
<%- } -%> | ||
<%- if $cas_login_url { -%> | ||
CASLoginURL <%= $cas_login_url %> | ||
<%- } -%> | ||
<%- if $cas_validate_url { -%> | ||
CASValidateURL <%= $cas_validate_url %> | ||
<%- } -%> | ||
<%- if $cas_version { -%> | ||
CASVersion <%= $cas_version %> | ||
<%- } -%> | ||
<%- if $cas_debug { -%> | ||
CASDebug <%= $cas_debug %> | ||
<%- } -%> | ||
<%- if $cas_certificate_path { -%> | ||
CASCertificatePath <%= $cas_certificate_path %> | ||
<%- } -%> | ||
<%- if $cas_proxy_validate_url { -%> | ||
CASProxyValidateURL <%= $cas_proxy_validate_url %> | ||
<%- } -%> | ||
<%- if $cas_validate_depth { -%> | ||
CASValidateDepth <%= $cas_validate_depth %> | ||
<%- } -%> | ||
<%- if $cas_root_proxied_as { -%> | ||
CASRootProxiedAs <%= $cas_root_proxied_as %> | ||
<%- } -%> | ||
<%- if $cas_cookie_entropy { -%> | ||
CASCookieEntropy <%= $cas_cookie_entropy %> | ||
<%- } -%> | ||
<%- if $cas_timeout { -%> | ||
CASTimeout <%= $cas_timeout %> | ||
<%- } -%> | ||
<%- if $cas_idle_timeout { -%> | ||
CASIdleTimeout <%= $cas_idle_timeout %> | ||
<%- } -%> | ||
<%- if $cas_cache_clean_interval { -%> | ||
CASCacheCleanInterval <%= $cas_cache_clean_interval %> | ||
<%- } -%> | ||
<%- if $cas_cookie_domain { -%> | ||
CASCookieDomain <%= $cas_cookie_domain %> | ||
<%- } -%> | ||
<%- if $cas_cookie_http_only { -%> | ||
CASCookieHttpOnly <%= $cas_cookie_http_only %> | ||
<%- } -%> | ||
<%- if $cas_authoritative { -%> | ||
CASAuthoritative <%= $cas_authoritative %> | ||
<%- } -%> | ||
<%- if $cas_sso_enabled { -%> | ||
CASSSOEnabled On | ||
<%- } -%> | ||
<%- if $cas_validate_saml { -%> | ||
CASValidateSAML On | ||
<%- } -%> | ||
<%- if $cas_attribute_prefix { -%> | ||
CASAttributePrefix <%= $cas_attribute_prefix %> | ||
<%- } -%> | ||
<%- if $cas_attribute_delimiter { -%> | ||
CASAttributeDelimiter <%= $cas_attribute_delimiter %> | ||
<%- } -%> | ||
<%- if $cas_scrub_request_headers { -%> | ||
CASScrubRequestHeaders On | ||
<%- } -%> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<%- if $add_default_charset { -%> | ||
|
||
AddDefaultCharset <%= $add_default_charset %> | ||
<% } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<%- if $custom_fragment { -%> | ||
|
||
## Custom fragment | ||
<%= $custom_fragment %> | ||
<% } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
## Vhost docroot | ||
<%- if $virtual_docroot { -%> | ||
VirtualDocumentRoot "<%= $virtual_docroot %>" | ||
<% } -%> | ||
<%- if $docroot and ((! $virtual_docroot) or $virtual_use_default_docroot) { -%> | ||
DocumentRoot "<%= $docroot %>" | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<%- if $fallbackresource { -%> | ||
|
||
FallbackResource <%= $fallbackresource %> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<%- $define.each | $k, $v| { -%> | ||
Undefine <%= $k %> | ||
<% } -%> | ||
</VirtualHost> | ||
<%- if $passenger_pre_start { -%> | ||
<%- [$passenger_pre_start].flatten().filter |$value| { $value }.each |$passenger_pre_start| { -%> | ||
PassengerPreStart <%= $passenger_pre_start %> | ||
<%- } -%> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# ************************************ | ||
# Vhost template in module puppetlabs-apache | ||
# Managed by Puppet | ||
# ************************************ | ||
<%= [$comment].flatten.map |$c| { "# ${c}" }.join("\n") -%> | ||
<%- if $mdomain { -%> | ||
|
||
<%- if $mdomain =~ String { -%> | ||
|
||
MDomain <%= $mdomain %> | ||
<%-} else {-%> | ||
MDomain <%= $servername %> | ||
<%- } -%> | ||
<% } -%> | ||
|
||
<VirtualHost <%= [$nvh_addr_port].flatten().filter |$value| { $value }.join(' ') %>> | ||
<% $define.each | $k, $v| { -%> | ||
Define <%= $k %> <%= $v %> | ||
<% } -%> | ||
<% if $servername and !$servername.empty { -%> | ||
ServerName <%= $servername %> | ||
<% } -%> | ||
<% if $serveradmin { -%> | ||
ServerAdmin <%= $serveradmin %> | ||
<% } -%> | ||
<%- unless $protocols.empty { -%> | ||
Protocols <%= join($protocols, ' ') %> | ||
<%- } -%> | ||
<%- unless $protocols_honor_order == undef { -%> | ||
ProtocolsHonorOrder <%= apache::bool2httpd($protocols_honor_order) %> | ||
<%- } -%> | ||
<% if $limitreqfieldsize { -%> | ||
LimitRequestFieldSize <%= $limitreqfieldsize %> | ||
<% } -%> | ||
<% if $limitreqfields { -%> | ||
LimitRequestFields <%= $limitreqfields %> | ||
<% } -%> | ||
<% if $limitreqline { -%> | ||
LimitRequestLine <%= $limitreqline %> | ||
<% } -%> | ||
<% if $limitreqbody { -%> | ||
LimitRequestBody <%= $limitreqbody %> | ||
<% } %> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<%- unless $filters.empty { -%> | ||
|
||
## Filter module rules | ||
## as per http://httpd.apache.org/docs/2.4/mod/mod_filter.html | ||
<%- $filters.each |$filter| { -%> | ||
<%= $filter %> | ||
<%- } -%> | ||
<%- } -%> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% unless $headers.empty { -%> | ||
|
||
## Header rules | ||
## as per http://httpd.apache.org/docs/2.4/mod/mod_headers.html#header | ||
<%- $headers.each |$header_statement| { -%> | ||
Header <%= $header_statement %> | ||
<%- } -%> | ||
<% } -%> |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.