puppet ERROR 400

41 views
Skip to first unread message

Vassiliy Vins

unread,
Jan 15, 2014, 4:15:00 PM1/15/14
to puppet...@googlegroups.com
Hi!

I've created 2 files:

file test.pp with code :

class copy {

file {"testfile":
path => "/home/vassiliy/myfile",
source => "puppet:///mpoint/client1/testfile",
mode => '644'
}
}

and file site.pp wuth code:

import "test.pp"

node client1 {
include copy
}


in fileserver.conf was created section like:

[mpoint]

path /etc/puppet/files
allow *


file testfile is in folder /etc/puppet/files/client1/

I got on client1    /var/log/messages  next:

ERROR 400 on SERVER: Not authorized to call find on /file_metadata/client1/testfile with {:links => "manage"}

Any ideas, why? where to look at? thnx

Felix Frank

unread,
Jan 20, 2014, 9:23:23 AM1/20/14
to puppet...@googlegroups.com
Hi,

On 01/15/2014 10:15 PM, Vassiliy Vins wrote:
> Any ideas, why? where to look at? thnx

honestly - no. But I do recommend to put all your manifests and files
into modules and serve them from there. Refrain from using 'import'.

I suppose that will work better for you.

HTH,
Felix

Vassiliy Vins

unread,
Jan 30, 2014, 3:51:19 PM1/30/14
to puppet...@googlegroups.com
solved thank you
Reply all
Reply to author
Forward
0 new messages