Skip to content

Commit

Permalink
Make terraform.self.volumes.nfs optional with nfs server
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Sep 3, 2024
1 parent 4f92cd8 commit 901dc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/profile/manifests/nfs.pp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
notify => Service[$nfs::server_service_name],
}

$devices = lookup('terraform.self.volumes.nfs')
$devices = lookup('terraform.self.volumes.nfs', Hash, undef, {})
if $devices =~ Hash[String, Hash] {
# Allow instances with specific tags to mount NFS without root squash
$instances = lookup('terraform.instances')
Expand Down

0 comments on commit 901dc14

Please sign in to comment.