Skip to content

Commit

Permalink
merge cephFS and NFS device as valide for account creation
Browse files Browse the repository at this point in the history
  • Loading branch information
poquirion committed Mar 28, 2024
1 parent 878aef9 commit 8916d9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/profile/manifests/accounts.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
Mount <| |> -> Service['mkhome']
Mount <| |> -> Service['mkproject']

$nfs_devices = lookup('profile::nfs::server::devices', undef, undef, {})
$with_home = 'home' in $nfs_devices
$with_project = 'project' in $nfs_devices
$with_scratch = 'scratch' in $nfs_devices
$devices = merge (lookup('profile::ceph::client::shares', undef, undef, {}), lookup('profile::nfs::server::devices', undef, undef, {}))
$with_home = 'home' in $devices
$with_project = 'project' in $devices
$with_scratch = 'scratch' in $devices

package { 'rsync':
ensure => 'installed',
Expand Down

0 comments on commit 8916d9e

Please sign in to comment.