Error: Could not retrieve information from environment production source(s) puppet:///modules/

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content