On Nov 4, 2008, at 1:54 PM, Aj wrote:
> > As my reply soriginally tated, undef is part of the override syntax > and as such is only valid in an inherited, overridden resource. I.e.; > not a bug. > > Perhaps a feature request, although I personally believe that empty > string assignment is sufficient. Thanks for the reply, Aj :) I can agree that it's not a bug, though being unable replicate the parameter behavior of core Type's without resulting to ruby is a bit of a gotcha. I'll continue with the workaround achieved by EXHIBIT D > > On 5/11/2008 at 8:44 AM, Tim Harper <[EMAIL PROTECTED]> wrote: >> === EXHIBIT D === >> define user_test(uid = false) { >> user { $title: >> ensure => present, >> uid => $uid ? { false => undef, default => $uid } >> } >> } >> >> node "server" { >> user_test { 'boogy': } >> } >> :) Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---