Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

esri-iis (6) Versions 0.2.0

Enables IIS features required by ArcGIS Web Adaptor (IIS) and configures HTTPS binding.

Policyfile
Berkshelf
Knife
cookbook 'esri-iis', '= 0.2.0', :supermarket
cookbook 'esri-iis', '= 0.2.0'
knife supermarket install esri-iis
knife supermarket download esri-iis
README
Dependencies
Changelog
Quality 33%

layout: default
title: "esri-iis cookbook"
category: cookbooks
item: esri-iis
version: 0.2.0

latest: true

esri-iis Cookbook

This cookbook enables IIS, installs features required by ArcGIS Web Adaptor (IIS), configures HTTPS, and starts IIS.

Platforms

  • Windows 7
  • Windows 8 (8.1)
    • 8.1 requires .Net Framework 3.5 (See ms_dotnet cookbook README)
  • Windows 10
    • requires .Net Framework 3.5 (See ms_dotnet cookbook README)
  • Windows Server 2008 (R2)
  • Windows Server 2012 (R2)
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Dependencies

The following cookbooks are required:
* openssl
* windows

Attributes

  • node['arcgis']['iis']['domain_name'] = Domain name used for generating a self-signed SSL certificate. By default, <node FQDN> is used.
  • node['arcgis']['iis']['keystore_file'] = Path to PKSC12 keystore file (.pfx) with server SSL certificate for IIS. Default value is nil.
  • node['arcgis']['iis']['keystore_password'] = Password for keystore file with server SSL certificate for IIS. Default value is nil.
  • node['arcgis']['iis']['web_site'] = IIS web site to configure. Default value is Default Web Site.
  • node['arcgis']['iis']['replace_https_binding'] = If false, the current HTTPS binding is not changed if it is already configured. Default value is false.
  • node['arcgis']['iis']['features'] = An array of Windows features to be installed. Default value is ['Web-Server', 'Web-WebServer'].

Recipes

default

Enables IIS features required by ArcGIS Web Adaptor (IIS) and configures HTTPS binding.

The default list of features depends on the Windows version.

{
  "arcgis": {
    "iis": {
      "appid": "{00112233-4455-6677-8899-AABBCCDDEEFF}",
      "domain_name": "domain.com",
      "keystore_file": "C:\\chef\\cache\\domain.com.pfx",
      "keystore_password": "test",
      "web_site": "Default Web Site",
      "replace_https_binding": false,
      "features": [ "IIS-WebServerRole", "IIS-ISAPIFilter",
                    "IIS-ISAPIExtensions", "NetFx4Extended-ASPNET45", "IIS-NetFxExtensibility45",
                    "IIS-ASPNET45", "IIS-WebServerManagementTools", "IIS-ManagementConsole",
                    "IIS-ManagementService", "IIS-IIS6ManagementCompatibility",
                    "IIS-ManagementScriptingTools", "IIS-StaticContent", "IIS-BasicAuthentication",
                    "IIS-WindowsAuthentication", "IIS-Metabase", "IIS-WebSockets" 
      ]
    }
  },
  "run_list": [
    "recipe[esri-iis]"
  ]
}

If the specified keystore file does not exists, the recipe generates a self-signed SSL certificate for the specified domain.

install

Enables IIS features required by ArcGIS Web Adaptor (IIS).

The default list of features depends on the Windows version.

{
    "arcgis": {
      "iis": {
        "features": [ "IIS-WebServerRole", "IIS-ISAPIFilter",
                      "IIS-ISAPIExtensions", "NetFx4Extended-ASPNET45", "IIS-NetFxExtensibility45",
                      "IIS-ASPNET45", "IIS-WebServerManagementTools", "IIS-ManagementConsole",
                      "IIS-ManagementService", "IIS-IIS6ManagementCompatibility",
                      "IIS-ManagementScriptingTools", "IIS-StaticContent", "IIS-BasicAuthentication",
                      "IIS-WindowsAuthentication", "IIS-Metabase", "IIS-WebSockets" 
        ]
      }
    },
    "run_list": [
        "recipe[esri-iis::install]"
    ]
}

Dependent cookbooks

windows ~> 5.3
openssl ~> 8.5

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

esri-iis CHANGELOG

This file is used to list changes made in each version of the esri-iis cookbook.

0.1.3

  • Added 'install' recipe.

0.1.2

  • Updated and locked versions of dependent cookbooks.

0.1.1

  • Add ec2 test kitchen

0.1.0

  • Initial release of esri-iis

Collaborator Number Metric
            

0.2.0 passed this metric

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

0.2.0 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): esri-iis/resources/iis.rb: 1
Chef/Deprecations/UseInlineResourcesDefined: use_inline_resources is now the default for resources in Chef Infra Client 13+ and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_useinlineresourcesdefined): esri-iis/providers/iis.rb: 22
Chef/Modernize/DefaultActionFromInitialize: The default action of a resource can be set with the "default_action" helper instead of using the initialize method. (https://docs.chef.io/workstation/cookstyle/chef_modernize_defaultactionfrominitialize): esri-iis/resources/iis.rb: 29
Chef/Modernize/DependsOnOpensslCookbook: Don't depend on the `openssl` cookbook which was made obsolete by Chef Infra Client 14.4. All `openssl_*` resources are now included directly in Chef Infra Client. (https://docs.chef.io/workstation/cookstyle/chef_modernize_dependsonopensslcookbook): esri-iis/metadata.rb: 11
Chef/Modernize/OpensslX509Resource: The openssl_x509 resource was renamed to openssl_x509_certificate in Chef Infra Client 14.4. The new resource name should be used. (https://docs.chef.io/workstation/cookstyle/chef_modernize_opensslx509resource): esri-iis/recipes/default.rb: 24
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): esri-iis/metadata.rb: 8
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): esri-iis/metadata.rb: 18
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): esri-iis/metadata.rb: 19
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): esri-iis/metadata.rb: 6
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): esri-iis/metadata.rb: 15
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): esri-iis/metadata.rb: 16
Chef/Sharing/InvalidLicenseString: Cookbook metadata.rb does not use a SPDX compliant license string or "all rights reserved". See https://spdx.org/licenses/ for a complete list of license identifiers. (https://docs.chef.io/workstation/cookstyle/chef_sharing_invalidlicensestring): esri-iis/metadata.rb: 4

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number