Chef for Windows, Gaurd examples for deploying only changes -


i looking examples on how program guards achieve differential deployments. suppose have exe1, exe2, sql1, sql2 entire application. create complete cookbooks steps deploy entire application. deploy on servers.

then make change in sql2. make changes in cookbook , upload that; complete cookbook goes server. want chef needed deployment steps sql2 only. chef automatically handle that? see examples guards written, e.g. check db instance existence, if not install, etc. have write guards similar check file changes , deploy on changes? best practices?

most chef resources (and similar constructs in other modern cm tools) "idempotent" meaning take whatever action required reach desired end state. means if have, say, template resource , content correct, doesn't updated. resources can't idempotent on own nature, execute , friends, can write checks ensure idempotence yourself.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -