On Thu, Dec 20, 2012 at 4:48 PM, krishna bhaskara rao <krishna...@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. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.