Chef 0.9.14.beta.1


#1

It has been a long few months since the last Chef release, and we have a
pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to
rubygems.org. I’d appreciate it if everyone could help test for any
regressions. If all goes well, we will release 0.9.14 officially shortly.
The formal release will contain more information, but I’m including a list
of the tickets that have been merged into this release below. If you have
any issues, you can file them against 0.9.14 in Jira. We’re wrapping up a
couple projects in preparation of a beta release for the 0.10 branch as well
and planning on releasing that in the next week.

Bryan McLellan

http://tickets.opscode.com/browse/CHEF-1292
http://tickets.opscode.com/browse/CHEF-1407
http://tickets.opscode.com/browse/CHEF-1445
http://tickets.opscode.com/browse/CHEF-1562
http://tickets.opscode.com/browse/CHEF-1584
http://tickets.opscode.com/browse/CHEF-1587
http://tickets.opscode.com/browse/CHEF-1633
http://tickets.opscode.com/browse/CHEF-1634
http://tickets.opscode.com/browse/CHEF-1660
http://tickets.opscode.com/browse/CHEF-1679
http://tickets.opscode.com/browse/CHEF-1691
http://tickets.opscode.com/browse/CHEF-1703
http://tickets.opscode.com/browse/CHEF-1715
http://tickets.opscode.com/browse/CHEF-1717
http://tickets.opscode.com/browse/CHEF-1718
http://tickets.opscode.com/browse/CHEF-1727
http://tickets.opscode.com/browse/CHEF-1758
http://tickets.opscode.com/browse/CHEF-1763
http://tickets.opscode.com/browse/CHEF-1765
http://tickets.opscode.com/browse/CHEF-1769
http://tickets.opscode.com/browse/CHEF-1781
http://tickets.opscode.com/browse/CHEF-1794
http://tickets.opscode.com/browse/CHEF-1801
http://tickets.opscode.com/browse/CHEF-1803
http://tickets.opscode.com/browse/CHEF-1807
http://tickets.opscode.com/browse/CHEF-1832
http://tickets.opscode.com/browse/CHEF-1834
http://tickets.opscode.com/browse/CHEF-1835
http://tickets.opscode.com/browse/CHEF-1836
http://tickets.opscode.com/browse/CHEF-1844
http://tickets.opscode.com/browse/CHEF-1845
http://tickets.opscode.com/browse/CHEF-1850
http://tickets.opscode.com/browse/CHEF-1851
http://tickets.opscode.com/browse/CHEF-1853
http://tickets.opscode.com/browse/CHEF-1858
http://tickets.opscode.com/browse/CHEF-1861
http://tickets.opscode.com/browse/CHEF-1866
http://tickets.opscode.com/browse/CHEF-1868
http://tickets.opscode.com/browse/CHEF-1878
http://tickets.opscode.com/browse/CHEF-1892
http://tickets.opscode.com/browse/CHEF-1905
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1925
http://tickets.opscode.com/browse/CHEF-1926
http://tickets.opscode.com/browse/CHEF-1930
http://tickets.opscode.com/browse/CHEF-1932
http://tickets.opscode.com/browse/CHEF-1937
http://tickets.opscode.com/browse/CHEF-1938
http://tickets.opscode.com/browse/CHEF-1954
http://tickets.opscode.com/browse/CHEF-1955
http://tickets.opscode.com/browse/CHEF-1988
http://tickets.opscode.com/browse/CHEF-2002
http://tickets.opscode.com/browse/CHEF-2013


#2

On Wednesday, February 9, 2011 at 4:54 PM, Bryan McLellan wrote:
It has been a long few months since the last Chef release, and we have a pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to rubygems.org. I’d appreciate it if everyone could help test for any regressions. If all goes well, we will release 0.9.14 officially shortly. The formal release will contain more information, but I’m including a list of the tickets that have been merged into this release below. If you have any issues, you can file them against 0.9.14 in Jira. We’re wrapping up a couple projects in preparation of a beta release for the 0.10 branch as well and planning on releasing that in the next week.

Bryan McLellan

