i have a problem with berkshelf in the chef devkti installation
svparijs has quit
it seems to ignore my settings in the knife.rb which sets the client key to my host machine name, rather than the organisation i'm setting on the fly there.
is there any default location chefdk berkshelf is taking configs from?
cschneid has quit
rm_ joined the channel
dangerou_ has quit
dangerousdave joined the channel
tetor_ joined the channel
rm_ has quit
tetor has quit
dwisnia has quit
crazysix joined the channel
EricL_ has quit
crazysix has quit
breezeight joined the channel
EricL_ joined the channel
mahmoudimus has quit
dangerousdave has quit
dangerousdave joined the channel
StefanS joined the channel
sarkis joined the channel
EricL_ has quit
svparijs joined the channel
StefanS has quit
sarkis has quit
[o__o] joined the channel
dwisnia joined the channel
mboeru joined the channel
dangerousdave has quit
dangerousdave joined the channel
svparijs has quit
bencaron joined the channel
rm_ joined the channel
arir_a_ joined the channel
cragdor joined the channel
bencaron has quit
rm_ has quit
okay, apparently it expects .berkshelf/config.json in the home dir of the user, but now i get an error about invalid ruby syntax in the cookbooks
E, [2014-06-01T12:48:56.587014 #28258] ERROR -- : Cookbook file attributes/default.rb has a ruby syntax error:
E, [2014-06-01T12:48:56.587519 #28258] ERROR -- : rbenv: ruby: command not found
E, [2014-06-01T12:48:56.587719 #28258] ERROR -- :
E, [2014-06-01T12:48:56.587918 #28258] ERROR -- : The `ruby' command exists in these Ruby versions:
E, [2014-06-01T12:48:56.588100 #28258] ERROR -- : 2.0.0-dev
E, [2014-06-01T12:48:56.588313 #28258] ERROR -- : 2.0.0-p451
E, [2014-06-01T12:48:56.588514 #28258] ERROR -- :
E, [2014-06-01T12:48:56.590751 #28258] ERROR -- : Ridley::Errors::CookbookSyntaxError: Invalid ruby files in cookbook: chef-client (3.5.0).
E, [2014-06-01T12:48:56.600501 #28258] ERROR -- : /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ridley-3.1.0/lib/ridley/chef/cookbook.rb:198:in `validate'
that seems like an environment setup problem
anybody has an idea how this can be tackled?
svparijs joined the channel
dwisnia has quit
ravibhure joined the channel
svparijs has quit
rdenis joined the channel
hm, it seems like the embedded ruby cannot found? is that a possibility?
or is not used, rather
yveslaroche joined the channel
crazysix joined the channel
sarkis joined the channel
crazysix has quit
sarkis has quit
Mer|inDMC is now known as MerlinDMC
therealkoopa joined the channel
digitalchild
whysthatso: i managed to kill ruby embedded by installing system ruby
and that completely killed chef-client on me
therealkoopa has quit
dangerousdave has quit
dangerousdave joined the channel
whysthatso
lol, yeah
i'm actually quite happy with my rbenv-steered environment
i don't use the distro-packaged ruby
gyre007_ joined the channel
but the error message seems to point to berkshelf trying to use the rbenv-controlled ruby version
is there any place to configure that? config.json of berkshelf maybe?
i thought the dev kit will finally get rid of all those environment implications
gyre007_ has quit
digitalchild
mine broke when i used RVM
mistake..
i just got 'ruby command not found'
switched back to the distro ruby no issues
sorry i don't know enough about berks and the rest yet to be much help