Skip to content

Commit

Permalink
Merge pull request #122 from myii/fix/ensure-map-data-directly-under-…
Browse files Browse the repository at this point in the history
…values

fix(_mapdata): ensure map data is directly under `values`
  • Loading branch information
myii authored Jan 14, 2021
2 parents 92d81e8 + c869918 commit 0d3965c
Show file tree
Hide file tree
Showing 15 changed files with 2,395 additions and 2,411 deletions.
343 changes: 171 additions & 172 deletions test/integration/default/files/_mapdata/amazonlinux-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,176 +2,175 @@
# Amazon Linux AMI-2018
---
values:
tomcat:
arch: amd64
authbind: 'no'
catalina_base: /usr/share/tomcat
catalina_home: /usr/share/tomcat
catalina_pid: /var/run/tomcat.pid
catalina_tmpdir: /var/cache/tomcat/temp
cluster:
simple: true
common_pkg: tomcat-common
conf_dir: /etc/tomcat
connectors:
example_connector:
SSLEnabled: 'false'
URIEncoding: UTF-8
acceptCount: 100
clientAuth: 'false'
connectionTimeout: 20000
disableUploadTimeout: 'true'
enableLookups: 'false'
keystoreFile: /path/to/keystoreFile
keystorePass: somerandomtext
maxHttpHeaderSize: 8192
maxThreads: 150
minSpareThreads: 25
port: 8443
protocol: org.apache.coyote.http11.Http11Protocol
redirectPort: 8443
scheme: https
secure: 'true'
sslProtocol: TLS
context:
Environment:
env.first:
name: env.first
override: true
type: java.lang.String
value: first.text
env.second:
name: env.second
override: false
type: some.other.type
value: second.value
Listener:
first:
className: org.apache.catalina.security.SecurityListener
second:
SSLEngine: 'on'
className: org.apache.catalina.core.AprLifecycleListener
Resource:
jdbc:
auth: Container
driverClassName: org.postgresql.Driver
maxActive: 20
maxIdle: 10
maxWait: -1
name: jdbc/__postgres
password: aycaramba!
type: javax.sql.DataSource
url: jdbc:postgresql://db.server/dbname
user: dbuser
ResourceLink:
any_name_here_will_be_ignored:
global: simpleValue
name: linkToGlobalResource
type: java.lang.Integer
expires_when: 2 weeks
group: tomcat
haveged_enabled: false
id:
- example.com
- example.net
java_home: /usr/lib/jvm/jre
java_opts:
- Djava.awt.headless=true
- Xmx128m
- XX:MaxPermSize=256m
- Dlog4j.configuration=file:/tmp/log4j.properties
- Dlogback.configurationFile=/tmp/logback.xml
jsp_compiler: javac
jvm_tmp: /tmp/tomcat
limit:
hard: 64000
soft: 64000
logfile_compress: 1
logfile_days: 14
main_config: /etc/sysconfig/tomcat
main_config_template: salt://tomcat/files/tomcat-default-CentOS.template
manager:
roles:
- manager-gui
- manager-script
- manager-jmx
- manager-status
users:
saltuser1:
passwd: RfgpE2iQwD
roles: manager-gui,manager-script,manager-jmx,manager-status
saltuser2:
passwd: RfgpE2iQwD
roles:
- manager-gui
- manager-script
- manager-jmx
- manager-status
manager_pkg: tomcat-admin-webapps
native_pkg: tomcat-native
other_contexts:
other-contexts:
elements:
Resource:
jdbc:
auth: Container
driverClassName: org.postgresql.Driver
maxActive: 20
maxIdle: 10
maxWait: -1
name: jdbc/__postgres
password: aycaramba!
type: javax.sql.DataSource
url: jdbc:postgresql://db.server/dbname
user: dbuser
Resources:
PostResources:
base: /var/lib/tomcat8/appconfig
className: org.apache.catalina.webresources.DirResourceSet
webAppMount: /WEB-INF/classes
params:
crossContext: 'true'
debug: 1
docBase: /path/to/webapp
reloadable: 'true'
pkg: tomcat
resources: {}
security: 'no'
service: tomcat
service_enabled: true
service_running: false
sites:
example.com:
alias: www.example.com
appBase: ../webapps/myapp
debug: 0
docBase: ../webapps/myapp
host_parameters:
autoDeploy: 'true'
deployXML: 'false'
unpackWARs: 'true'
name: tomcat-server
path: ''
arch: amd64
authbind: 'no'
catalina_base: /usr/share/tomcat
catalina_home: /usr/share/tomcat
catalina_pid: /var/run/tomcat.pid
catalina_tmpdir: /var/cache/tomcat/temp
cluster:
simple: true
common_pkg: tomcat-common
conf_dir: /etc/tomcat
connectors:
example_connector:
SSLEnabled: 'false'
URIEncoding: UTF-8
acceptCount: 100
clientAuth: 'false'
connectionTimeout: 20000
disableUploadTimeout: 'true'
enableLookups: 'false'
keystoreFile: /path/to/keystoreFile
keystorePass: somerandomtext
maxHttpHeaderSize: 8192
maxThreads: 150
minSpareThreads: 25
port: 8443
protocol: org.apache.coyote.http11.Http11Protocol
redirectPort: 8443
scheme: https
secure: 'true'
sslProtocol: TLS
context:
Environment:
env.first:
name: env.first
override: true
type: java.lang.String
value: first.text
env.second:
name: env.second
override: false
type: some.other.type
value: second.value
Listener:
first:
className: org.apache.catalina.security.SecurityListener
second:
SSLEngine: 'on'
className: org.apache.catalina.core.AprLifecycleListener
Resource:
jdbc:
auth: Container
driverClassName: org.postgresql.Driver
maxActive: 20
maxIdle: 10
maxWait: -1
name: jdbc/__postgres
password: aycaramba!
type: javax.sql.DataSource
url: jdbc:postgresql://db.server/dbname
user: dbuser
ResourceLink:
any_name_here_will_be_ignored:
global: simpleValue
name: linkToGlobalResource
type: java.lang.Integer
expires_when: 2 weeks
group: tomcat
haveged_enabled: false
id:
- example.com
- example.net
java_home: /usr/lib/jvm/jre
java_opts:
- Djava.awt.headless=true
- Xmx128m
- XX:MaxPermSize=256m
- Dlog4j.configuration=file:/tmp/log4j.properties
- Dlogback.configurationFile=/tmp/logback.xml
jsp_compiler: javac
jvm_tmp: /tmp/tomcat
limit:
hard: 64000
soft: 64000
logfile_compress: 1
logfile_days: 14
main_config: /etc/sysconfig/tomcat
main_config_template: salt://tomcat/files/tomcat-default-CentOS.template
manager:
roles:
- manager-gui
- manager-script
- manager-jmx
- manager-status
users:
saltuser1:
passwd: RfgpE2iQwD
roles: manager-gui,manager-script,manager-jmx,manager-status
saltuser2:
passwd: RfgpE2iQwD
roles:
- manager-gui
- manager-script
- manager-jmx
- manager-status
manager_pkg: tomcat-admin-webapps
native_pkg: tomcat-native
other_contexts:
other-contexts:
elements:
Resource:
jdbc:
auth: Container
driverClassName: org.postgresql.Driver
maxActive: 20
maxIdle: 10
maxWait: -1
name: jdbc/__postgres
password: aycaramba!
type: javax.sql.DataSource
url: jdbc:postgresql://db.server/dbname
user: dbuser
Resources:
PostResources:
base: /var/lib/tomcat8/appconfig
className: org.apache.catalina.webresources.DirResourceSet
webAppMount: /WEB-INF/classes
params:
crossContext: 'true'
debug: 1
docBase: /path/to/webapp
reloadable: 'true'
example.net:
alias: www.example.net
appBase: ../webapps/myapp2
debug: 0
docBase: ../webapps/myapp2
host_parameters:
autoDeploy: 'true'
unpackWARs: 'true'
path: ''
reloadable: 'true'
valves:
- className: org.apache.catalina.valves.AccessLogValve
directory: logs
fileDateFormat: yyyy-MM-dd-HH
pattern: '%h %l %u %t "%m http://%v%U %H" %s %b "%{Referer}i"
"%{User-Agent}i" %D'
prefix: localhost_access_log.
suffix: .log
- className: org.apache.catalina.authenticator.SingleSignOn
user: tomcat
ver: 7
with_haveged: false
pkg: tomcat
resources: {}
security: 'no'
service: tomcat
service_enabled: true
service_running: false
sites:
example.com:
alias: www.example.com
appBase: ../webapps/myapp
debug: 0
docBase: ../webapps/myapp
host_parameters:
autoDeploy: 'true'
deployXML: 'false'
unpackWARs: 'true'
name: tomcat-server
path: ''
reloadable: 'true'
example.net:
alias: www.example.net
appBase: ../webapps/myapp2
debug: 0
docBase: ../webapps/myapp2
host_parameters:
autoDeploy: 'true'
unpackWARs: 'true'
path: ''
reloadable: 'true'
valves:
- className: org.apache.catalina.valves.AccessLogValve
directory: logs
fileDateFormat: yyyy-MM-dd-HH
pattern: '%h %l %u %t "%m http://%v%U %H" %s %b "%{Referer}i"
"%{User-Agent}i" %D'
prefix: localhost_access_log.
suffix: .log
- className: org.apache.catalina.authenticator.SingleSignOn
user: tomcat
ver: 7
with_haveged: false
Loading

0 comments on commit 0d3965c

Please sign in to comment.