-
Notifications
You must be signed in to change notification settings - Fork 14
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
Issue with configure recipe #21
Comments
Hello @rstra Let's clarify a bit the situation, if I understand your setup, you have:
About the "issue" what happens when you set What is the runlist of your node? Are you sure your "override cookbook" is taken into account? Regards! |
If I set the master server equal to something (
https://myserver.test.com:8531), then it will configure the WSUS server
properly. My new server will be pointing to https://myserver.test.com:8531
and it is set as a replica, but it will now run the synchronization
configuration. The problem is with the unless on line 33 of configure.rb.
(Since the server gets configured correctly until this point, I know it is
using the override attributes.)
If I remove the master server from the attributes, it will configure the
WSUS server and set the sync properties, but it will not point the WSUS
server to an upstream one. ds
…On Fri, Apr 21, 2017 at 4:44 PM, Baptiste Courtois ***@***.*** > wrote:
Hello @rstra <https://github.com/rstra>
Let's clarify a bit the situation, if I understand your setup, you have:
- a WSUS master server not configured via chef
- a replica that you tried to configure via chef.
About the "issue" what happens when you set wsus_server.configuration.
master_server to a non-nil value? Do you have an error or nothing is
configured?
What is the runlist of your node? Are you sure your "override cookbook" is
taken into account?
Regards!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AacdvJV375VPmZ4CydUZ5L77l7qNj-Zjks5rySNQgaJpZM4NATJu>
.
|
Did you mean The |
@rstra any news? |
I am configuring a WSUS replica that points to an upstream master which I configured by hand. I have been able to run everything but the following "unless" is not letting the configuration take place.
unless server_conf['master_server'] || server_conf['properties']['IsReplicaServer']
I have the attributes in another cookbook with override, and the configure.rb looks like this:
override['wsus_server']['configuration']['proxy_password'] = nil
override['wsus_server']['configuration']['update_languages'] = ['en']
override['wsus_server']['configuration']['master_server'] = 'https://MYWSUSSERVER:8531'
override['wsus_server']['configuration']['properties'] = { }
override['wsus_server']['configuration']['properties']['TargetingMode'] = 'Client'
override['wsus_server']['subscription']['automatic_synchronization'] = true
override['wsus_server']['subscription']['categories'] = []
override['wsus_server']['subscription']['classifications'] = []
override['wsus_server']['subscription']['properties'] = {}
override['wsus_server']['subscription']['synchronization_per_day'] = 1
override['wsus_server']['subscription']['synchronization_time'] = '00:00:00'
override['wsus_server']['subscription']['synchronize_categories'] = false
override['wsus_server']['subscription']['configure_timeout'] = 900
override['wsus_server']['notification']['enable_sync_notification'] = false
override['wsus_server']['notification']['enable_smtp_authentication'] = false
override['wsus_server']['notification']['enable_status_notification'] = false
override['wsus_server']['notification']['language'] = 'en'
override['wsus_server']['notification']['properties'] = {}
override['wsus_server']['notification']['sender_address'] = nil
override['wsus_server']['notification']['sender_name'] = nil
override['wsus_server']['notification']['smtp_host'] = nil
override['wsus_server']['notification']['smtp_password'] = nil
override['wsus_server']['notification']['smtp_port'] = 25
override['wsus_server']['notification']['smtp_user'] = nil
override['wsus_server']['notification']['status_notification_frequency'] = 'Daily'
`override['wsus_server']['notification']['status_notification_time'] = '00:00:00'``
When I change the override['wsus_server']['configuration']['master_server'] to
nil
the configuration can run, but then I do not have an upstream server specified.The text was updated successfully, but these errors were encountered: