How to define class inheritance with Puppet Ruby DSL

91 views
Skip to first unread message

Ingo Fischer

unread,
May 22, 2012, 11:09:53 AM5/22/12
to puppet...@googlegroups.com
I have a module "Ruby":

# init.pp
class ruby {
  package { 'libldap-ruby1.8':
    ensure => 'installed'
  }
}

Then I have a manifest written with Ruby-DSL, which should inherit this module:

# ldap.rb
hostclass 'ruby::ldap' do
  (...)
end

How do I define that ruby::ldap inherits ruby?
Reply all
Reply to author
Forward
0 new messages