Skip to content

Commit 44e9490

Browse files
committed
puppet-lint: fix top_scope_facts warnings
1 parent d6c2628 commit 44e9490

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/service_limits.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
if $restart_service {
7373
exec { "restart ${name} because limits":
7474
command => "systemctl restart ${name}",
75-
path => $::path,
75+
path => $facts['path'],
7676
refreshonly => true,
7777
subscribe => File["${path}/${name}.d/90-limits.conf"],
7878
}

manifests/tmpfiles.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
exec { 'systemd-tmpfiles':
1919
command => "systemd-tmpfiles ${_ops}",
2020
refreshonly => true,
21-
path => $::path,
21+
path => $facts['path'],
2222
}
2323
}

0 commit comments

Comments
 (0)