Last active
October 7, 2015 20:29
-
-
Save echohack/09c3daf494949a6951bd to your computer and use it in GitHub Desktop.
dsc_script example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iis_ws_config = "#{node['app']['file_cache_path']}\\iis_ws_config.ps1" | |
template iis_ws_config do | |
source 'iis_ws_config.ps1.erb' | |
variables( | |
ws_pool_user: env_credentials['ws_pool_user'], | |
ws_pool_pswd: env_credentials['ws_pool_pswd'], | |
site_name: ws['site_name'], | |
site_path: ws['site_path'], | |
formservice_path: ws['formservice_path'], | |
formsetservice_path: ws['formsetservice_path'], | |
renderingservice_path: ws['renderingservice_path'], | |
services_path: ws['services_path'] | |
) | |
end | |
dsc_script 'iis_ws_config' do | |
command iis_ws_config | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment