in reply to Re^2: chef cpan cookbook
in thread chef cpan cookbook

Yes I noticed that windows is not mentioned there - therfore the question, if windows-support is on the roadmap .... This is the error I have:
Compiling Cookbooks... ===========================================================0 Recipe Compile Error in C:\vagrant\cookbooks\windows\libraries\windows +_privileged.rb ============================================================ LoadError --------- cannot load such file -- windows/error
That's what in my recipe:
node[:Perlmodules].each do |modulename, moduleversion| cpan_client modulename do version moduleversion install_type 'cpan_module' action 'install' end end
I'm aware that "user" and "group" are missing, but I don't know what to put there (esp. for "group".)

Be aware, I'm a Chef-Newbie

Replies are listed 'Best First'.
Re^4: chef cpan cookbook
by Corion (Patriarch) on Oct 21, 2015 at 08:46 UTC

    I don't know Chef and don't know much Ruby, but

    Recipe Compile Error in C:\vagrant\cookbooks\windows\libraries\windows +_privileged.rb

    sounds as if the problem is in that file.

      Apologizes here. My error was caused indeed - as you pointed out - by
      Recipe Compile Error in C:\vagrant\cookbooks\windows\libraries\windows +_privileged.rb
      which was an outdated version. Sorry again ...