-
Notifications
You must be signed in to change notification settings - Fork 193
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
On Windows when upgrading with a new logon user and password, the windows service does not get updated. #700
Comments
@tuxmea I thought gMSA was designed to solve this issue, so credentials can be rotated centrally without having to reconfigure each node? Puppet supports running as a gMSA service. There used to be blog post about it. Our MSI properties also discuss this https://www.puppet.com/docs/puppet/8/install_agents.html#msi_properties Of course, if the service is running as domain service or local account, then having the ability to manage the credentials in the module makes sense. |
so theres a workaround for this - i have a related issue it may be down to this from here: https://puppet.com/docs/puppet/latest/install_agents.html#msi_properties
I had this issue because my CA server hostname is not default/same as the master so during some upgrades it gets reverted to original you can workaround it with an override of puppet_agent::install_options, e.g. for me:
you could add additonal lines for |
@tuxmea it is possible to specify the credentials as class { 'puppet_agent':
package_version => '8.10.0',
source => 'C:/packages/puppet-agent-8.10.0-x64.msi',
install_options => [
'REINSTALLMODE="amus"',
'PUPPET_AGENT_ACCOUNT_USER="PuppetSvc"',
'PUPPET_AGENT_ACCOUNT_PASSWORD="SuperSecret"',
]
} During the upgrade, the MSI will update the user/password:
However, if the package's current and desired versions are insync, then the credentials aren't updated. Also there isn't a way to use sensitive. I could see adding domain/user/password parameters to the |
During an upgrade of Puppet Agent on Windows, the Puppet service resource does not manage the logon user and password.
This is only set during initial installation and not managed later on.
At some customers the security requests to change passwords regularly. This also affects service accounts.
The text was updated successfully, but these errors were encountered: