The service you are looking for is when you installed katello-agent. This
package includes utilities that upload the hosts package profile and
enabled repositories to Katello which allow errata to be calculated.

Eric

On Tue, May 30, 2017 at 6:46 PM, Edward Clay <[email protected]>
wrote:

> Can anyone tell me what software/agent/code is used to to inform
> katello/foreman that a system is either up to date or needs patches (aka
> erratas that apply to host) and what executes it?  From what I've come up
> with thus far, I perform the following task on a host and then everything
> is good.  But this is because puppet agent does a puppet run every 35'is
> minutes.  At least that's what my understanding is.
>
> 1. So first I create a host in foreman with the specifics/details needed
> to define a specific host.
>
> 2. On a existing system I run these task.  Rough draft of the steps I
> follow to set up an existing host.
>
> -- install subscription manager
> wget https://copr.fedoraproject.org/coprs/dgoodwin/
> subscription-manager/repo/epel-6/dgoodwin-subscription-manager-epel-6.repo
> -O /etc/yum.repos.d/dgoodwin-subscription-manager-epel-6.repo
> -- install katello client
> yum install -y http://fedorapeople.org/groups/katello/releases/yum/3.
> 2/client/el6/x86_64/katello-client-repos-latest.rpm
> yum -y install katello-agent
> wget --no-check-certificate https://foreman.domain.com/
> pub/katello-ca-consumer-latest.noarch.rpm
> rpm -ihv ./katello-ca-consumer-latest.noarch.rpm
> subscription-manager register --org="myOrg" --activationkey="COS6"
>
> -- Install puppet
> rpm -ihv https://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
> yum -y install puppet
> add the following two lines just under [main]
> server = foreman.domain.com
> environment = production
> --       puppet agent -t
> --       service puppet start
> --       chkconfig puppet on
>
> So after doing these steps i'm able to login to foreman and see weather or
> not a system has outstanding erratas that need to be applied and I can
> apply them.
>
> --
> 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.
>



-- 
Eric D. Helms
Red Hat Engineering

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