diff options
| author | Derek Olsen <derek.olsen@e-hps.com> | 2010-11-24 11:11:43 -0800 |
|---|---|---|
| committer | Derek Olsen <derek.olsen@e-hps.com> | 2010-11-24 11:11:43 -0800 |
| commit | c5a1ca0b34a57366415df60099ab0918a7579469 (patch) | |
| tree | d680ebdece98e6e459c4e3a56f72c776b4bd7834 /spec/unit/provider/zfs | |
| parent | d5db8db116aff58215ab0feebd7ec02086040f51 (diff) | |
| download | puppet-c5a1ca0b34a57366415df60099ab0918a7579469.tar.gz puppet-c5a1ca0b34a57366415df60099ab0918a7579469.tar.xz puppet-c5a1ca0b34a57366415df60099ab0918a7579469.zip | |
(#5391) Include additional zfs properties
We added the following zfs properties to the zfs provider
:recordsize, :aclmode, :aclinherit, :primarycache, :secondarycache
Currently zfs users have to chain an exec to the zfs filesystem creation and the inclusion of these properties would allow puppet to set them natively.
Diffstat (limited to 'spec/unit/provider/zfs')
| -rwxr-xr-x | spec/unit/provider/zfs/solaris_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/zfs/solaris_spec.rb b/spec/unit/provider/zfs/solaris_spec.rb index 43a88b1c7..9d1f364e0 100755 --- a/spec/unit/provider/zfs/solaris_spec.rb +++ b/spec/unit/provider/zfs/solaris_spec.rb @@ -75,7 +75,7 @@ describe provider_class do end - [:mountpoint, :compression, :copies, :quota, :reservation, :sharenfs, :snapdir].each do |prop| + [:mountpoint, :recordsize, :aclmode, :aclinherit, :primarycache, :secondarycache, :compression, :copies, :quota, :reservation, :sharenfs, :snapdir].each do |prop| describe "when getting the #{prop} value" do it "should call zfs with :get, #{prop} and this zfs" do @provider.expects(:zfs).with(:get, "-H", "-o", "value", prop, @resource[:name]).returns("value\n") |
