Issue #22438 has been reported by Raghavendra Rachamadugu. ---------------------------------------- Bug #22438: import shouldn't error out when there is no file matching the file pattern https://projects.puppetlabs.com/issues/22438
* Author: Raghavendra Rachamadugu * Status: Unreviewed * Priority: Normal * Assignee: eric sorenson * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- Steps to repro 1. Add following line to site.pp import 'nodes/*.pp' 2. Ensure no file exists under nodes sub-directory 3. Run 'puppet agent --test' Expected: Agent run succeeds Actual: Agent run fails as below Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: No file(s) found for import of 'nodes/*.pp' at /etc/puppetlabs/puppet/manifests/site.pp:22 on node puppet-nil.eng.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run As a workaround, we'll probably create an empty .pp file - but this should not be required ideally. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.