Anton Kaminski
Anton Kaminski

Reputation: 124

Chef-client error with Command timed out after 900s:

Try to download file with custom resource(which doesn't have such attr as timeout), but inet is so slow, that chef give me an error:

Mixlib::ShellOut::CommandTimeout
      --------------------------------
      Command timed out after 900s:
      Command exceeded allowed execution time, process terminated

who knows how to increase timeout?

Upvotes: 1

Views: 1689

Answers (1)

StephenKing
StephenKing

Reputation: 37600

All chef resources have a common timeout attribute which should allow you to increase it for your remote_file resource.

See Common Functionality.

Upvotes: 3

Related Questions