[Puppet Users] Require a definition

Mike
2010-03-16T23:59:41Z

I am looking for a way to create a dependency that ensures that a
definition has been "called/executed/instantiated" with the
"require"
or "before" parameter.
I realize there are several posts that confirm that this should be
possible:

define testdef {
}

file { "testFile":
      name => "/tmp/testFile",
      require => Testdef["test"]
}


However when I attempt to run it I get this:
err: Could not run Puppet configuration client: Could not find
dependency Testmodule::Testdef[test] for File[testFile] at /etc/puppet/
modules/testmodule/manifests/init.pp:33