Resource Type: iis_application

Defined in:
lib/puppet/type/iis_application.rb
Providers:
webadministration

Summary

Allows creation of a new IIS Application and configuration of application parameters.

Overview

The iis_application type uses an applicationname and a sitename to create an IIS Application. When specifying an application you must specify both. You can specify the sitename by putting it in the title as in “$site_name\$application_name”, or you can use the named parameters. If converting a virtual directory to an app, you can use the virtual_directory parameter to specify the site and omit the sitename parameter. To manage two applications of the same name within different websites on an IIS instance, you must ensure the resource title is unique. You can do this by entering both the sitename and applicationname in the title, or using a descriptive title for the resource and using the named parameters for sitename and applicationname

Properties

  • applicationpool

    The name of the application pool for the application.

  • authenticationinfo
  • enabledprotocols

    The comma-delimited list of enabled protocols for the application. Valid protocols are: 'http', 'https', 'net.pipe', 'net.tcp', 'net.msmq', 'msmq.formatname'.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • physicalpath

    The physical path to the application directory. This path must be fully qualified.

  • sitename

    The name of the site for the application.

  • sslflags

    The SSL settings for the application. Valid options are an array of flags, with the following names: 'Ssl', 'SslRequireCert', 'SslNegotiateCert', 'Ssl128'.

    Supported values:
    • Ssl
    • SslRequireCert
    • SslNegotiateCert

Parameters

  • applicationname

    The name of the application. The virtual path of the application is ‘/<applicationname>’.

  • provider

    The specific backend to use for this ‘iis_application` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • virtual_directory

    The IIS Virtual Directory to convert to an application on create. Similar to iis_application, iis_virtual_directory uses composite namevars.