actually the exact case when it doesn''t work in deeper levels is when
the
subdirectory name is the same as parent directory - eg:
nodes/country/ca/ca/environment and in
in nodes/country/node.pp is import "ca/*"
in nodes/country/ca is again import "ca/*"
but the inner ca/* is never imported - if I rename this ''ca''
to anything else
(and change the import string) it is imported fine.
looks like parser bug or am I doing something wrong?
thanks, Antony.
________________________________
From: Antony Mayi <antonymayi@yahoo.com>
To: puppet-users@googlegroups.com
Sent: Tue, 7 September, 2010 12:43:32
Subject: [Puppet Users] imports in puppet 2.6.0
Hi,
with Puppet 0.25 I had following nested imports on subdirectories which just
doesn''t work in 2.6.0:
directory structure nodes/country/colocation/environment/host
in each directory a I have node.pp file and on its and is import
"*/*.pp" - it
means import files from all subdirectories of this directory.
this worked perfectly in 0.25 but it seams any files are imported with 2.6.0
it works on the root level if I change the import from "*/*.pp" to
"nodes/node.pp" but it doesn''t help in deeper levels - eg.
inside of
nodes/country/colocation/node.pp I put import "environment/node.pp"
but nothing
is imported.
is this a parser bug or some official change? can''t find any notes on
this.
thanks Antony.
--
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.
--
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.