Resource Type: iis_site

Defined in:
lib/puppet/type/iis_site.rb
Providers:
powershell

Overview

Creates and manages IIS Websites.

Properties

  • app_pool (defaults to: DefaultAppPool)

    The Application Pool that the IIS site should use.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • hostheader

    The Websites host header.

  • ip (defaults to: *)

    The IP Address the site should use. Valid for both IPv4 and IPv6 addresses.

  • path

    The fully-qualified filepath to the root of the IIS Site.

  • port (defaults to: 80)

    The port number of the website. Must be an integer.

  • protocol (defaults to: http)

    The network protocol the site should use. Either HTTP or HTTPS.

    Supported values:
    • http
    • https
  • ssl (defaults to: false)

    Should SSL be enabled or not. Boolean value.

    Supported values:
    • false
    • true
  • state (defaults to: started)

    The state to enforce upon the Site.

    Supported values:
    • stopped
    • started

Parameters

  • name (namevar) (defaults to: path)

    The displayname for the website.

  • provider

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