[SERVER-2577] cannot get file from master when the file is in mymoudle/myfolder/test.txt Created: 2019/06/25  Updated: 2019/06/25  Resolved: 2019/06/25

Status: Closed
Project: Puppet Server
Component/s: Puppet Server
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Critical
Reporter: bobo200128 Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template: Set up GAM
QA Risk Assessment: Needs Assessment


Puppet Version:4.6.2
Puppet Server Version:6.5
OS Name/Version:centos 7

I have a question to say.
I will copy puppetserver file to puppet agent.
This file is at /etc/puppetlabs/code/modules//files/abc/test.txt
abc is myown folder(myfolder).
when I execute "puppet agent -t "at puppet agent ,and wrong with the message below.
Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/mymodule/abc/test1.txt

Desired Behavior:can get test1.txt at agent server

Actual Behavior:error

Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

Run puppet agent with --test --trace --debug

Relevant sections of /var/log/puppetlabs/puppetserver/puppetserver.log or any applicable logs from the same directory.

For more detailed information turn up the server logs by upping the log level in the server's logback.xml

Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig)

For memory issues with server heap dumps are also helpful.

Comment by Josh Cooper [ 2019/06/25 ]

The file needs to be in /etc/puppetlabs/code/modules/abc/files/test.txt. For issues like this please join #puppet in https://slack.puppet.com

Generated at Sat Feb 29 05:56:19 PST 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.