http://tickets.opscode.com/browse/CHEF-1292
http://tickets.opscode.com/browse/CHEF-1407
http://tickets.opscode.com/browse/CHEF-1445
http://tickets.opscode.com/browse/CHEF-1562
http://tickets.opscode.com/browse/CHEF-1584
http://tickets.opscode.com/browse/CHEF-1587
http://tickets.opscode.com/browse/CHEF-1633
http://tickets.opscode.com/browse/CHEF-1634
http://tickets.opscode.com/browse/CHEF-1660
http://tickets.opscode.com/browse/CHEF-1679
http://tickets.opscode.com/browse/CHEF-1691
http://tickets.opscode.com/browse/CHEF-1703
http://tickets.opscode.com/browse/CHEF-1715
http://tickets.opscode.com/browse/CHEF-1717
http://tickets.opscode.com/browse/CHEF-1718
http://tickets.opscode.com/browse/CHEF-1727
http://tickets.opscode.com/browse/CHEF-1758
http://tickets.opscode.com/browse/CHEF-1763
http://tickets.opscode.com/browse/CHEF-1765
http://tickets.opscode.com/browse/CHEF-1769
http://tickets.opscode.com/browse/CHEF-1781
http://tickets.opscode.com/browse/CHEF-1794
http://tickets.opscode.com/browse/CHEF-1801
http://tickets.opscode.com/browse/CHEF-1803
http://tickets.opscode.com/browse/CHEF-1807
http://tickets.opscode.com/browse/CHEF-1832
http://tickets.opscode.com/browse/CHEF-1834
http://tickets.opscode.com/browse/CHEF-1835
http://tickets.opscode.com/browse/CHEF-1836
http://tickets.opscode.com/browse/CHEF-1844
http://tickets.opscode.com/browse/CHEF-1845
http://tickets.opscode.com/browse/CHEF-1850
http://tickets.opscode.com/browse/CHEF-1851
http://tickets.opscode.com/browse/CHEF-1853
http://tickets.opscode.com/browse/CHEF-1858
http://tickets.opscode.com/browse/CHEF-1861
http://tickets.opscode.com/browse/CHEF-1866
http://tickets.opscode.com/browse/CHEF-1868
http://tickets.opscode.com/browse/CHEF-1878
http://tickets.opscode.com/browse/CHEF-1892
http://tickets.opscode.com/browse/CHEF-1905
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1925
http://tickets.opscode.com/browse/CHEF-1926
http://tickets.opscode.com/browse/CHEF-1930
http://tickets.opscode.com/browse/CHEF-1932
http://tickets.opscode.com/browse/CHEF-1937
http://tickets.opscode.com/browse/CHEF-1938
http://tickets.opscode.com/browse/CHEF-1954
http://tickets.opscode.com/browse/CHEF-1955
http://tickets.opscode.com/browse/CHEF-1988
http://tickets.opscode.com/browse/CHEF-2002
http://tickets.opscode.com/browse/CHEF-2013

As always, you can install the prerelease with gem install chef --pre.

Happy testing!


Dan DeLeo


#3

Bryan,

[Resending to the lists…]

On 10 February 2011 01:54, Bryan McLellan btm@loftninjas.org wrote:

It has been a long few months since the last Chef release, and we have a
pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to
rubygems.org.

Will there be an OHAI 0.5.10 pre-release that goes along with it?

Ringo


#4

We’re wrapping up a couple projects in preparation of a beta release for
the 0.10 branch as well and planning on releasing that in the next week.

Any update on chef 0.10 beta release? Looking forward to help test it.

  • Rob

On Wed, Feb 9, 2011 at 7:54 PM, Bryan McLellan btm@loftninjas.org wrote:

It has been a long few months since the last Chef release, and we have a
pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to
rubygems.org. I’d appreciate it if everyone could help test for any
regressions. If all goes well, we will release 0.9.14 officially shortly.
The formal release will contain more information, but I’m including a list
of the tickets that have been merged into this release below. If you have
any issues, you can file them against 0.9.14 in Jira. We’re wrapping up a
couple projects in preparation of a beta release for the 0.10 branch as well
and planning on releasing that in the next week.

Bryan McLellan

