Can somebody help me with what I'm doing wrong here? I want to copy all 
sshkeys in the file resource of this puppet module to the machine:

class sshkeys {


file { '/etc/ssh/ssh.keys':

  ensure => directory,

  owner => 'root',

  group => 'root',

  source => "puppet:///sshkeys",

  recurse => true,

  purge => true,

  }


}


Info: Applying configuration version '1428375139'

Error: /Stage[main]/Sshkeys/File[/etc/ssh/ssh.keys]: Failed to generate 
additional resources using 'eval_generate': Error 400 on SERVER: Not 
authorized to call search on /file_metadata/development/sshkeys with 
{:links=>"manage", :recurse=>true, :checksum_type=>"md5"}

Error: /Stage[main]/Sshkeys/File[/etc/ssh/ssh.keys]: Could not evaluate: 
Could not retrieve file metadata for puppet:///development/sshkeys: Error 
400 on SERVER: Not authorized to call find on 
/file_metadata/development/sshkeys with {:links=>"manage", 
:source_permissions=>"use"}

Wrapped exception:

Error 400 on SERVER: Not authorized to call find on 
/file_metadata/development/sshkeys with {:links=>"manage", 
:source_permissions=>"use"}

Notice: Finished catalog run in 1.15 seconds

[root@lfmx-lin-stg01 daveh]#



-- 
[image: CallidusCloud Connections] 
<http://calliduscloudconnections.com/register/?RefID=cc-signature-banner&utm_source=callidus&utm_medium=signature&utm_campaign=c32015>
*CallidusCloud HQ *has moved. 
Our new address is: 
4140 Dublin Blvd, Suite 400, Dublin, CA 94568  

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/68fbbb6c-b0a1-4319-94a2-48e47e2247aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to