# Managing Updates to Chef Server and Client

**URL:** https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054
**Category:** Chef Infra (archive)
**Created:** [December 11, 2014, 6:32am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054 "2014-12-11T06:32:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Somers\_Harris\_David\_](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Somers\_Harris\_David\_](https://discourse.chef.io/u/Somers_Harris_David_)
#### Post date: [December 11, 2014, 6:32am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054/1 "2014-12-11T06:32:43Z")

</div>

Hello,

I would like to manage updates to Chef Server and clients using RPM package management for CentOS servers.  
I see that the current way to do updates is to run the ctrl command for Chef Server and run a shell script (or manually install the rpm yourself) for chef-client.

Is there an RPM repository we can just point to get updates to Chef for?  
It would make detecting Security patches and updates so much easier.

Thanks,  
David

---

<div class="post-metadata">

### Author: ![jdunn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jdunn/32/1800_2.png) [@jdunn](https://discourse.chef.io/u/jdunn)
#### Post date: [December 11, 2014, 6:54am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054/2 "2014-12-11T06:54:29Z")

</div>

On Thu, 11 Dec 2014, Somers-Harris, David | David | OPS wrote:

> I would like to manage updates to Chef Server and clients using RPM  
> package management for CentOS servers. I see that the current way to do  
> updates is to run the ctrl command for Chef Server and run a shell  
> script (or manually install the rpm yourself) for chef-client.
> 
> Is there an RPM repository we can just point to get updates to Chef for?  
> It would make detecting Security patches and updates so much easier.

Yes, we're getting there -- the server products & their add-ons are now  
hosted on Packagecloud: [https://packagecloud.io/chef/stable](https://packagecloud.io/chef/stable) (and you can  
read on their website how to set up apt or yum repo files for your use)

The client pipeline is being migrated early in the New Year at which point  
the client RPMs will be there too.

- Julian

[Julian C. Dunn [jdunn@aquezada.com](mailto:jdunn@aquezada.com) \* Sorry, I'm ]  
[WWW: [Julian Dunn's Blog - Commentary on media, technology, and everything in between.](http://www.aquezada.com/staff/julian) \* only Web 1.0 ]  
[gopher://sdf.org/1/users/keymaker/ \* compliant!]  
[PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9]

---

<div class="post-metadata">

### Author: ![Somers\_Harris\_David\_](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Somers\_Harris\_David\_](https://discourse.chef.io/u/Somers_Harris_David_)
#### Post date: [December 11, 2014, 7:40am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054/3 "2014-12-11T07:40:32Z")

</div>

> > I would like to manage updates to Chef Server and clients using RPM  
> > package management for CentOS servers. I see that the current way to  
> > do updates is to run the ctrl command for Chef Server and run a shell  
> > script (or manually install the rpm yourself) for chef-client.
> > 
> > Is there an RPM repository we can just point to get updates to Chef for?  
> > It would make detecting Security patches and updates so much easier.
> 
> Yes, we're getting there -- the server products & their add-ons are now hosted on Packagecloud:

[https://packagecloud.io/chef/stable](https://packagecloud.io/chef/stable) (and you can read on their website how to set up apt or yum repo files for

> your use)
> 
> The client pipeline is being migrated early in the New Year at which point the client RPMs will be there too.
> 
> - Julian
> 
> [Julian C. Dunn [jdunn@aquezada.com](mailto:jdunn@aquezada.com) \* Sorry, I'm ]  
> [WWW: [Julian Dunn's Blog - Commentary on media, technology, and everything in between.](http://www.aquezada.com/staff/julian) \* only Web 1.0 ]  
> [gopher://sdf.org/1/users/keymaker/ \* compliant!]  
> [PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9]

Thanks Julian!

I read their bash script here  
[https://packagecloud.io/chef/stable/install](https://packagecloud.io/chef/stable/install)

And was able to generate a repo file for CentOS 6 with this link  
[https://packagecloud.io/install/repositories/chef/stable/config\_file.repo?os=centos&dist=6](https://packagecloud.io/install/repositories/chef/stable/config_file.repo?os=centos&dist=6)

Which gave me the following  
[chef\_stable]  
name=chef\_stable  
baseurl=[https://packagecloud.io/chef/stable/el/6/$basearch](https://packagecloud.io/chef/stable/el/6/$basearch)  
repo\_gpgcheck=1  
gpgcheck=0  
enabled=1  
gpgkey=[https://packagecloud.io/gpg.key](https://packagecloud.io/gpg.key)  
sslverify=1  
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

Now what I want to do is plug in the repo into Foreman so that it can discover them all. Unfortunately it looks like packageio doesn't allow drilling down because when I plugged in [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el) into foreman it wasn't able to discover any repositories.

You can confirm this for yourself by pointing your browser to [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el), usually it will list all of the repositories. Is there any way to turn on directory listing on packagecloud?

Thanks,  
David

---

<div class="post-metadata">

### Author: ![jdunn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jdunn/32/1800_2.png) [@jdunn](https://discourse.chef.io/u/jdunn)
#### Post date: [December 11, 2014, 8:48am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054/4 "2014-12-11T08:48:08Z")

</div>

On Thu, 11 Dec 2014, Somers-Harris, David | David | OPS wrote:

> Now what I want to do is plug in the repo into Foreman so that it can  
> discover them all. Unfortunately it looks like packageio doesn't allow  
> drilling down because when I plugged in  
> [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el) into foreman it wasn't able to  
> discover any repositories.
> 
> You can confirm this for yourself by pointing your browser to  
> [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el), usually it will list all of the  
> repositories. Is there any way to turn on directory listing on  
> packagecloud?

I'm not sure. You can probably contact their support to ask this question;  
they're pretty responsive!

- Julian

[Julian C. Dunn [jdunn@aquezada.com](mailto:jdunn@aquezada.com) \* Sorry, I'm ]  
[WWW: [Julian Dunn's Blog - Commentary on media, technology, and everything in between.](http://www.aquezada.com/staff/julian) \* only Web 1.0 ]  
[gopher://sdf.org/1/users/keymaker/ \* compliant!]  
[PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9]

---

<div class="post-metadata">

### Author: ![Somers\_Harris\_David\_](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Somers\_Harris\_David\_](https://discourse.chef.io/u/Somers_Harris_David_)
#### Post date: [December 24, 2014, 6:19am UTC](https://discourse.chef.io/t/managing-updates-to-chef-server-and-client/6054/5 "2014-12-24T06:19:02Z")

</div>

> > Now what I want to do is plug in the repo into Foreman so that it can  
> > discover them all. Unfortunately it looks like packageio doesn't allow  
> > drilling down because when I plugged in  
> > [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el) into foreman it wasn't able to  
> > discover any repositories.
> > 
> > You can confirm this for yourself by pointing your browser to  
> > [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el), usually it will list all of  
> > the repositories. Is there any way to turn on directory listing on  
> > packagecloud?
> 
> I'm not sure. You can probably contact their support to ask this question; they're pretty responsive!
> 
> - Julian

I emailed the on Dec 11 but no response. Any other suggestions?

Can you guys ask packagecloud to allow directory listing on [https://packagecloud.io/chef/stable/el](https://packagecloud.io/chef/stable/el) and all subdirectories?
