Ask Your Question

Impact of network stability

asked 2016-12-19 01:21:22 -0600

Thomas Michel gravatar image

Hello everyopne,

I am checking if puppet could be a solution for us to deploy software to RaspberryPis and / or manage them even if they are mounted in vehicles. This scenario can not ensure a stable network connection and I am wondering how puppet is dealing with that effect.

Is puppet reverting changes if during the configuration process errors (network losses) are happening? Does puppet first try to get all external files before starting to apply changes?

Does somebody has experiences with this?

Thank you!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-19 11:19:02 -0600

lupin gravatar image

Depending on which stage of puppet run the network interruption happens. If it happen during the initial client to master(fact submission and catalog download) then it will fail and cannot proceed(no changes to node state). It if happen during the resource application of the catalog( actual changes on node state) and losses the network to remote resources that it depends on then it cannot enforce everything. It will put the node on that incomplete state until the next schedule run then, the cycle continue. In summary even a network is not 100% reliable since puppet is schedule to run every 30mins, chances are your system will eventually reach the desired state.

edit flag offensive delete link more


Thanks for the quick answer! I think as a consequence I should do the updates when the cars are in the area of the office and do have WiFi.

Thomas Michel gravatar imageThomas Michel ( 2016-12-20 00:23:33 -0600 )edit

You also may want to consider the overhead of running the daemon process. Are you worried about managing configuration drift, or just configuration the systems? If so, doing more of a 'push' model with a puppet apply could hit the spot.

DarylW gravatar imageDarylW ( 2016-12-20 07:32:50 -0600 )edit

Nice hint! In combination with rsync (and maybe --partial) that could be the right thing to do. I was mainly worried about a system stuck in the update process which is not capable of getting itself back to a normal operation mode again. I guess there will always be a small drift between systems.

Thomas Michel gravatar imageThomas Michel ( 2016-12-20 15:40:12 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-12-19 01:21:22 -0600

Seen: 14 times

Last updated: Dec 19 '16