Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

simply manage a single file /etc/hosts and /etc/passwd

Please excuse my newness but I am having trouble getting puppet to do anything. All I am trying to do right now is to manage a few files. For /etc/hosts I get:

Could not evaluate: Error 400 on SERVER: Not authorized to call find on /filemetadata/files/php/common/etc/hosts with {:links=>"manage"} Could not retrieve file metadata for puppet:///files/php/common/etc/hosts: Error 400 on SERVER: Not authorized to call find on /filemetadata/files/php/common/etc/hosts with {:links=>"manage"}

 file { "/etc/hosts":
    source  => "puppet:///files/php/common/etc/hosts",
  }

and when I full pathed it by source => "/etc/puppetlab/puppet/files/php/common/etc/hosts" I get:

Could not evaluate: Could not retrieve information from environment production source(s) file:/etc/puppetlabs/puppet/files/php/common/etc/hosts

I also get a different permissions problem with /etc/passwd.