This old DSL works: class stage_shields_up { package_management::add_package_repository { "reponame": } } This Ruby DSL gives the error " Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot find definition Package_management::Add_package_repository on node puppetclient": hostclass "stage_shields_up" do create_resource "package_management::add_package_repository", "reponame" end Am I invoking the definition incorrectly in the Ruby? Thank you -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Master Cho
2011-Apr-05 16:49 UTC
[Puppet Users] Re: Invoking qualified definition in Ruby DSL
This is on Puppet 2.6.7 and Ruby 1.8.7-p334 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.