Hi all,
I have a question:
I have my site setup similiar to the model of lab42example
(infrastructure,roles,nodes....)
infrastructure.pp:
node intranet {
here I have some variable definitions
}
roles.pp:
class minimal {
include hosts_modules
}
nodes.pp:
node ''some_node_name'' inherits intranet {
include minimal
$array1 = ["t1","t2"]
}
Now, inside hosts_modules I''m using a template and trying to call
array1
<%= array1 %>
The problem is that I get messages that tamplate does not know the
variable array1 .
Is there a way to use this variable from a tamplate within
hosts_modules ?
-----
10x in advance
Moty
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---