exogenesis icon indicating copy to clipboard operation
exogenesis copied to clipboard

Discussion: linux and mac?!

Open bitboxer opened this issue 10 years ago • 6 comments

I am now working for a company that hired bitcrowd. For them I have created a nice little virtual machine. But I want to have all the comfort of my dotfiles in there, too.

Currently I just commented out the stuff that would not work on a linux box (aka homebrew). Which is not a very clean solution. Basically this would mean a new linux branch for the new machine.

What do you think about this? Should the recipies know that they only can run on osx or linux and prevent them to run otherwise? Is there another solution I don't see right now?

bitboxer avatar Apr 17 '14 09:04 bitboxer

I already started with a concept for this. Somewhere on a piece of paper, I will find that :wink: The basic idea is as follows:

  • Introduce a Packagemanager 'interface' that offers install, remove, update. Implement it for the different packagemanagers.
  • For the brews it's most complicated. As some packages have different names in different package managers, it needs to be possible to give an alternative name for each of those packages...

Let me get back to you, when I find this concept!

moonglum avatar Apr 18 '14 09:04 moonglum

:+1:

bitboxer avatar Apr 18 '14 09:04 bitboxer

Is there any update on this, @moonglum? I second @bitboxer's opinion that recipes should know on which OS they should run.

gildesmarais avatar Oct 08 '14 15:10 gildesmarais

I will continue my work on this as soon as my master's thesis is handed in – which is on the 20. :smile:

moonglum avatar Oct 09 '14 09:10 moonglum

I wonder if it wouldn't be simpler to let chef/puppet/ansible/or somesuch abstract that away. On the other hand if you go down any of those rabbit holes you probably wouldn't need exogenesis, so…

thegcat avatar Apr 17 '16 10:04 thegcat

@thegcat That's my thinking as well!

moonglum avatar Apr 18 '16 18:04 moonglum