On Nov 16, 2011, at 11:08 AM, Ramin K wrote:
> You can also use regex in your node files to further simplify though
> if you're doing a lot of logic here you should probably start thinking
> about an ENC.
>
> fe.pp
> node /^fe\d+(.*)/ inherits basenode {
>
> case $::fqdn {
>/(.*)stage|demo(.
- Arnau Bria wrote:
> On Wed, 16 Nov 2011 15:32:41 +0100
> Hugo Deprez wrote:
>
> > Dear community,
> Hi Hugo,
>
> > I would like to know if it is possible to use different files for the
> > nodes.pp
> >
> > Can we use in nodes.pp the following syntax :
> >
> > include nodes2.pp
>
> we h
On Wed, 16 Nov 2011 15:32:41 +0100
Hugo Deprez wrote:
> Dear community,
Hi Hugo,
> I would like to know if it is possible to use different files for the
> nodes.pp
>
> Can we use in nodes.pp the following syntax :
>
> include nodes2.pp
we have several node files but use import.
[...]
> Than
Dear community,
I would like to know if it is possible to use different files for the nodes.pp
Can we use in nodes.pp the following syntax :
include nodes2.pp
nodes2.pp could contain host definition eactly as nodes.pp but for a
particular platform.
This would allow more readable configuration