Release 9.0.0
modulesync 5.4.0
This patch only comes into play when using the mount_method
of mount
rather than the default autofs.
It is now possible to specify that one particular repository on a client is the configuration repository and must be mounted first before all other repositories. This should happen during puppets initial configuration of CvmFS and also at reboot.
puppet
class{'cvmfs':
mount_method => 'mount',
config_repo => 'cvmfs-config.example.org',
}
cmvfs::mount{'myrepo.example.org':}
cmvfs::mount{'cvmfs-config.example.org':}
In this example the repository cvmfs-config.example.org
will be mounted before myrepo.example.org
.
Note there is all ways at most one configuration repository per client.
Fixes: #176
In addition a couple of parameters to cvmfs::mount
are made bettter:
mount_method
to cvmfs::mount
never made sense and setting it is pointless unless also set in the main class.
deprecate the parameter. It will still be accepted now but is redundant. It was already documented as 'DO NOT SET'.mount_options
now defaults to an Array of options but a String is still accepted for now.