4 ms·
I should be able to copy and paste a server configuration and create an identical copy of my server. Right now, the only solutions I see are generating images
by takinola 9y ago
I should be able to copy and paste a server configuration and create an identical copy of my server. Right now, the only solutions I see are generating images (too big and cumbersome) or writing scripts (too complex).
I would like to be able to type in a single command and replicate all the packages, services and configuration present in a particular server to a new target system.
- hathathat 9y agoDoesn't Puppet(.com) do something like this?
- noir_lord 9y agoYou can get a fair way down that path with ansible if you are very careful but it still requires too much work, modern operating systems and packaging where not built for idempotent rollbacks. We try to treat pets like cattle then wonder why they bite us (to reverse the usual refrain). I agree though, it should be declarative but everything shits everything else all over the filesystem.
- rs86 9y agoMaybe you will find Nix useful.
- sjellis 9y agoI think there's a general problem that the incentives are for building big tools, so small problems like this are handled by everybody writing their own ad-hoc scripts.
- viraptor 9y agoSoftware that does it: puppet, chef, salt, ansible, ... You can have chef as a service in AWS via OpsWorks. Alternatively almost every cloud provider supports cloud-config at boot time.
- deathtrader666 9y agoCheck out NixOS and NixOps https://nixos.org/ https://nixos.org/ https://nixos.org/nixops/ https://nixos.org/nixops/
- artpar 9y agoI am trying to make daptin just like you explained. https://github.com/daptin/daptin https://github.com/daptin/daptin A JSON config plus backing database (mysql/postgres/sqlite) defines your complete environment.