Stefan -- > I had another query. I read from the documentation that the .rb files > should be in <modulepath>/<modulename>/lib/puppet/type for the > <type>.rb and /provider for the <provider>.rb file . However, for > other types i see all of them are present in /usr/lib/ruby/1.8/puppet/ > type or /provider . The first one works but was curious about the 2nd > part. Also the puppet client ( when i look in syslog) always searches > for something in the first path that i have mentioned here. What > parameters do I have to change to store my .rb files in the 2nd path ?
The first path is for code provided by the named module, and the second for code that is part of the core puppet distribution. Over time, we will be moving code out of the core and into modules (so sites can mix-and-match as needed). Site/user written code should never go in the second path. -- Markus -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
