Re: [Puppet Users] Dependacies with Custom Types

2016-08-11 Thread Josh Cooper
Thanks Rob and John. I filed to https://tickets.puppetlabs.com/browse/DOCUMENT-573 to improve the docs in this area. Feel free to comment on the ticket. On Wednesday, July 13, 2016 at 6:54:23 AM UTC-7, Rob Nelson wrote: > > I second this motion, that was a great explanation. I'd love to see that

Re: [Puppet Users] Dependacies with Custom Types

2016-07-13 Thread Rob Nelson
I second this motion, that was a great explanation. I'd love to see that documented well and maybe in a git repo with a 'bad' and 'good' branch to better examine the differences, if at all possible! Rob Nelson rnels...@gmail.com On Wed, Jul 13, 2016 at 8:51 AM, jcbollinger wrote: > > > On Wedn

Re: [Puppet Users] Dependacies with Custom Types

2016-07-13 Thread jcbollinger
On Wednesday, July 13, 2016 at 12:52:58 AM UTC-5, Josh Cooper wrote: [A clear and detailed explanation...] That was great, Josh. Are the same instructions available somewhere among Puppet's online docs and tutorials? If not, they should be. John -- You received this message because you are

Re: [Puppet Users] Dependacies with Custom Types

2016-07-12 Thread Josh Cooper
On Tue, Jul 12, 2016 at 1:09 AM, wrote: > I had a look at the Zabbix module. I think it works there as the > dependency is in the provider rather than in the type. Having thought about > some more I think it's easier to just remove the dependency on that module. > > On Tuesday, 12 July 2016 00:07

Re: [Puppet Users] Dependacies with Custom Types

2016-07-12 Thread apgriffiths79
I had a look at the Zabbix module. I think it works there as the dependency is in the provider rather than in the type. Having thought about some more I think it's easier to just remove the dependency on that module. On Tuesday, 12 July 2016 00:07:43 UTC+1, Rob Nelson wrote: > > I don't know the

Re: [Puppet Users] Dependacies with Custom Types

2016-07-11 Thread Rob Nelson
I don't know the specifics of how it works, but the puppet/zabbix module has a type that relies on the zabbixapi which it also provides. You may want to review that module to see how the package and type are implemented in detail. On Monday, July 11, 2016, wrote: > Hi, > > I have created a custo

[Puppet Users] Dependacies with Custom Types

2016-07-11 Thread apgriffiths79
Hi, I have created a custom type which uses the ipaddress rubygem in the validation function. However, this package is not part of my standard build and I can find no way of installing it from Puppet as the catalog compilation fails with "Could not autoload *type*". Is there anyway to manage t