[Puppet Users] Re: trouble with custom type on 0.24.8

2009-10-19 Thread Bernhard Bock
Hi John, On 19 Okt., 15:37, jcbollinger wrote: > The custom type's Ruby code should be in / > /plugins/puppet/types/.rb.  Its provider(s), if > any, should be in //plugins/puppet/provider/ > /.rb. Indeed, I got the path wrong. Thanks for the clarification. And just for the record (and other re

[Puppet Users] access exported resources in template

2009-10-19 Thread Bernhard Bock
Hi, I'm trying to develop a class that autogenerates a config file based on an .erb template. It shall populate the config file with data exported from various hosts. Some pseudocode to clarify my issue: node n1 { @@mytype { "name": property => "foo" } } template.erb: <% myty

[Puppet Users] Re: trouble with custom type on 0.24.8

2009-10-16 Thread Bernhard Bock
Hi, >> I'm having trouble getting a simple custom type to work. >> >> Clients are giving me the following error: >> "Could not retrieve catalog: Could not find resource type zypper_repo >> at /etc/puppet/manifests/nodes/mgt.pp:33 on node " I'm experiencing the same problem with a custom type in