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 6b2825a commit 5188443
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 5188443

Please sign in to comment.