Chef 11.0.0.beta.1 is out, now with Omnibus!


#1

Hi Chefs,

We’ve released Chef 11.0.0.beta.1 to Rubygems and in Omnibus package form.

Changes

The following issues have been fixed since the beta 0:

  • Modified the behavior of the new attributes system to overwrite Arrays when merging between precedence levels. This matches the Chef 10.x behavior.
  • Fixed a bug where calling puts on a attribute component would raise a TypeError.
  • Fixed an issue managing the 32 bit registry on 64 bit Windows 2003 systems.
  • Corresponding test fixes.
  • Added a flag to check for admin privileges when running chef-client on Windows
  • Bug fixes to chef_fs, used in the knife-essentials utilities like knife diff
  • Added missing requires for some deprecated DSL mixins
  • Fixed a bug in log messages under Windows
  • Fixed another windows bug where cookbook_file wouldn’t inherit permissions from a parent object

Installing

With Omnibus, via install.sh:

curl:

curl -L "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

wget:

wget -qO- "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

With Omnibus via package download:

Omnibus packages are served via a webservice called Omnitruck that redirects you to the appropriate package. Normally you don’t need to know any specificsthing about Omnitruck, but we haven’t updated the install.sh script with a flag for grabbing a pre-release yet and maybe you’re just interested anyway. If you are, an explanation of the URL parameters that allows you to grab whatever versions you want is available on the wiki:

http://wiki.opscode.com/display/chef/Chef+11+Server+Preview

The wiki page is focused on the chef-server case but is valid for chef-client as well. For example, this will fetch the package on Ubuntu 10.04:

wget -O /tmp/chef_11.0.0.beta.1_amd64.deb ‘https://www.opscode.com/chef/download?v=11.0.0.beta.1&p=ubuntu&pv=10.04&m=x86_64

Reporting Problems

If you find any issues using the beta, please report them here and file bug reports on tickets.opscode.com.

Thanks!


Bryan McLellan | opscode | technical program manager, open source
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org


#2

Hi Brian,

thanks for the release!

It looks like Debian packages are finally available :slight_smile:

This information is missing in the linked wiki page.

Thanks
Steffen

On 1/29/13 3:34 AM, Bryan McLellan wrote:

Hi Chefs,

We’ve released Chef 11.0.0.beta.1 to Rubygems and in Omnibus package form.

Changes

The following issues have been fixed since the beta 0:

  • Modified the behavior of the new attributes system to overwrite Arrays when merging between precedence levels. This matches the Chef 10.x behavior.
  • Fixed a bug where calling puts on a attribute component would raise a TypeError.
  • Fixed an issue managing the 32 bit registry on 64 bit Windows 2003 systems.
  • Corresponding test fixes.
  • Added a flag to check for admin privileges when running chef-client on Windows
  • Bug fixes to chef_fs, used in the knife-essentials utilities like knife diff
  • Added missing requires for some deprecated DSL mixins
  • Fixed a bug in log messages under Windows
  • Fixed another windows bug where cookbook_file wouldn’t inherit permissions from a parent object

Installing

With Omnibus, via install.sh:

curl:

curl -L "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

wget:

wget -qO- "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

With Omnibus via package download:

Omnibus packages are served via a webservice called Omnitruck that redirects you to the appropriate package. Normally you don’t need to know any specificsthing about Omnitruck, but we haven’t updated the install.sh script with a flag for grabbing a pre-release yet and maybe you’re just interested anyway. If you are, an explanation of the URL parameters that allows you to grab whatever versions you want is available on the wiki:

http://wiki.opscode.com/display/chef/Chef+11+Server+Preview

The wiki page is focused on the chef-server case but is valid for chef-client as well. For example, this will fetch the package on Ubuntu 10.04:

wget -O /tmp/chef_11.0.0.beta.1_amd64.deb ‘https://www.opscode.com/chef/download?v=11.0.0.beta.1&p=ubuntu&pv=10.04&m=x86_64

Reporting Problems

If you find any issues using the beta, please report them here and file bug reports on tickets.opscode.com.

Thanks!


Bryan McLellan | opscode | technical program manager, open source
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org


#3

Sorry, I didn’t read carefully enough… the link posted was to
chef-client, which is available for Debian.

When can we expect a chef-server package for Debian? Or should the
Ubuntu packages also work?

Thanks
Steffen

On 1/29/13 3:41 PM, Steffen Gebert wrote:

Hi Brian,

thanks for the release!

It looks like Debian packages are finally available :slight_smile:

This information is missing in the linked wiki page.

Thanks
Steffen

On 1/29/13 3:34 AM, Bryan McLellan wrote:

Hi Chefs,

We’ve released Chef 11.0.0.beta.1 to Rubygems and in Omnibus package form.

Changes

The following issues have been fixed since the beta 0:

  • Modified the behavior of the new attributes system to overwrite Arrays when merging between precedence levels. This matches the Chef 10.x behavior.
  • Fixed a bug where calling puts on a attribute component would raise a TypeError.
  • Fixed an issue managing the 32 bit registry on 64 bit Windows 2003 systems.
  • Corresponding test fixes.
  • Added a flag to check for admin privileges when running chef-client on Windows
  • Bug fixes to chef_fs, used in the knife-essentials utilities like knife diff
  • Added missing requires for some deprecated DSL mixins
  • Fixed a bug in log messages under Windows
  • Fixed another windows bug where cookbook_file wouldn’t inherit permissions from a parent object

Installing

With Omnibus, via install.sh:

curl:

curl -L "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

wget:

wget -qO- "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -v 11.0.0.beta.1

