Установка Chef Server в Windows

Я пытаюсь запустить Chef Server на сервере Windows 2008 Server.

Я слежу за процессом здесь: http://wiki.opscode.com/display/chef/Installing+Chef+Server+Manually

Я только что установил Gecode, и следующим шагом будет команда ruby:

gem install chef-server chef-server-api chef-server chef-solr

Однако запуск этой команды дает следующий вывод, предполагающий, что Gecode не установлен.

C:\Users\Administrator>gem install chef-server chef-server-api chef-server chef-
solr
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing chef-server:
        ERROR: Failed to build gem native extension.

        C:/opscode/chef/embedded/bin/ruby.exe extconf.rb
checking for main() in -lgecodesearch... no
================================================================================
=========
Gecode >3.5 must be installed (http://www.gecode.org/).

OSX:
  brew install gecode

For convenience, we have built Gecode for Debian/Ubuntu (<release> is lucid or m
averick):
  Add the following two lines to /etc/apt/sources.list.d/opscode.list:
    deb http://apt.opscode.com <release> main
    deb-src http://apt.opscode.com <release> main
  Then run:
    curl http://apt.opscode.com/[email protected] | sudo apt-key add
-
    sudo apt-get update
    sudo apt-get install libgecode-dev

Other distributions can build from source.
================================================================================
=========
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/opscode/chef/embedded/bin/ruby
        --with-gecodesearchlib
        --without-gecodesearchlib
extconf.rb:57:in `<main>': Gecode not installed (RuntimeError)


Gem files will remain installed in C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/
gems/dep_selector-0.0.8 for inspection.
Results logged to C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/dep_selector
-0.0.8/ext/dep_gecode/gem_make.out
Building native extensions.  This could take a while...
ERROR:  Error installing chef-server-api:
        ERROR: Failed to build gem native extension.

        C:/opscode/chef/embedded/bin/ruby.exe extconf.rb
checking for main() in -lgecodesearch... no
================================================================================
=========
Gecode >3.5 must be installed (http://www.gecode.org/).

OSX:
  brew install gecode

For convenience, we have built Gecode for Debian/Ubuntu (<release> is lucid or m
averick):
  Add the following two lines to /etc/apt/sources.list.d/opscode.list:
    deb http://apt.opscode.com <release> main
    deb-src http://apt.opscode.com <release> main
  Then run:
    curl http://apt.opscode.com/[email protected] | sudo apt-key add
-
    sudo apt-get update
    sudo apt-get install libgecode-dev

Я установил версию 3.7.3 с параметрами по умолчанию.

У кого-нибудь есть идеи, как я могу действовать? Я ничего не знаю о Ruby или Gecode.

ТИА


person enashnash    schedule 23.08.2012    source источник


Ответы (1)


Сервер Chef не поддерживается в Windows.

person Hawk Eye    schedule 11.10.2012
comment
Это скрыто в этом билете Opscode - opscode.com/support/tickets/12882 - person Hawk Eye; 12.10.2012
comment
Не могли бы вы вставить то, что написано в билете? Я не хочу регистрироваться только для того, чтобы прочитать это! - person enashnash; 12.10.2012
comment
@enashnash Из того, что я вижу здесь: wiki.opscode.com/ display/chef/Fast+Start+Guide+for+Windows, похоже, поддерживается в Windows - person NullUserException; 12.10.2012
comment
Извините, я думал, что билет был публичным. Я цитирую поддержку Opscode: сервер Chef с открытым исходным кодом работает только в Linux. - person Hawk Eye; 12.10.2012
comment
@NullUserException Это руководство посвящено настройке узла шеф-повара или рабочей станции управления. ОП говорит о настройке сервера шеф-повара в Windows. - person Hawk Eye; 12.10.2012