Live data from Hacker News

Moving away from Puppet: SaltStack or Ansible?

ryandlane.com

181–182 of 182 posts

Re: Moving away from Puppet: SaltStack or Ansible?

#181

Earlier quoted context omitted.

I don't see the point of managing state at all. If it's stateful you're doing it wrong, and likely deploying it wrong too. And if that's the case I don't see the point of a level of indirection outside the shell script. But that might be just me :) I talk a bit more about this here: https://www.youtube.com/watch?v=zVUPmmUU3yY but it's quite heavily edited and a little out of date.

This comment is disturbing because it assumes there is a wrong way to do things. In fact, the point of managing state is to react to the changing state of different resources (ie. services in a service-oriented architecture, the physical or virtual systems they run on, the networks that connect them, etc.) and to automatically resolve failures through known and tested state-migrations. If you missed that, you're in n…

"In fact, the point of managing state is to react to the changing state of different resources (ie. services in a service-oriented architecture, the physical or virtual systems they run on, the networks that connect them, etc.) and to automatically resolve failures through known and tested state-migrations."

They should be part of the definition of your system (ie the state), not changed on the fly.

If I said ShutIt was elegant, I was wrong (not sure where I did). It's not elegant, just as the real world is not.

Anyone trying to make config management look elegant is selling you a pup.

Re: Moving away from Puppet: SaltStack or Ansible?

#182
post #121

Earlier quoted context omitted.

This doesn't have to be the case. All resources in Ansible are declarative models of state, that get informed, and have idempotent properties. So it's just like any CMS. However if you want to write a deployment script, it also lets you, rather than fighting it kicking and screaming :) Also, when you want to just push and run a script versus using one of the 234 other modules, it's there - http://docs.ansible.com/scr…

However if you want to write a deployment script, it also lets you, rather than fighting it kicking and screaming :) A thousand times this! I, personally, find YAML easier to grok than whatever Puppet was using (see, post-puppet PTSD selective amnesia). And, anything that doesn't work, on a deadline, can be shell scripted now and modularized later.

"can be shell scripted now and modularized later"

Only true if by "later" you mean "probably never".

Post reply on HN