Hi,
Puppet server is launching this error message in test environment:


Error: /Stage[main]/Ejecuta/File[nombre.sh]: Could not evaluate: Could not 
> retrieve file metadata for puppet:///files/nombre.sh: Error 500 on SERVER: 
> Server Error: Not authorized to call find on /file_metadata/files/nombre.sh 
> with {:rest=>"files/nombre.sh", :links=>"manage", :checksum_type=>"md5", 
> :source_permissions=>"ignore"}
>
>

I'm googling but I don't find this server error with 500 code.


The class related is:



> class ejecuta {
>         File['nombre.sh'] -> Exec['muestra_nombre']
>
>         file { 'nombre.sh':
>                 ensure => 'file',
>                 source => "puppet:///files/nombre.sh",
>                 links => 'manage',
>                 path => '/usr/local/bin',
>                 owner => 'gus',
>                 group => 'gus',
>                 mode => '0777',
>              }
>
>         exec {'muestra_nombre':
>                 command => '/usr/local/bin/nombre.sh',
>                 refreshonly => true,
>         }
> }
>

 
auth.conf


path /puppet/v3/file_metadata/files
> method search,find
> auth yes
> allow_ip 192.168.0.0/16
>
>
Versions:

Puppetserver       2.7.2 
Puppet Agent       4.9.2       



Any idea?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4997007f-e239-453b-a0bb-7cd3c584a66b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to