The second example would work, I think, but then one asks why are we using
a call to create_resources to create one resource? What is the eventual
goal of this code, is what I'm trying to ask.
On Monday, February 11, 2013 5:58:08 PM UTC-8, Ygor wrote:
OK. Lets try it like this:
Ellison is right, it really doesn't make much sense to create one resource
with create_resources. In fact, I'm not even sure it will work with
classes because I've never tried it. However, it works great for defined
types. I think I understand what you're trying to do so let me give an
On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote:
Ellison is right, it really doesn't make much sense to create one resource
with create_resources. In fact, I'm not even sure it will work with
classes because I've never tried it. However, it works great for defined
On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote:
Then you can go about adding any parameters that need defined for those
classes:
class1::param1: 'boom'
class2::array1:
- 'foo'
- 'bar'
- 'baz'
class2::param2: 'thing'
That's it. You're done. I hope this
On Tuesday, February 12, 2013 8:09:49 AM UTC-6, jcbollinger wrote:
On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote:
Then you can go about adding any parameters that need defined for those
classes:
class1::param1: 'boom'
class2::array1:
- 'foo'
- 'bar'
-
of it has tried to contact us.”
Bill Waterson (Calvin Hobbes)
- Original Message -
From: Drew Blessing drew.bless...@mac.com
To: puppet-users@googlegroups.com
Sent: Tuesday, February 12, 2013 8:16:21 AM
Subject: Re: [Puppet Users] Getting dangerous with hiera
Ellison is right, it really
OK. Lets try it like this:
whatever.pp
-
class main_class_foo::subclass_one (
$parameter_one_a,
$parameter_one_b
) {
...
}
class main_class_foo::subclass_two (
$parameter_two_a,
$parameter_two_b
) {
...
}
-