On Thu, Dec 20, 2012 at 4:48 PM, krishna bhaskara rao
<
krish...@gmail.com> wrote:
> Hi Matt,
>
> I have nodes.pp as
> node basenode {
> }
> node '
test.master.com' inherits basenode { }
>
> site.pp as
> import 'nodes'
> node '
test.agent.com' {
> }
Have you just obfuscated those due to posting on a mailing list? Your
original error message stated that a node definition for
testagentoneinternal.ec2.internal couldn't be found, and neither could
a default node definition.
As you're using nodes.pp and site.pp, your nodes.pp needs:
node default {
}
it could also have (either in addition, or instead of the above
default node definition):
node 'testagentoneinternal.ec2.internal' {
}
And your site.pp just needs the 'import "nodes"' line that it looks
like it does already; to avoid confusion, I'd remove the explicit node
definition from site.pp.
Regards,
Matt.