All,
I've been putting a lot of puppet pieces together over the last few
days, and I've realised, I think, that you _REALLY_ need to be
explicit with your object dependancies. It looks like puppet just
drags all modules, all nodes, and everything else into one giant
namespace and executes them
Hi Douglas,
You do need to be explicit with dependencies between resources; it's a
declarative system. You tell puppet what each resource needs, and it
does all the work. I've found that it's easy to kid yourself that
you've gotten your manifest right, but things only work because
dependencies
If I have something like this:
define bar($thing=/tmp/$name) {
file { $thing: ensure = present }
}
class foo { somedef{ bar: } }
puppet will try to create a file called '/tmp/foo' , not /tmp/bar.
It seems
Oh boy. Puppet is frustrating the heck out of me.
I have this below
node tst_basenode {
include yum
Package {
require = [
Yumrepo[CentOS-Base],
Yumrepo[EPEL-Core],
...
]
}
}
node tst_childnode inherits tst_basenode {
node tst_basenode {
include yum
Package {
require = [
Yumrepo[CentOS-Base],
Yumrepo[EPEL-Core],
...
]
}
}
node tst_childnode inherits tst_basenode {
include ldap_client
}
[snip]
Quite simply, how do I GUARANTEE that my
On 10/24/2009 11:25 AM, Douglas Garstang wrote:
Oh boy. Puppet is frustrating the heck out of me.
I have this below
node tst_basenode {
include yum
Package {
require = [
Yumrepo[CentOS-Base],
Yumrepo[EPEL-Core],
...
On Sat, Oct 24, 2009 at 3:29 AM, Dick Davies
rasput...@hellooperator.net wrote:
If I have something like this:
define bar($thing=/tmp/$name) {
file { $thing: ensure = present }
}
class foo { somedef{ bar: } }
On Sat, Oct 24, 2009 at 12:42 AM, Douglas Garstang
doug.garst...@gmail.com wrote:
I've been putting a lot of puppet pieces together over the last few
days, and I've realised, I think, that you _REALLY_ need to be
explicit with your object dependancies. It looks like puppet just
drags all
Or... am I just missing something here?
Many Puppet newcomers are startled by this behavior. Some were so
startled they went off to join another project. Over time, I've
learned to love this behavior, it means my manifests a) *fully*
document the setup of a particular configuration and b)
Date: Fri, Oct 23 2009 3:26 pm
From: Avi Miller
James Turnbull wrote:
But you can't connect a client to the master without signing a
certificate or turning autosign on.
You can if the client is question is the master itself: it signs it's
own certificates automatically, so puppet on the
I just upgraded our puppetmaster servers from 0.24.4 to 0.25.1rc2 and
configured them to use Passenger. Here's what I am running now:
ruby-irb-1.8.5-5.el5_1.1
httpd-2.2.3-11.el5_1.centos.3
ruby-devel-1.8.5-5.el5_1.1
ruby-augeas-0.3.0-1.el5
httpd-devel-2.2.3-11.el5_1.centos.3
ruby-1.8.5-5.el5_1.1
2009/10/25 Peter Meier peter.me...@immerda.ch:
+1000
if you need order, declare it otherwise ordering it shouldn't matter.
Pete
I think that's the best way I've heard that described - I will be
stealing that line to use repeatedly when people ask that question.
SysAdmins declare
Yes, but HOW do I order it? What is the best way to do it? I assumed
that modules were implemented in the order they are included, which
turned out to be wrong. Someone suggested that the node hierarchy
determined the order, and that didn't work for me. I tried putting a
global Paclage{}
2009/10/25 Douglas Garstang doug.garst...@gmail.com:
Yes, but HOW do I order it? What is the best way to do it? I assumed
that modules were implemented in the order they are included, which
turned out to be wrong. Someone suggested that the node hierarchy
determined the order, and that
James,
No, that didn't work for me. When I put the default Package{} in the
base node that required the class yum, puppet complained about cyclic
object dependancies.
Also, I do need to replace all the repo's since we are pointing
everything to our own repos and not using the public ones. The
Can someone tell me what a require = Class actually does? The
documentation on this really isn't clear.
The language tutorial at
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial says:
Like resources, you can also create relationships with classes like so:
class apache {
service {
16 matches
Mail list logo