Skip to content

Commit

Permalink
Merge pull request #81 from AriaXLi/maint/relatime_linux
Browse files Browse the repository at this point in the history
Revert "Merge pull request #79 from h0tw1r3/relatime"
  • Loading branch information
joshcooper authored Jun 25, 2024
2 parents e16b1c2 + 8bf995a commit 718a9d7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ The refquota property. Valid values are `<size>`, `none`.

The refreservation property. Valid values are `<size>`, `none`.

##### `relatime`

The relatime property. Valid values are `on`, `off`. Only supported on Linux

##### `reservation`

The reservation property. Valid values are `<size>`, `none`.
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/zfs/zfs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def container_property
[:aclinherit, :atime, :canmount, :checksum,
:compression, :copies, :dedup, :defaultuserquota, :devices, :exec, :logbias,
:mountpoint, :nbmand, :primarycache, :quota, :readonly,
:recordsize, :refquota, :refreservation, :relatime, :reservation,
:recordsize, :refquota, :refreservation, :reservation,
:secondarycache, :setuid, :sharenfs, :sharesmb,
:snapdir, :sync, :version, :volsize, :vscan, :xattr].each do |field|
define_method(field) do
Expand Down
4 changes: 0 additions & 4 deletions lib/puppet/type/zfs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ module Puppet
desc 'The refreservation property. Valid values are `<size>`, `none`.'
end

newproperty(:relatime) do
desc 'The relatime property. Valid values are `on`, `off`. Only supported on Linux'
end

newproperty(:reservation) do
desc 'The reservation property. Valid values are `<size>`, `none`.'
end
Expand Down

0 comments on commit 718a9d7

Please sign in to comment.