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"}
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,
}
}
path /puppet/v3/file_metadata/files
method search,find
auth yes
allow_ip 192.168.0.0/16
Hi,
<snip>