Hi,
I think you have confusion about structure.
Structure should be:
human:
|-> manifests
|-> init.pp
|-> user.pp
1. init.pp -> Contains a class definition. (every class
Well, first, for a module, your pp files go *inside* the manifests folder.
For init.pp, it should contain a human class, but there doesn't have to be
anything in that class. The human::user defined type will do the heavy
lifting, containing the user resource, a file or template for the bashrc,
Hi Ellison Marks:
Thanks. But I don't get what I'm exactly expected to do in this exercise.
Is this structure right?:
- human
- |-> manifests
- |-> init.pp
- |-> user.pp
1. Does init.pp have to contain a class "human", what shall this class do?
2. What does the type "
I'm not sure where you're following the tutorial, but the version on the
official puppetlabs site doesn't include the phrase "site module".
http://docs.puppetlabs.com/learning/definedtypes.html#exercises
And for the bashrc file... You know normal stuff you'd have in a bashrc,
aliases, path modi