exogenesis
exogenesis copied to clipboard
Discussion: linux and mac?!
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?
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!
:+1:
Is there any update on this, @moonglum? I second @bitboxer's opinion that recipes should know on which OS they should run.
I will continue my work on this as soon as my master's thesis is handed in – which is on the 20. :smile:
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 That's my thinking as well!