Error: Could not retrieve information from environment production source(s) puppet:///modules/
Issue
- When specifying the source attribute in a puppet path am getting the error:
# puppet apply name-motd/manifests/init.pp
Error: /Stage[main]/Main/File[/etc/motd]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/name-motd/motdcontent.txt
Notice: Finished catalog run in 0.02 seconds
file { '/etc/motd' :
ensure => present,
mode => 0755,
owner => 'root',
# content => "Unauthorized Activity !!!!\n",
source => "puppet:///modules/netperf/motdcontent.txt",
}
Environment
- Red Hat Enterprise Linux 6, 7
- Puppet
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
