We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f782d commit f697d0dCopy full SHA for f697d0d
1 file changed
manifests/facts.pp
@@ -19,12 +19,7 @@
19
$port = $jira::tomcat_port,
20
$contextpath = $jira::contextpath,
21
$json_packages = $jira::params::json_packages,
22
- # lint:ignore:parameter_order
23
- $uri = $jira::tomcat_address ? {
24
- undef => 'localhost',
25
- default => $jira::tomcat_address,
26
- },
27
- # lint:endignore
+ $uri = pick($jira::tomcat_address, 'localhost')
28
) inherits jira::params {
29
# Puppet Enterprise supplies its own ruby version if you're using it.
30
# A modern ruby version is required to run the executable fact
0 commit comments