Managing Updates to Chef Server and Client

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

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 (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 * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

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 (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 * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * 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

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

Which gave me the following
[chef_stable]
name=chef_stable
baseurl=https://packagecloud.io/chef/stable/el/6/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=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 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, usually it will list all of the repositories. Is there any way to turn on directory listing on packagecloud?

Thanks,
David

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 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, 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 * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

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 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, 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 and all subdirectories?