its been like that for at least a year: http://projects.puppetlabs.com/issues/4049
On Mon, May 23, 2011 at 11:53 AM, Jacob Helwig <ja...@puppetlabs.com> wrote: > So, I'm working on #7188 and thought "hey, it would be great if we had > built-in checks that these required parameters were actually specified". > Especially since the current mount type claims that fstype is required, > yet does nothing (other than break things after a successful run) if > it's not specified (tested using 2.7.x on Solaris). > > Unfortunately, it looks like calling isrequired from within the block of > newproperty doesn't actually do this (largely because it doesn't look > like anything is actually checking required?). > > Has setting isrequired ever worked, or are isrequired and required? > Left-overs from an aborted attempt? > > Is there an implemented way of doing 'this parameter is required; fail > at compile time'? Hopefully without having to do a defaultto of a bogus > value, and having a validation failure against that. > > -- > Jacob Helwig > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQGcBAEBAgAGBQJN2q0VAAoJEHJabXWGiqEBGVAL/juqcMNLf39ErJvkPZcGcc1u > I+foWcm6nGKjOuv5ogdhouiWhFtO8e46aBibJY3s3UjOAUdPf4Kf7U11L/mSHc0W > eTfQ1mYv6Sk0S9WwVoTI4qg5U7ovl+D/aRL0spMPq3v7j90NE5Tyx5kgqM5Knv0Q > nnRLYiDKnDzgT2RCGEX/JVxfCGrUtibC3CiGqst7RHM316W3ZZTl1IydDJbQaFw9 > MJHSH3Un4MvKkBZY7o5VTBf9rqkSusabvylY/d7So94j23IH00d+IFrMtKXV6OQs > +egTDJIaT7KaQRgG3n+5Pj5Ge+7j9T9FnSYx1WxB5xlfL6xmOgarrrk3AxFHCjF+ > XaryQyKKN9lwCxDn8XCBjePuXNiVXaJH0lxupkIRrk86OhxiZnaCYZhcPCqBFl0Z > XGX/e0JRoU9+UXAAOCOiStWv2g/kvf0+e9Am/w4M0hWYv8tQHsBelbcSLo8mB6rm > 3VPoIyqRIdgVyObtNp/YAzE1147J2KoDoj/4TmXAiA== > =Ggq9 > -----END PGP SIGNATURE----- > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.