With Omnibus via package download:

Omnibus packages are served via a webservice called Omnitruck that redirects you to the appropriate package. Normally you don’t need to know any specificsthing about Omnitruck, but we haven’t updated the install.sh script with a flag for grabbing a pre-release yet and maybe you’re just interested anyway. If you are, an explanation of the URL parameters that allows you to grab whatever versions you want is available on the wiki:

http://wiki.opscode.com/display/chef/Chef+11+Server+Preview

The wiki page is focused on the chef-server case but is valid for chef-client as well. For example, this will fetch the package on Ubuntu 10.04:

wget -O /tmp/chef_11.0.0.beta.1_amd64.deb ‘https://www.opscode.com/chef/download?v=11.0.0.beta.1&p=ubuntu&pv=10.04&m=x86_64

Reporting Problems

If you find any issues using the beta, please report them here and file bug reports on tickets.opscode.com.

Thanks!


Bryan McLellan | opscode | technical program manager, open source
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org


#4

Update on the Omnibus install:

On Monday, January 28, 2013 at 6:34 PM, Bryan McLellan wrote:

Hi Chefs,

We’ve released Chef 11.0.0.beta.1 to Rubygems and in Omnibus package form.
snip

Installing

With Omnibus, via install.sh (http://install.sh):

curl:

curl -L “https://www.opscode.com/chef/install.sh” | sudo bash -s – -v 11.0.0.beta.1

wget:

wget -qO- “https://www.opscode.com/chef/install.sh” | sudo bash -s – -v 11.0.0.beta.1

We just added prerelease support to the install.sh script. Now you can do:

wget -qO- “https://www.opscode.com/chef/install.sh” | sudo bash -s – -p

And you’ll get the latest prerelease.


Daniel DeLeo


#5

On Tue, Jan 29, 2013 at 10:35 AM, Steffen Gebert st+gmane@st-g.de wrote:

Sorry, I didn’t read carefully enough… the link posted was to
chef-client, which is available for Debian.

My fault, Dan wrote all the good parts of that announcement and when I
copied it and finished it I wasn’t in the right groove with it.

When can we expect a chef-server package for Debian? Or should the
Ubuntu packages also work?

Probably won’t see official debian server packages for a while, but
the Ubuntu packages work alright AFAICT.

I just used these commands to get debs on my Debian Wheezy VM and they
worked okay:

wget -O chef-server.deb
http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=latest&prerelease=true&nightlies=true
sudo dpkg -i chef-server.deb
sudo apt-get remove apache2 && sudo killall apache2 # I had an issue
with this getting in the way :stuck_out_tongue:
sudo chef-server-ctl reconfigure

Get the Debian stable Omnibus Client

wget -O chef.deb
https://www.opscode.com/chef/download?v=&p=debian&pv=6&m=x86_64

set chef_server_url to https://localhost

sudo cp /etc/chef-server/chef-validator.pem /etc/chef/validation.pem
sudo chef-client

Bryan


#6

Hi,

On 01/29/2013 11:36 PM, Bryan McLellan wrote:
[…]

wget -O chef-server.deb
http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=latest&prerelease=true&nightlies=true
sudo dpkg -i chef-server.deb

Can I download the source package somewhere?

Thanks,
Nanuk


#7

On Wed, Jan 30, 2013 at 8:50 AM, Nanuk Krinner
nanukkrinner.devel@googlemail.com wrote:

Can I download the source package somewhere?

erchef (The erlang based API server) is here: https://github.com/opscode/erchef

This blog post directly lists the repositories for some components it
uses: http://www.opscode.com/blog/2012/08/27/introducing-erchef/

Bryan


#8

The packages are made with the omnibus project and fpm. There is no source
package.

Adam

On 1/30/13 5:50 AM, “Nanuk Krinner” nanukkrinner.devel@googlemail.com
wrote:

Hi,

On 01/29/2013 11:36 PM, Bryan McLellan wrote:
[…]

wget -O chef-server.deb

'http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v
=latest&prerelease=true&nightlies=true’
sudo dpkg -i chef-server.deb

Can I download the source package somewhere?

Thanks,
Nanuk


#9

So we are just barely getting a chef server stood up for initial
development and testing. I’m tempted to start with chef 11 and live with
the growing pains, but I hesitate since it is still in beta. On the other
hand, I don’t like starting with 10 when 11 is so close.

Any advice? Which way would you go if you were starting now?

Thanks,

Ben

On Wed, Jan 30, 2013 at 11:13 AM, Adam Jacob adam@opscode.com wrote:

The packages are made with the omnibus project and fpm. There is no source
package.

Adam

On 1/30/13 5:50 AM, “Nanuk Krinner” nanukkrinner.devel@googlemail.com
wrote:

Hi,

On 01/29/2013 11:36 PM, Bryan McLellan wrote:
[…]

wget -O chef-server.deb

'
http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v

=latest&prerelease=true&nightlies=true’
sudo dpkg -i chef-server.deb

Can I download the source package somewhere?

Thanks,
Nanuk


#10

On Wed, Jan 30, 2013 at 4:22 PM, Benjamin Bytheway bbytheway@gmail.com wrote:

So we are just barely getting a chef server stood up for initial development
and testing. I’m tempted to start with chef 11 and live with the growing
pains, but I hesitate since it is still in beta. On the other hand, I don’t
like starting with 10 when 11 is so close.

Any advice? Which way would you go if you were starting now?

Chef 11 is in good shape. The Chef Server 11 Omnibus packages make
setting up a server really easy on the platforms it supports. I’d use
that.

Bryan