Skip to content

[MODULES-10364] iis : iis_site autostart options largely undocumented #51

Description

@github-actions

Note: This issue has been mirrored from Puppet's Jira issue tracker. Changes
made here will not be synced back to the source. Please follow the Jira link
below to find more details, to comment, or to contribute a pull request. See
this repository's README for more contribution information!

Metadata
Jira link https://tickets.puppetlabs.com/browse/MODULES-10364
Created Mon, 30 Dec 2019 08:00:43 -0800
Updated Thu, 1 Oct 2020 14:47:41 -0700
Component Modules
Labels beginner, iis, windows

OS Name/Version: Windows

When I set serviceautostart: true without setting either serviceautostartprovidername or serviceautostartprovidertype within an iis_site resource, I expected that the website would automatically start on the next reboot, using the default mechanism.

Desired Behavior:

As it turns out, if serviceautostart is true, then serviceautostartprovidername and serviceautostartprovidertype must both be non-blank, although it is still unclear to me what constitutes a valid value for each setting. To be fair, the official Microsoft documentation, part of which is repeated by the iis module, is equally inadequate.

At a minimum, setting serviceautostart to true without supplying non-blank values for both serviceautostartprovidername and serviceautostartprovidertype should have resulted in a compile-time error.

Actual Behavior:

The setting had no effect, and subsequent puppet runs re-applied the setting as a corrective change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions