Files not importing from puppet-ca server to foreman

Hi

I am new to puppet, have configured foreman & puppet CA server with smart
proxy enabled.

My example file "http.pp" is not show in foreman configuration -> puppet
-> class said "no entry found"

I am sure the http.pp file has no error

Path

/etc/puppet/environments/modules/pkg/manifests

cat http.pp
class pkg::http {

package { 'httpd': 
ensure => 'installed',
    }

}

The above is my simple file

I am looking forward to you help

It looks like you're missing an environment name here. Typically you
might use the production environment, so this would be located at
/etc/puppet/environments/production/modules/pkg/manifests.

··· On 07/08/16 08:55, mohammed mathin wrote: > Hi > > I am new to puppet, have configured foreman & puppet CA server with > smart proxy enabled. > > My example file "http.pp" is not show in foreman configuration -> > puppet -> class said "no entry found" > > I am sure the http.pp file has no error > > Path > > /etc/puppet/environments/modules/pkg/manifests


Dominic Cleal
dominic@cleal.org