summaryrefslogtreecommitdiff
path: root/grid5000/steps/data/setup/puppet/modules/env/manifests/nfs/install_nfs_requirements.pp
blob: f2c13851ceb21a5ee349e7879c8dc23b5014abf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class env::nfs::install_nfs_requirements () {

  package {
    'nfs-common':
      ensure   => installed;
    'libcap2-bin':
      ensure   => installed;
  }

  if "${::lsbdistcodename}" == "bullseye" {
    # Force python3 usage instead of python2 (only 'python' is Recommended by nfs-common package)
    # see bug #13194
    package {
      'python-is-python3':
        ensure => installed;
    }
  }
}