Skip to content

Commit f72cf08

Browse files
committed
replace topscope facts
1 parent 35fb357 commit f72cf08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/acceptance/mysql_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class { 'java':
5050
}
5151
5252
exec { 'tmpkey':
53-
command => "openssl req -x509 -nodes -days 1 -subj '/C=CA/ST=QC/L=Montreal/O=FOO/CN=${fqdn}' -newkey rsa:1024 -keyout /tmp/key.pem -out /tmp/cert.pem",
53+
command => "openssl req -x509 -nodes -days 1 -subj '/C=CA/ST=QC/L=Montreal/O=FOO/CN=${facts['networking']['fqdn']}' -newkey rsa:1024 -keyout /tmp/key.pem -out /tmp/cert.pem",
5454
path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ],
5555
creates => '/tmp/cert.pem',
5656
}

templates/cluster.properties.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This ID must be unique across the cluster
2-
jira.node.id = <%= $facts['fqdn'] %>
2+
jira.node.id = <%= $facts['networking']['fqdn'] %>
33
# The location of the shared home directory for all JIRA nodes
44
jira.shared.home = <%= $jira::shared_homedir %>
55
<% if $jira::ehcache_listener_host { -%>

0 commit comments

Comments
 (0)