News for hackers. Stuff that matters.
Re:CINC Is Not Chef by bigstrat2003 on Friday April 04, 2025 @02:49PM (#43586316)
The client/server model is why I like Chef more than Ansible, tbh. Having my machines run a service which pulls configuration on a schedule is, to me, much saner and easier to manage than having to push configuration from a central source over ssh. But that is obviously just my preference, and if someone doesn't like the client/server model then I can totally understand if they don't like Chef as a result.
Re:CINC Is Not Chef by hnlmorg on Friday April 04, 2025 @03:08PM (#43586521)
Ansible can work that way too.

In fact every time I’ve migrated to Ansible (each time from Puppet), we’ve built the infrastructure so Ansible pulled its configuration.

Re:CINC Is Not Chef by esseph on Friday April 04, 2025 @03:09PM (#43586528)
Re:CINC Is Not Chef by doubled112 on Friday April 04, 2025 @03:44PM (#43586886)
I use this to keep my (too many) Linux desktops configured.

A systemd service runs ansible-pull about 2 minutes after boot. It does its thing.

It has some annoyances, but it works fine. I don't think about it anymore. The git repo is the source of truth.

Re:CINC Is Not Chef by closeparen on Friday April 04, 2025 @05:09PM (#43587623)
To me a deployment of new code or config is a workflow. The ordering and timing of its progress of the fleet is very important. You want to be able to plan it, watch it, and pause or reverse it from that perspective.

SSH is inadequate because this process should be much slower than the life of anyone's terminal window. You could approximate it with cronjob pulls if each node's schedule is a little offset from the previous. But you probably also want different rollout schedules available for different scenarios.