Skip to content

Commit 1e728b8

Browse files
committed
remove facts in favor of a Deferred function (fix lint)
1 parent 7332c40 commit 1e728b8

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

examples/jira_mysql_install.pp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
node default {
22
class { 'mysql::server':
3-
root_password => 'strongpassword',
3+
root_password => 'strongpassword',
44
}
5-
65
-> mysql::db { 'jira':
76
user => 'jiraadm',
87
password => 'mypassword',

examples/jira_mysql_nativessl_install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$key = hiera('key')
44

55
class { 'mysql::server':
6-
root_password => 'strongpassword',
6+
root_password => 'strongpassword',
77
}
88

99
mysql::db { 'jira':

examples/jira_postgres_install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
-> class { 'jira':
15-
javahome => '/opt/java/latest',
15+
javahome => '/opt/java/latest',
1616
}
1717

1818
include jira::facts

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
if $plugin_data['ensure'] == 'absent' {
520520
archive {
521521
$target:
522-
ensure => 'absent',
522+
ensure => 'absent',
523523
}
524524
} else {
525525
$_target_defaults = {

0 commit comments

Comments
 (0)