* [email protected] [2011-09-15]:
> # For external lookups
> $ymllookup_datadir = "/etc/puppet/manifests/extdata"
> $ymllookup_precedence = ["node/%{fqdn}", "location/%{location}",
> "role/%{hitwise_role}", "common/common"]

>From the error message I guess that features/yaml/testnode.yaml defines
the node's fqdn to something other than 'testnode'.

> Scenario: testing role
> Given a node specified by "features/yaml/testnode.yaml"
> Given a node of class "role"

This should not work as the yaml specification takes precedence over
explicit class. Instead I'd use

Given a node of class "role"
And an "fqdn" of "testnode"

with

Given /^an? "([^\"]*)" of "([^\"]*)"$/ |fact, value|
  @facts[fact] = value
end

HTH,

Nikolay

--
"It's all part of my Can't-Do approach to life." Wally

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to