vareda
vareda

Reputation: 125

Uploading external scripts as part of chef cookbook and execute

Is there any options to upload our own external scripts (say *.sh, *.bat, *.ps1) as part of Chef cookbook and execute during chef-client run?

Upvotes: 0

Views: 127

Answers (1)

StephenKing
StephenKing

Reputation: 37630

Add it either as template or as cookbook_file, then call it using the bash or execute resource.

Upvotes: 3

Related Questions