[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 host.fqdn I'm experiencing the same problem with a custom type in

[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: %

[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 john.bollin...@stjude.org wrote:  The custom type's Ruby code should be in modules dir/ module name/plugins/puppet/types/type.rb.  Its provider(s), if any, should be in modules dir/module name/plugins/puppet/provider/ type/provider.rb. Indeed, I got