On 11/10/16 19:06, 'Konstantin Orekhov' via Foreman users wrote:
> 
>     The module should be at /etc/puppet/environments/common/ntp/ or
>     /etc/puppet/modules/ntp/. What are the paths of the modules you've
>     added?
> 
> 
> Hmm, since my common environment is a real environment, its modules are
> under /etc/puppet/environments/common/*modules*/<module>.

This isn't the right directory, it needs to be one higher, in
/etc/puppet/environments/common/ or in /etc/puppet/modules.

> Foreman has no problems finding and importing all of my classes and
> modules in all environments. It just does not allow me to assign modules
> from one environment (common) to any of the hosts or HostGroups
> belonging to other environment.

Yes, they shouldn't be imported into an environment called common, they
should appear in every environment.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to