Custom Fact Missing Exec Permission in Module

23 views
Skip to first unread message

Michael Siroskey

unread,
Jun 2, 2014, 11:23:22 AM6/2/14
to puppet...@googlegroups.com

I defined a custom fact by placing it in the facts.d folder in the module I created.  When I do an agent run the file is copied to the client but fails with “was parsed but returned an empty data set”.  This appears to be due to the file having the incorrect permission (644).  If I manually change the permission on the fact on the client to 744, the fact is executed properly.  The fact file on the server has the correct permission (744).  Is there a place to set permissions on facts in facts.d?

Josh Cooper

unread,
Jun 2, 2014, 5:44:00 PM6/2/14
to puppet...@googlegroups.com
On Mon, Jun 2, 2014 at 8:23 AM, Michael Siroskey <msir...@gmail.com> wrote:

I defined a custom fact by placing it in the facts.d folder in the module I created.  When I do an agent run the file is copied to the client but fails with “was parsed but returned an empty data set”.  This appears to be due to the file having the incorrect permission (644).  If I manually change the permission on the fact on the client to 744, the fact is executed properly.  The fact file on the server has the correct permission (744).  Is there a place to set permissions on facts in facts.d?



Josh

--
Josh Cooper
Developer, Puppet Labs

Join us at PuppetConf 2014September 20-24 in San Francisco
Register by June 5th to take advantage of the Early Adopter discount save $349!
Reply all
Reply to author
Forward
0 new messages