http://tickets.opscode.com/browse/CHEF-1292
http://tickets.opscode.com/browse/CHEF-1407
http://tickets.opscode.com/browse/CHEF-1445
http://tickets.opscode.com/browse/CHEF-1562
http://tickets.opscode.com/browse/CHEF-1584
http://tickets.opscode.com/browse/CHEF-1587
http://tickets.opscode.com/browse/CHEF-1633
http://tickets.opscode.com/browse/CHEF-1634
http://tickets.opscode.com/browse/CHEF-1660
http://tickets.opscode.com/browse/CHEF-1679
http://tickets.opscode.com/browse/CHEF-1691
http://tickets.opscode.com/browse/CHEF-1703
http://tickets.opscode.com/browse/CHEF-1715
http://tickets.opscode.com/browse/CHEF-1717
http://tickets.opscode.com/browse/CHEF-1718
http://tickets.opscode.com/browse/CHEF-1727
http://tickets.opscode.com/browse/CHEF-1758
http://tickets.opscode.com/browse/CHEF-1763
http://tickets.opscode.com/browse/CHEF-1765
http://tickets.opscode.com/browse/CHEF-1769
http://tickets.opscode.com/browse/CHEF-1781
http://tickets.opscode.com/browse/CHEF-1794
http://tickets.opscode.com/browse/CHEF-1801
http://tickets.opscode.com/browse/CHEF-1803
http://tickets.opscode.com/browse/CHEF-1807
http://tickets.opscode.com/browse/CHEF-1832
http://tickets.opscode.com/browse/CHEF-1834
http://tickets.opscode.com/browse/CHEF-1835
http://tickets.opscode.com/browse/CHEF-1836
http://tickets.opscode.com/browse/CHEF-1844
http://tickets.opscode.com/browse/CHEF-1845
http://tickets.opscode.com/browse/CHEF-1850
http://tickets.opscode.com/browse/CHEF-1851
http://tickets.opscode.com/browse/CHEF-1853
http://tickets.opscode.com/browse/CHEF-1858
http://tickets.opscode.com/browse/CHEF-1861
http://tickets.opscode.com/browse/CHEF-1866
http://tickets.opscode.com/browse/CHEF-1868
http://tickets.opscode.com/browse/CHEF-1878
http://tickets.opscode.com/browse/CHEF-1892
http://tickets.opscode.com/browse/CHEF-1905
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1919
http://tickets.opscode.com/browse/CHEF-1925
http://tickets.opscode.com/browse/CHEF-1926
http://tickets.opscode.com/browse/CHEF-1930
http://tickets.opscode.com/browse/CHEF-1932
http://tickets.opscode.com/browse/CHEF-1937
http://tickets.opscode.com/browse/CHEF-1938
http://tickets.opscode.com/browse/CHEF-1954
http://tickets.opscode.com/browse/CHEF-1955
http://tickets.opscode.com/browse/CHEF-1988
http://tickets.opscode.com/browse/CHEF-2002
http://tickets.opscode.com/browse/CHEF-2013


#5

On Wed, Feb 16, 2011 at 11:01 AM, Rob Guttman robguttman@gmail.com wrote:

Any update on chef 0.10 beta release? Looking forward to help test it.

Yup. Environments is game-changing and we’re really proud of. I’ve
never used anything like it, so it is exciting, but also a lot of work
to figure out the workflow and features to go along with it.

A key part of the environments support is being able to specify
different cookbooks for different environments. Given an application
cookbook ‘secret_sauce’ you may want version ~> 1.0.0 for the
production environment and preproduction, but version > 1 for qa and
dev environments. You can read more about version constraints on our
wiki [1] and learn about ~> if you’re not familiar with it. Since
we’ve also recently started enforcing constraints in cookbook metadata
as well, this lead us down the road of writing a dependency solver.
This is finished and will be merged into the master branch by the end
of next week. Thus, the chef server for 0.10 will require the gecode
library [2], which isn’t packaged for every distribution, so we’re
looking around for help on that.

I don’t know of any other major blocking work. I expect we’ll do the
0.10 beta release in the next sprint which begins on the 28th. As far
as releases go, we’re working on the feedback from the 0.9.14.beta.1
release and getting ready to ship a release candidate for 0.9.14 in
the next week or two. Expect an ohai release in the next few weeks as
well.

