Issue #21535 has been updated by Charlie Sharpsteen.
In addition to the character length limit, the documentation for the ZFS type indicates that most of the parameters are restricted to a certain set of values. I.E.: - checksum: The checksum property. Valid values are on, off, fletcher2, fletcher4, sha256. - recordsize: The recordsize property. Valid values are powers of two between 512 and 128k. However, the ZFS type does not contain a single validation check that actually enforces these restrictions. ---------------------------------------- Bug #21535: Puppet's zfs type should check character length https://projects.puppetlabs.com/issues/21535#change-94195 * Author: Celia Cottle * Status: Unreviewed * Priority: Normal * Assignee: Charlie Sharpsteen * Category: Solaris * Target version: * Affected Puppet version: * Keywords: zfs customer * Branch: ---------------------------------------- >From a customer. <http://docs.oracle.com/cd/E19253-01/819-5461/gdrcw/index.html> shows that ZFS has a 1024 character length limit for some properties. See attached file for our wrapper that does this so that we can get overly long strings to fail on rspec tests, rather than when the client tries to set the property in zfs. Seeing this on Solaris 10 and CentOS with a kernel module for ZFS built. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
