On 28/09/16 23:36, 'Konstantin Orekhov' via Foreman users wrote:
> <   $settings_file = '/usr/local/etc/puppet/foreman.yaml'
> ---
>>   $settings_file = '/usr/local/etc/puppet/remote.yaml'
> 30c30
> <   $settings_file = File.exist?('/etc/puppetlabs/puppet/foreman.yaml')
> ? '/etc/puppetlabs/puppet/foreman.yaml' : '/etc/puppet/foreman.yaml'
> ---
>>   $settings_file = File.exist?('/etc/puppetlabs/puppet/remote.yaml') ?
> '/etc/puppetlabs/puppet/remote.yaml' : '/etc/puppet/remote.yaml'

Try renaming the $settings_file variable here, it's a global variable
that will be overwritten between the two report processors. I'd also
rename SETTINGS on the next line.

-- 
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