Hello. Is it possible to describe inheritance of classes in Ruby DSL? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/J9Cq2ak9s2gJ. 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.
I have the same question (see https://groups.google.com/forum/?fromgroups#!searchin/puppet-users/inheritance$20ruby$20dsl/puppet-users/RtMbu8yFZCc/Zet8ackZgnYJ) and need this behavior for my project. Is inheritance possible at all with the Ruby DSL? If not, should we create an issue for that? Am Dienstag, 15. Mai 2012 10:16:22 UTC+2 schrieb alxrem:> > Hello. > > Is it possible to describe inheritance of classes in Ruby DSL? >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/znY_U_OhB1sJ. 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.
...Bueller Anyone have an answer for this? This seems like a pretty pertinent feature for anyone looking to take advantage of the ruby DSL. I for one would be eternally grateful. -Ryan On Wednesday, June 13, 2012 8:08:07 AM UTC-7, Ingo Fischer wrote:> > I have the same question (see > https://groups.google.com/forum/?fromgroups#!searchin/puppet-users/inheritance$20ruby$20dsl/puppet-users/RtMbu8yFZCc/Zet8ackZgnYJ) > and need this behavior for my project. > > Is inheritance possible at all with the Ruby DSL? If not, should we create > an issue for that? > > Am Dienstag, 15. Mai 2012 10:16:22 UTC+2 schrieb alxrem: >> >> Hello. >> >> Is it possible to describe inheritance of classes in Ruby DSL? >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
The Puppet Ruby DSL in its current form is deprecated: Issue: https://projects.puppetlabs.com/issues/18876 Discussion: https://groups.google.com/forum/?fromgroups=#!topic/puppet-dev/UsDaDGAneEE On Sunday, February 17, 2013 12:42:05 AM UTC+1, Ryan Bowlby wrote:> > ...Bueller > > Anyone have an answer for this? This seems like a pretty pertinent feature > for anyone looking to take advantage of the ruby DSL. I for one would be > eternally grateful. > > -Ryan > > On Wednesday, June 13, 2012 8:08:07 AM UTC-7, Ingo Fischer wrote: >> >> I have the same question (see >> https://groups.google.com/forum/?fromgroups#!searchin/puppet-users/inheritance$20ruby$20dsl/puppet-users/RtMbu8yFZCc/Zet8ackZgnYJ) >> and need this behavior for my project. >> >> Is inheritance possible at all with the Ruby DSL? If not, should we >> create an issue for that? >> >> Am Dienstag, 15. Mai 2012 10:16:22 UTC+2 schrieb alxrem: >>> >>> Hello. >>> >>> Is it possible to describe inheritance of classes in Ruby DSL? >>> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
On Saturday, February 16, 2013 5:42:05 PM UTC-6, Ryan Bowlby wrote:> > ...Bueller > > Anyone have an answer for this? This seems like a pretty pertinent feature > for anyone looking to take advantage of the ruby DSL. I for one would be > eternally grateful. > >As Ingo Fischer observed, Puppet''s current Ruby DSL is deprecated. I think I remember reading that PL''s effort to create a replacement has been abandoned. As such, I would not advise basing any work on Ruby DSL. Although the Ruby DSL provided direct access to Ruby for defining manifests, there were always features of Puppet''s native DSL that the Ruby DSL did not provide. In any case, class inheritance is a rather special-purpose tool in Puppet (as was Ruby DSL), so although you may have a good use case for it yourself, I don''t think it''s accurate to call inheritance "a pretty pertinent feature for anyone looking to take advantage of the ruby DSL." If you tell us about what you''re trying to do then perhaps we can suggest an alternative. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.