Hi all, To start, using puppet 0.25.5 on Debian Lenny with Ruby 1.8.7.72-3lenny1.
I'm giving ruby a shot and am trying to build my own types for several applications and modify available types found on the 'net for our usage. However, I keep running into problems with the default provider it selects. Is there a document somewhere that describes how the default provider is selected? I am currently modifying the mysql types from the camptocamp repo[0] and trying to get it to work on Debian. I only modified the command so it would include --defaults-file=/etc/ mysql/debian.cnf. But when I try to use the type, I get: err: Could not run Puppet configuration client: Could not find a default provider for mysql_database So I tried adding the line: defaultfor :operatingsystem => :debian To the providers. But I'm still getting the message the it cannot find the default provider. I've been searching online for documentation on how to modify the type so it would know which provider to select, but although there are a lot of types findable, it's very hard to find specific documentation about the API used in types. Unless I'm missing something, then please point me to this API! Otherwise, I'd appreciate any clues on why my server cannot find the default provider. It only has this problem with types I added to modules. I'm a bit at a loss. [0] http://github.com/camptocamp/puppet-mysql/tree/master/lib/puppet -- Kind regards, Tim (tim|mac on irc) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.