Thx Nicolai,
i remeber me that i read it but after many problems i forgot it.

My sshd_config needed to change the user to user puppet. If i don't do
it puppetmaster have no access and put out an error 400, to send this
file to the client.

Thx
Wiesel

On 9 Dez., 12:26, Nicolai <[email protected]> wrote:
> Hi
>
> Please read the basic documentation on 
> modules:http://docs.puppetlabs.com/guides/modules.html
>
> It states that a module should have the following structure:
>
> MODULE_PATH/ └──downcased_module_name/ ├──files/ ├──manifests/ │ ├──init.pp
> │ └──foo.pp ├──lib/ │ ├──puppet/ │ │ ├──parser/ │ │ │ └──functions/ │ │
> ├──provider/ │ │ └──type/ │ └──facter/ ├──templates/ ├──tests │ ├──init.pp
> │ └──foo.pp └──README
>
> Notice the files-directory, this is were you put all files that belongs to
> this module that you want to pull with the file-resourcetype.
>
> So your source in your ssh-module should be: source =>
> puppet:///modules/ssh/whatever_file_you want.
>
> Regards
>
> Nicolai

-- 
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