News for hackers. Stuff that matters.
Re:Ask HN: Is there server-side software that we are missing... by takinola on Friday February 16, 2018 @04:26PM (#16396502)
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.

Re:Ask HN: Is there server-side software that we are missing... by noir_lord on Friday February 16, 2018 @06:09PM (#16397405)
You 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.

Re:Ask HN: Is there server-side software that we are missing... by artpar on Sunday February 18, 2018 @08:30AM (#16405977)
I am trying to make daptin just like you explained.

https://github.com/daptin/daptin

A JSON config plus backing database (mysql/postgres/sqlite) defines your complete environment.

Re:Ask HN: Is there server-side software that we are missing... by deathtrader666 on Sunday February 18, 2018 @12:46AM (#16404664)
Re:Ask HN: Is there server-side software that we are missing... by viraptor on Saturday February 17, 2018 @07:31AM (#16400405)
Software 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.
Re:Ask HN: Is there server-side software that we are missing... by sjellis on Saturday February 17, 2018 @04:20AM (#16399852)
I 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.
Re:Ask HN: Is there server-side software that we are missing... by rs86 on Friday February 16, 2018 @06:41PM (#16397644)
Maybe you will find Nix useful.
Re:Ask HN: Is there server-side software that we are missing... by hathathat on Friday February 16, 2018 @05:30PM (#16397085)
Doesn't Puppet(.com) do something like this?