sinewalker / dotfiles

OS X / Linux dotfiles.
MIT License
0 stars 1 forks source link

Use Ansible or Puppet for package management #20

Open sinewalker opened 7 years ago

sinewalker commented 7 years ago

There's an old ansible ubuntu role from Cowboy that I didn't look at much because, well ubuntu, and also it does things that may be useful in vagrant or something, but not generally for me.

but.

I think it would be nice to move away from Cowboy's bash-scripts to install brew recipies and instead use something like brew bundles.

I could use this as a launch pad into doing similar tasks for the other target systems that I have #8, #9, #10, and possibly #12

sinewalker commented 6 years ago

De-scoping from the SUSE Milestone

Some interesting reading that I did today which has prompted this decision:

Also interesting (I think I've read this before? Might be what prompted me to start playing with this Dotfiles project) Using Git to Manage your User Configuration on Linux

sinewalker commented 6 years ago

Having de-scoped this from the SUSE milestone, I've ended up thinking this night about Ansible vs the Dotfiles Copy/Init/Link steps and wondering what actually do I want to achieve here?

I think that I want to refactor Dotfiles to be driven by Ansible.

The reasons that I have are still nascent, but here's my thinking tonight:

So I think that this Issue really ought to be addressed as a Project in its own right.

I should proceed with the other Issues where it makes sense, and Dotfiles still seems to be the right place to Provision my systems, it's just the way it works that will change. And for now I'll just Init for SUSE/Raspbian as OSes with catch-all packaging, rather than try to break that out. I'll save that for version 2.0 which will be Ansible-driven.

sinewalker commented 5 years ago

I'm currently learning Puppet for work. So another option here is to use Puppet for this.

https://blog.tfnico.com/2016/03/replacing-boxen-with-vanilla-puppet-for.html

This is interesting: https://github.com/tfnico/prefs/blob/master/puppet-mac.pp