We’re trying to work out something official about release schedules
moving forward. I’m personally advocating for and working on bringing
more regularity to releases. This is leading to there being continuing
stable releases on 0.9 for a while after 0.10.0 ships, so you can
track the 0.9-stable branch for work on that. Also remember that our
repositories are public [3], so you can keep and eye on the 0.10 work
and try it out at any time via the master branch. Anyone taking the
time to do that and comment about it on the chef-def list is
incredibly awesome.

Bryan McLellan

[1] http://wiki.opscode.com/display/chef/Cookbook+Version+Constraints
[2] http://www.gecode.org/
[3] https://github.com/opscode/chef


#6

Hello,

On 10 February 2011 00:54, Bryan McLellan btm@loftninjas.org wrote:

It has been a long few months since the last Chef release, and we have a
pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to
rubygems.org. I’d appreciate it if everyone could help test for any
regressions. If all goes well, we will release 0.9.14 officially shortly.
The formal release will contain more information, but I’m including a list
of the tickets that have been merged into this release below.

Any chance we coud get


included?

This is just a patch to shell_out! to make it work with FreeBSD.
Currently the FreeBSD package provider doesn’t work without it, so I’d
consider this critical.

S.


#7

On 10 February 2011 06:10, Stephen Nelson-Smith
stephen@atalanta-systems.com wrote:

Hello,

On 10 February 2011 00:54, Bryan McLellan btm@loftninjas.org wrote:

It has been a long few months since the last Chef release, and we have a
pretty big list of fixes. We’ve pushed a beta release of 0.9.14 up to
rubygems.org. I’d appreciate it if everyone could help test for any
regressions. If all goes well, we will release 0.9.14 officially shortly.
The formal release will contain more information, but I’m including a list
of the tickets that have been merged into this release below.

Any chance we coud get
https://github.com/renchap/chef/commit/163604f515f406c8d28f04e6f6913450554b252e
included?

Sorry - that’s against CHEF-1984.

S.


#8

Hello,

As always, you can install the prerelease with gem install chef --pre.

gem install chef --pre

Successfully installed chef-0.9.14.beta.1
1 gem installed
Installing ri documentation for chef-0.9.14.beta.1…
Installing RDoc documentation for chef-0.9.14.beta.1…
ERROR: While generating documentation for chef-0.9.14.beta.1
… MESSAGE: Error while evaluating
/usr/local/lib/ruby/1.9/rdoc/generator/template/darkfish/classpage.rhtml:
undefined method `gsub’ for nil:NilClass (at
"“method-source-code”\n\t\t\t\t\t\tid=“run-source”>\n

\n")
… RDOC args: lib README.rdoc LICENSE
(continuing with the rest of the installation)

uname -a

FreeBSD bronstein.atalanta-systems.com 8.2-RC3 FreeBSD 8.2-RC3 #0: Sun
Jan 30 06:52:51 UTC 2011
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

ruby --version

ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-freebsd8]

S.

Stephen Nelson-Smith,
Principal Consultant,
Atalanta Systems Ltd,
Web: http://agilesysadmin.net
Twitter: @lordcope
Skype: atalanta.systems
Telephone: +44 (0) 1223 969819
Mobile: +44 (0) 7917 101919

Atalanta Systems: The Agile Infrastructure Enablers
http://atalanta-systems.com


#9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

On Feb 11, 2011, at 12:34 AM, Stephen Nelson-Smith wrote:

gem install chef --pre

… MESSAGE: Error while evaluating
/usr/local/lib/ruby/1.9/rdoc/generator/template/darkfish/classpage.rhtml:
undefined method `gsub’ for nil:NilClass (at
"“method-source-code”\n\t\t\t\t\t\tid=“run-source”>\n

\n")
… RDOC args: lib README.rdoc LICENSE
(continuing with the rest of the installation)

The rdoc for chef is run through sdoc.

gem install sdoc

Successfully installed rdoc-2.4.3
Successfully installed sdoc-0.2.20
2 gems installed
Installing ri documentation for rdoc-2.4.3…
Installing ri documentation for sdoc-0.2.20…
Updating ri class cache with 1564 classes…
Installing RDoc documentation for rdoc-2.4.3…
Installing RDoc documentation for sdoc-0.2.20…

gem install chef --pre

Successfully installed chef-0.9.14.beta.1
1 gem installed
Installing ri documentation for chef-0.9.14.beta.1…
Updating ri class cache with 1698 classes…
Installing RDoc documentation for chef-0.9.14.beta.1…

Of course, you can also:

gem install chef --pre --no-rdoc

:slight_smile:


Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAk1VjGUACgkQO97WSdVpzT0+iACffl3TRlTRdsEUoNcS3l2THg8i
5C4An38bhqqa+B6Jk0wlsFsXYYE5fqke
=csQ4
-----END PGP SIGNATURE-----


#10

On Friday, February 11, 2011 at 11:22 AM, Joshua Timberman wrote:
-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1

Hello!

On Feb 11, 2011, at 12:34 AM, Stephen Nelson-Smith wrote:

gem install chef --pre

… MESSAGE: Error while evaluating
/usr/local/lib/ruby/1.9/rdoc/generator/template/darkfish/classpage.rhtml:
undefined method `gsub’ for nil:NilClass (at
"“method-source-code”\n\t\t\t\t\t\tid=“run-source”>\n

\n")
… RDOC args: lib README.rdoc LICENSE
(continuing with the rest of the installation)

The rdoc for chef is run through sdoc.
I made the rakefile use sdoc because it’s the best™, though everyone is welcome to use what they like. But yeah, this error looks like a bug in the darkfish formatter. Installing with --no-rdoc will workaround.


Dan DeLeo


#11

Thanks for this, Bryan - this visibility helps our planning. Is there an
ETA yet for the chef 0.10 beta release?

Thanks.

  • Rob

On Wed, Feb 16, 2011 at 2:46 PM, Bryan McLellan btm@loftninjas.org wrote:

On Wed, Feb 16, 2011 at 11:01 AM, Rob Guttman robguttman@gmail.com
wrote:

Any update on chef 0.10 beta release? Looking forward to help test it.

Yup. Environments is game-changing and we’re really proud of. I’ve
never used anything like it, so it is exciting, but also a lot of work
to figure out the workflow and features to go along with it.

A key part of the environments support is being able to specify
different cookbooks for different environments. Given an application
cookbook ‘secret_sauce’ you may want version ~> 1.0.0 for the
production environment and preproduction, but version > 1 for qa and
dev environments. You can read more about version constraints on our
wiki [1] and learn about ~> if you’re not familiar with it. Since
we’ve also recently started enforcing constraints in cookbook metadata
as well, this lead us down the road of writing a dependency solver.
This is finished and will be merged into the master branch by the end
of next week. Thus, the chef server for 0.10 will require the gecode
library [2], which isn’t packaged for every distribution, so we’re
looking around for help on that.

I don’t know of any other major blocking work. I expect we’ll do the
0.10 beta release in the next sprint which begins on the 28th. As far
as releases go, we’re working on the feedback from the 0.9.14.beta.1
release and getting ready to ship a release candidate for 0.9.14 in
the next week or two. Expect an ohai release in the next few weeks as
well.

We’re trying to work out something official about release schedules
moving forward. I’m personally advocating for and working on bringing
more regularity to releases. This is leading to there being continuing
stable releases on 0.9 for a while after 0.10.0 ships, so you can
track the 0.9-stable branch for work on that. Also remember that our
repositories are public [3], so you can keep and eye on the 0.10 work
and try it out at any time via the master branch. Anyone taking the
time to do that and comment about it on the chef-def list is
incredibly awesome.

Bryan McLellan

[1] http://wiki.opscode.com/display/chef/Cookbook+Version+Constraints
[2] http://www.gecode.org/
[3] https://github.com/opscode/chef


#12

On Wed, Feb 9, 2011 at 10:10 PM, Stephen Nelson-Smith
stephen@atalanta-systems.com wrote:

Any chance we coud get
https://github.com/renchap/chef/commit/163604f515f406c8d28f04e6f6913450554b252e
included?

This is just a patch to shell_out! to make it work with FreeBSD.
Currently the FreeBSD package provider doesn’t work without it, so I’d
consider this critical.

Probably, as the fix is there [1] and doesn’t look at all intrusive.

Bryan

[1] http://tickets.opscode.com/browse/CHEF-1984