Re: [Puppet Users] comments on the Type system and some questions

2015-08-01 Thread Trevor Vaughan
This seems a bit better: define foo( Enum["present", "absent"] $ensure = "present", Optional[String]$ssh_authorized_file = undef, Optional[String]$email = undef, Optional[Integer] $uid

Re: [Puppet Users] comments on the Type system and some questions

2015-07-31 Thread Henrik Lindberg
On 2015-30-07 16:36, R.I.Pienaar wrote: hello, I've done a few little things with the type system and really like what it achieves, was able to find a few bad data items in my hiera data and it saves on a lot of the super annoying validation function calls. The syntax though is pretty difficu

[Puppet Users] comments on the Type system and some questions

2015-07-30 Thread R.I.Pienaar
hello, I've done a few little things with the type system and really like what it achieves, was able to find a few bad data items in my hiera data and it saves on a lot of the super annoying validation function calls. The syntax though is pretty difficult to use, consider: define foo(