Skip to content

Commit 4e6cb0c

Browse files
authored
Merge pull request voxpupuli#209 from traylenator/fuse3
Remove fuse3 parameter
2 parents 1b4604b + b22c543 commit 4e6cb0c

File tree

5 files changed

+0
-104
lines changed

5 files changed

+0
-104
lines changed

REFERENCE.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ cvmfs::domain{'example.net'
6262
}
6363
```
6464

65-
##### Use fuse3 version of cvmfs
66-
67-
```puppet
68-
class{'cvmfs':
69-
fuse3 => true,
70-
}
71-
```
72-
7365
##### Use Mount rather than AutoFS
7466

7567
```puppet
@@ -157,7 +149,6 @@ The following parameters are available in the `cvmfs` class:
157149
* [`cvmfs_fsck`](#-cvmfs--cvmfs_fsck)
158150
* [`cvmfs_fsck_options`](#-cvmfs--cvmfs_fsck_options)
159151
* [`cvmfs_fsck_onreboot`](#-cvmfs--cvmfs_fsck_onreboot)
160-
* [`fuse3`](#-cvmfs--fuse3)
161152
* [`cvmfs_cache_symlinks`](#-cvmfs--cvmfs_cache_symlinks)
162153
* [`cvmfs_streaming_cache`](#-cvmfs--cvmfs_streaming_cache)
163154
* [`cvmfs_statfs_cache_timeout`](#-cvmfs--cvmfs_statfs_cache_timeout)
@@ -573,16 +564,6 @@ Should fsck be run after every reboot
573564

574565
Default value: `false`
575566

576-
##### <a name="-cvmfs--fuse3"></a>`fuse3`
577-
578-
Data type: `Optional[Boolean]`
579-
580-
Install or disable fuse3 variant of cvmfs, if left `undef` no change will be made. Note that changing
581-
this value when CVMFS mounts are active may well destroy those mounts.
582-
Not availabe on Ubuntu 18.04.
583-
584-
Default value: `undef`
585-
586567
##### <a name="-cvmfs--cvmfs_cache_symlinks"></a>`cvmfs_cache_symlinks`
587568

588569
Data type: `Optional[Enum['yes','no']]`

manifests/init.pp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
# cvmfs_server_url => 'http://web.example.org/cvmfs/@fqrn@'
2121
# }
2222
#
23-
# @example Use fuse3 version of cvmfs
24-
# class{'cvmfs':
25-
# fuse3 => true,
26-
# }
27-
#
2823
# @example Use Mount rather than AutoFS
2924
# class{'cvmfs':
3025
# mount_method => 'mount',
@@ -116,10 +111,6 @@
116111
# @param cvmfs_fsck Ensure the cvmfs::fsck class is included.
117112
# @param cvmfs_fsck_options Any extra options for cvmfs fsck
118113
# @param cvmfs_fsck_onreboot Should fsck be run after every reboot
119-
# @param fuse3
120-
# Install or disable fuse3 variant of cvmfs, if left `undef` no change will be made. Note that changing
121-
# this value when CVMFS mounts are active may well destroy those mounts.
122-
# Not availabe on Ubuntu 18.04.
123114
# @param cvmfs_cache_symlinks If set to yes, enables symlink caching in the kernel.
124115
# @param cvmfs_streaming_cache If set to yes, use a download manager to download regular files on read.
125116
# @param cvmfs_statfs_cache_timeout Caching time of statfs() in seconds (no caching by default).
@@ -192,7 +183,6 @@
192183
Boolean $cvmfs_fsck = false,
193184
Optional[String] $cvmfs_fsck_options = undef,
194185
Boolean $cvmfs_fsck_onreboot = false,
195-
Optional[Boolean] $fuse3 = undef,
196186
Optional[Enum['yes','no']] $cvmfs_cache_symlinks = undef,
197187
Optional[Enum['yes','no']] $cvmfs_cache_refcount = undef,
198188
Optional[Enum['yes','no']] $cvmfs_streaming_cache = undef,
@@ -234,10 +224,6 @@
234224
}
235225
}
236226

237-
if $fuse3 =~ Boolean and $facts['os']['name'] == 'Ubuntu' and $facts['os']['release']['major'] == '18.04' {
238-
fail('Ubuntu 18.04 does not have fuse3 available')
239-
}
240-
241227
if $repo_manage {
242228
case $facts['os']['family'] {
243229
'RedHat': {
@@ -251,9 +237,6 @@
251237
Class['cvmfs::apt'] -> Class['cvmfs::install']
252238
# Needed since apt::update is only notified in apt::source, but not contained.
253239
Class['apt::update'] -> Package['cvmfs']
254-
if $fuse3 {
255-
Class['apt::update'] -> Package['cvmfs-fuse3']
256-
}
257240
}
258241
default: { fail('Only repositories for RedHat or Debian family can be managed') }
259242
}

manifests/install.pp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
class cvmfs::install (
55
String[1] $cvmfs_version = $cvmfs::cvmfs_version,
66
Stdlib::Absolutepath $cvmfs_cache_base = $cvmfs::cvmfs_cache_base,
7-
Optional[Boolean] $fuse3 = $cvmfs::fuse3,
87
Optional[Enum['yes','no']] $cvmfs_claim_ownership = $cvmfs::cvmfs_claim_ownership,
98
) inherits cvmfs {
109
# Create the cache dir if one is defined, otherwise assume default is in the package.
@@ -30,12 +29,6 @@
3029
ensure => $cvmfs_version,
3130
}
3231

33-
if $fuse3 =~ Boolean {
34-
package { 'cvmfs-fuse3':
35-
ensure => bool2str($fuse3,$cvmfs_version,'absent'),
36-
}
37-
}
38-
3932
# Create a file for the cvmfs
4033
file { '/etc/cvmfs/cvmfsfacts.yaml':
4134
ensure => file,

spec/acceptance/cvmfs_cvmfs3_spec.rb

Lines changed: 0 additions & 34 deletions
This file was deleted.

spec/classes/init_spec.rb

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
it { is_expected.not_to contain_file('/etc/cvmfs/config.d/default.gid_map') }
3030
it { is_expected.to contain_concat__fragment('cvmfs_default_local_header').without_content(%r{^CVMFS_UID_MAP.*$}) }
3131
it { is_expected.to contain_concat__fragment('cvmfs_default_local_header').without_content(%r{^CVMFS_GID_MAP.*$}) }
32-
it { is_expected.not_to contain_package('fuse3') }
3332

3433
case facts[:os]['family']
3534
when 'Debian'
@@ -42,32 +41,6 @@
4241
it { is_expected.to contain_package('cvmfs').that_requires('Class[cvmfs::yum]') }
4342
end
4443

45-
context 'with fuse3 set true' do
46-
let(:params) do
47-
super().merge(fuse3: true)
48-
end
49-
50-
case [facts[:os]['name'], facts[:os]['release']['major']]
51-
when ['Ubuntu', '18.04']
52-
it { is_expected.to compile.and_raise_error(%r{does not have fuse3}) }
53-
else
54-
it { is_expected.to contain_package('cvmfs-fuse3').with_ensure('present') }
55-
end
56-
end
57-
58-
context 'with fuse3 set false' do
59-
let(:params) do
60-
super().merge(fuse3: false)
61-
end
62-
63-
case [facts[:os]['name'], facts[:os]['release']['major']]
64-
when ['Ubuntu', '18.04']
65-
it { is_expected.to compile.and_raise_error(%r{does not have fuse3}) }
66-
else
67-
it { is_expected.to contain_package('cvmfs-fuse3').with_ensure('absent') }
68-
end
69-
end
70-
7144
context 'with cvmfs_http_proxy set' do
7245
let(:params) do
7346
super().merge(cvmfs_http_proxy: 'http://foobar.example.org:3128')

0 commit comments

Comments
 (0)