On 25/01/17 21:49, Thomas Cheng wrote:
> I've some configs in old site.pp to be merged into Foreman:
>
> Say, old site.pp has two lines only:
>
> $global_var1 = 'value_1'
> Package { allow_virtual => false }
>
> The first line can be migrated with a Foreman common(global) variable
> 'global_var1' with value 'value_1' .
>
> but, how to migrate the setting in second line? it looks like that
> Foreman httpd/passenger ignores the contents inside site.pp.
site.pp is read by the Puppet master, no matter if you're using Foreman
or not. It's possible that it's in the wrong location. See
https://docs.puppet.com/puppet/latest/dirs_manifest.html for more details.
(Node definitions are different with an ENC, but you don't appear to be
using them.)
--
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.