>
> https://theforeman.org/manuals/1.12/index.html#3.5.5FactsandtheENC 
> briefly describes these functions at the bottom of the section. 


Thanks for pointing me to the specific doc! The documentation is certainly 
better and more detailed than I expected.

After, I still don't get:

* what SETTINGS[:facts] is for.  Here's the comment:

      # send facts to Foreman - enable 'facts' setting to activate
      # if you use this option below, make sure that you don't send facts 
to foreman via the rake task or push facts alternatives.

This looks like process_all_facts but for the given certname only. It 
uploads the facts to the #{url} via the mapped hostname, and then downloads 
them from the given certname. What's the use-case here?  In the docs, 
:facts is always set to true, but I'm not sure it actually does anything 
most of the time. (that might be just our environment, though)

* What is no_env for? I see what it does: it removes "environment" from the 
facts that are *reported*. I see what the documentation says about it. The 
questions are (1) shouldn't this be in SETTINGS? and (2) how does the 
presence force puppet to use a particular environment? 

* Why is the watch functionality incorporated into this script? Shouldn't 
this really be a separate task/script altogether? (I'm thinking of 
partitioning of activities via sudo, for instance)

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

Reply via email to