Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-02 Thread Trevor Vaughan
Hi Rob, Thanks for posting that, this is probably the best practical example that I've seen so far. Trevor On Mon, Feb 1, 2016 at 9:27 PM, Rob Nelson wrote: > Those three types will be the majority of what you use, sure, but Optional > and Enum are awesome. Pattern seems

Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-01 Thread Trevor Vaughan
" <co...@logicminds.biz> >> > To: "puppet-dev" <puppe...@googlegroups.com> >> > Sent: Saturday, January 30, 2016 7:47:03 PM >> > Subject: Re: [Puppet-dev] RFC - A specification for module schemas >> >> > On Friday, January 29, 2016 at 1

Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-01 Thread Eli Young
On Mon, Feb 1, 2016 at 11:48 AM, Trevor Vaughan wrote: > I would *love* to see something like this hit the core language, but there > are quite a few cases where I have items that can be a Boolean, Number, or > String (I'm still not loving needing to convert Numbers to

Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-01 Thread Rob Nelson
Those three types will be the majority of what you use, sure, but Optional and Enum are awesome. Pattern seems potent but may be difficult to use. Check out how this module uses the type system: https://github.com/jlambert121/jlambert121-puppet/blob/master/manifests/init.pp On Monday, February 1,

Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-01 Thread Trevor Vaughan
I'll give it a shot again (unfortunately, I have legacy 3.X users so updating to use 4.X features will take some time). Honestly, I still haven't found a compelling reason for anything besides Booleans, Undef, and Strings. Even the stdlib code converts everything to a string due to the issues

Re: [Puppet-dev] RFC - A specification for module schemas

2016-02-01 Thread John Bollinger
On Sunday, January 31, 2016 at 2:37:53 PM UTC-6, Corey Osman wrote: > I think we have strayed off topic here. Being able to validate hiera > should be something that can easily be done by anyone no matter which > version of puppet they use. > I agree that being able to validate Hiera data

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-31 Thread Corey Osman
> From: "Corey Osman" <co...@logicminds.biz > > >> > To: "puppet-dev" <puppe...@googlegroups.com > > >> > Sent: Saturday, January 30, 2016 5:45:05 AM > >> > Subject: [Puppet-dev] RFC - A specification for module schemas > >&g

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-30 Thread Corey Osman
On Friday, January 29, 2016 at 10:47:48 PM UTC-8, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Corey Osman" <co...@logicminds.biz > > > To: "puppet-dev" <puppe...@googlegroups.com > > > Sent: Saturd

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-30 Thread Gareth Rushgrove
I think there are some interesting ideas here but I want to pull out the problems, and then jot down a few thoughts. Lots of comments inline. On 30 January 2016 at 04:45, Corey Osman wrote: > Hi, > > I wanted to bring up a conversation in hopes that we as a community can >

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-30 Thread Corey Osman
On Saturday, January 30, 2016 at 9:29:02 AM UTC-8, Gareth Rushgrove wrote: > > I think there are some interesting ideas here but I want to pull out > the problems, and then jot down a few thoughts. Lots of comments > inline. > > > On 30 January 2016 at 04:45, Corey Osman

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-30 Thread R.I.Pienaar
- Original Message - > From: "Corey Osman" <co...@logicminds.biz> > To: "puppet-dev" <puppet-dev@googlegroups.com> > Sent: Saturday, January 30, 2016 7:47:03 PM > Subject: Re: [Puppet-dev] RFC - A specification for module schemas > On Fri

Re: [Puppet-dev] RFC - A specification for module schemas

2016-01-29 Thread R.I.Pienaar
- Original Message - > From: "Corey Osman" <co...@logicminds.biz> > To: "puppet-dev" <puppet-dev@googlegroups.com> > Sent: Saturday, January 30, 2016 5:45:05 AM > Subject: [Puppet-dev] RFC - A specification for module schemas > Hi, &g

[Puppet-dev] RFC - A specification for module schemas

2016-01-29 Thread Corey Osman
Hi, I wanted to bring up a conversation in hopes that we as a community can create a specification for something I am calling module schemas. Before I get into that I want to provide a little background info. This all started a few years ago when hiera first came out. Data seperation in the