Open VladyslavMatus opened 8 years ago
Hello again @Vladyslav-M
I'm not sure to understand your issue:
Could you please confirm me that your issue is about sync_notification
and status_notification
, or about the recipients
?
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)
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