Merge pull request #1377 from nacx/chef-version

There is no need to force the Chef version anymore
This commit is contained in:
Adrian Cole 2013-03-01 15:19:52 -08:00
commit b26dfb9b94
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ public class InstallChefGems extends StatementList {
public InstallChefGems() {
// Chef versions prior to 10.16.4 install an incompatible moneta gem.
// See: http://tickets.opscode.com/browse/CHEF-3721
super(new InstallRuby(), exec("gem install chef -v '>= 10.16.4' --no-rdoc --no-ri"));
super(new InstallRuby(), exec("gem install chef --no-rdoc --no-ri"));
}
@Override

View File

@ -382,7 +382,7 @@ public class ChefSoloTest {
private static String installChefGems() throws IOException {
return Resources.toString(Resources.getResource("test_install_ruby." + ShellToken.SH.to(OsFamily.UNIX)),
Charsets.UTF_8) + "gem install chef -v '>= 10.16.4' --no-rdoc --no-ri\n";
Charsets.UTF_8) + "gem install chef --no-rdoc --no-ri\n";
}
private static String createConfigFile() {

View File

@ -47,7 +47,7 @@ public class InstallChefGemsTest {
assertEquals(
new InstallChefGems().render(OsFamily.UNIX),
Resources.toString(Resources.getResource("test_install_ruby." + ShellToken.SH.to(OsFamily.UNIX)),
Charsets.UTF_8) + "gem install chef -v '>= 10.16.4' --no-rdoc --no-ri\n");
Charsets.UTF_8) + "gem install chef --no-rdoc --no-ri\n");
}
public void installChefGemsUnixInScriptBuilderSourcesSetupPublicCurl() throws IOException {

View File

@ -184,7 +184,7 @@ END_OF_JCLOUDS_SCRIPT
gem update --system
gem update --no-rdoc --no-ri
gem install chef -v '>= 10.16.4' --no-rdoc --no-ri
gem install chef --no-rdoc --no-ri
END_OF_JCLOUDS_SCRIPT