Project

iisconfig

0.0
No commit activity in last 3 years
No release in over 3 years
IIS Configuration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.18.0, ~> 2.18.0
~> 3.0.0
 Project Readme

IISConfig

IISConfig is a DSL written in ruby to configure IIS application pools and web and ftp sites.

Examples

By default iisconfig is destructive, any application pools or sites in the configuration file will be deleted before being rebuilt.

iisconfig e config.iis

If you want to recycle just the application pools the --recycle-apppools can be used

iisconfig e config --recycle-apppools

To perform a dry run, and to see what appcmds will be executed add the switch dry-run

iisconfig e config.iis --dry-run

Within the config.iis SensitiveValue can be used to store passwords or any other sensitive data and prevent it being logged.

E.g.

p.process_model do |m|
  m.identity_type :SpecificUser
  m.idle_timeout '0.00:30:00'
  m.username ENV['APP_POOL_USERNAME']
  m.password SensitiveValue.new(ENV['APP_POOL_PASSWORD'])
end

Notes

iisconfig must be run with administrative privileges.