Using chef's powershell_script provider how would i reference a file chef powershell run from file. you can do it from the /files section of the cookbook with. I am using powershell_script resource in chef to create a database in sqlserver 2012 how to use attributes values in powershell script. ['cookbook-name']. An approach to using atrribute arrays with chef powershell_script how to use powershell in chef to install windows server features. a “community cookbook.
Installs and configures powershell 2.0, 3.0 or 4.0. for users of chef 10 without the powershell_script built-in resource, this cookbook also includes a resource/provider for executing scripts using the powershell interpreter. not every version of windows supports every version of powershell. the. String guards in a powershell_script run windows powershell commands and may return true in take a closer look at the cookbooks that chef authors and. Chef. chef 12.6+ cookbooks. windows 3.0+ powershell also requires the appropriate version of the microsoft .net framework to be installed, if the operating system does not ship with that version..
0 komentar:
Posting Komentar