Skip to content

Commit

Permalink
Fix include
Browse files Browse the repository at this point in the history
  • Loading branch information
tehmaze committed Sep 20, 2024
1 parent 186107c commit c96312b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manifests/cmdline.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
Hash[String[1], Hash] $parameters = {},
Boolean $reboot = true,
) {
include pi::params

$path = "${pi::params::path}/cmdline.txt"

augeas::lens { 'boot_cmdline':
Expand Down
4 changes: 3 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
Hash[String[1], Hash] $fragments = {},
Boolean $reboot = true,
) {
$path = "${::pi::params::path}/config.txt"
include pi::params

$path = "${pi::params::path}/config.txt"

concat { $path:
ensure => present,
Expand Down

0 comments on commit c96312b

Please sign in to comment.