I believe what you are trying to do is create a module named 'test'.
In order to know about your module, you need to provide the
'modulepath' parameter to puppet.
There are a couple other things you probably want to do. In your
tests/manifests/init.pp, you should wrap everything in a class
declaration, so:
class test {
notify{"here we go": }
include preparehost
}
Then create a file called 'site.pp' or something at the same level of
the filesystem as your 'test' directory. Make that file look like:
include test
Then invoke puppet as such
puppet apply --modulepath . site.pp
puppet should find your test module and load the classes automatically.
Hope that help,
Chad
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
puppet-users...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-users/1467f7ca-0fd6-4011-a40c-3050e0aeb9bd%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Chad M. Huneycutt