Skip to content

Commit

Permalink
Merge pull request #79 from h0tw1r3/relatime
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcooper committed Jun 21, 2024
2 parents 707883f + 8d19c0f commit 9668c4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ 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, :devices, :exec, :logbias,
:mountpoint, :nbmand, :primarycache, :quota, :readonly,
:recordsize, :refquota, :refreservation, :reservation,
:recordsize, :refquota, :refreservation, :relatime, :reservation,
:secondarycache, :setuid, :sharenfs, :sharesmb,
:snapdir, :sync, :version, :volsize, :vscan, :xattr].each do |field|
define_method(field) do
Expand Down
4 changes: 4 additions & 0 deletions lib/puppet/type/zfs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ 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 9668c4a

Please sign in to comment.