Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories Not Being Set #31

Open
HeyItsGilbert opened this issue Dec 8, 2017 · 0 comments
Open

Categories Not Being Set #31

HeyItsGilbert opened this issue Dec 8, 2017 · 0 comments

Comments

@HeyItsGilbert
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant