Skip to content

Commit

Permalink
Fix link target
Browse files Browse the repository at this point in the history
  • Loading branch information
nward committed May 15, 2024
1 parent a314d78 commit 612eff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
file { "freeradius sites-enabled/${name}":
ensure => $ensure_link,
path => "${fr_basepath}/sites-enabled/${name}",
target => "${fr_basepath}/sites-available/${name}",
target => "../sites-available/${name}",
}
}
2 changes: 1 addition & 1 deletion spec/defines/site_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
is_expected.to contain_file('freeradius sites-enabled/test')
.with_path('/etc/raddb/sites-enabled/test')
.with_ensure('link')
.with_target('/etc/raddb/sites-available/test')
.with_target('../sites-available/test')
end
end

0 comments on commit 612eff6

Please sign in to comment.