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

We can't enable sync_notification and/or status_notification #11

Open
VladyslavMatus opened this issue Dec 2, 2015 · 2 comments
Open

Comments

@VladyslavMatus
Copy link
Contributor

B/s of we can't specify recipients - it obtains critical error when tried to save config on configure recipe.

There no way to configure recipients via PS - it is read only properties.
Recipients information stored in database - so we should insert required data into database. Unfortunately we can't modify WID without administrator privileges, also WID uses only Windows Authentication mode (IMO it is not possible to work with it now via chef). But it seems that we can insert into MS SQL Express required data.

Also we have to insert recipients data before we save parameters in configure recipe and after we installed WSUS role

We can configure notification via MMC also we can enable sync_notification and/or status_notification after we added recipients manually

@Annih
Copy link
Contributor

Annih commented Dec 2, 2015

Hello again @Vladyslav-M

I'm not sure to understand your issue:

  • Your first statement is that you can't specify recipients; which is true, because as you said recipients is a read-only property not handled by this cookbook (sadly). I never did that deep to find a workaround to this issue, but if you want we can try :)
  • Your issue title is about sync_notification and status_notification: do you mean that you are not able to configure them? or you are not able to configure them with proper recipients?

Could you please confirm me that your issue is about sync_notification and status_notification, or about the recipients ?

@VladyslavMatus
Copy link
Contributor Author

I meant that we can't configure sync_notification and status_notification in correct way.

Try to explain (will show on sync_notification, for status_notification similar):
there 2 options:

  1. We don't change attribute enable_sync_notification (by default - false) and come to server to configure it manually (add recipients and enable) - after chef client rerun - it will disable notification.
  2. We change attribute enable_sync_notification to true - it will broke the configure recipe run, than we configure it manually and on next chef run obtain working notification.
    Both options required manual interventions and errors/incorrect config (or additional change of attributes for configured server=not applicable for fresh one).

My suggestion - to remove parts related to sync_notification and status_notification b/s IMO there no way to configure them in correct way now.
Other option as for me - add functionality to configure recipients and provide ability to configure sync_notification and status_notification. (It is possible via database configuration)

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

2 participants