Skip to content

Categories Not Being Set #31

Description

@HeyItsGilbert

We have a cookbook which include_recipes the wsus_server cookbook. In that we set the following:

node.default['wsus_server']['subscription']['categories'] = [
  'Exchange Server 2013',
  'Exchange Server 2016',
  'Microsoft SQL Server 2008R2',
  'Microsoft SQL Server 2012',
  'Microsoft SQL Server 2014',
  'Microsoft SQL Server 2016',
]

The chef runs complete succesfully and everything seems to be configured correctly except for the categories.

On the host itself I verified that the categories were valid by running the following and verifying that the titles matched:

$Wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(
    'my-wsusbox',
    $False,
    8530
)
$wsus.GetUpdateCategories()

I noticed that the wsus_server_subscription[Wsus server subscription] always executes (not idempotent) and I believe that shouldn't be the case.

Anything else I can troubleshoot from my end?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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