On Aug 10, 2008, at 6:01 AM, Lars wrote:
>
> Hi
>
> All my nodes is stored in LDAP and the basics is working. But my nodes
> doesn''t inherits all from the parent-nodes, or at least all I who
like
> them to. The layout is that I got a baseserver and basedesktop which
> has basenode as parent.
> basenode
> __|__________ default
> | |
> baseserver basedesktop
> | |
> Node A Node B
>
> The template nodes baseserver and basedesktop is used for including
> classes and setting variables, fx which sudo-file and etc. All the
> classes defined under baseserver is included in "Node A". But
> everything defines in the node baseserver in site.pp isn''t
executed
> when "Node A" runs. When "Node A" runs it only uses the
default node
> and the classes defined in both baseserver and it''s own node.
I don''t really understand the setup you have here. Can you include
ldif outputs for the basenode, baseserver, and nodeA?
And are you sure that ldap is actually finding your node in ldap? If
it''s using the default node, that implies it''s not finding
your node
at all.
>
> Shouldn''t it also run what is defined in the baseserver in site.pp
or
> is parentnodes only used for classes?
> To get my variables in baseserver I have to write "Node A" in
site.pp
> set it to inherit from baseserver.
> node baseserver {
> notice("BaseServerNode:$hostname")
> $sudo_type="server"
> )
> node ''Node A'' inherits baseserver { )
>
>
> My Puppetmaster and puppet client is Debian testing version 0.24.4-8.
> What would happen if I used a Debian stable puppet client (version
> 0.20.1-1), would there "just" be functions it couldn''t
handle?
If you try to use that with a current server, um, you''ll have lots of
trouble, mostly resolving to "it doesn''t work at all".
--
The one thing more difficult than following a regimen is not imposing it
on others. -- Marcel Proust
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---