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?
We have a cookbook which
include_recipesthewsus_servercookbook. In that we set the following: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:
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?