PROBLEM:
Upgrading to Puppet Enterprise
Master of Masters to 5.5.17 (2018.1.11), the Windows clients can't find cmd.exe
PS C:\Windows\system32> puppet
agent -t
Info: Using configured environment
'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for
ntcfsxxaps0147.usda.net
Info: Applying configuration
version '1574901148'
Error: Could not find command
'C:\Users\pmcbrj01\WINDOWS\system32\cmd.exe'
Error:
/Stage[main]/Puppet_agent::Install::Windows/Exec[install_puppet.ps1]/returns:
change from 'notrun' to ['0'] faile
d: Could not find command
'C:\Users\pmcbrj01\WINDOWS\system32\cmd.exe' (corrective)
Notice: /Stage[main]/Puppet_agent::Install::Windows/Exec[fix
inheritable SYSTEM perms]: Dependency Exec[install_puppet.p
s1] has failures: true
Warning:
/Stage[main]/Puppet_agent::Install::Windows/Exec[fix inheritable SYSTEM perms]:
Skipping because of failed depe
ndencies
Notice: Applied catalog in 0.54
seconds
PS C:\Windows\system32> puppet
agent --version
5.5.16
SOULTION:
Wait a little while to let the agent
upgrade
PS C:\Windows\system32> puppet
agent --version
5.5.17
…then try again
PS C:\Windows\system32> puppet
agent -t
Info: Using configured environment
'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for
ntcfsxxaps0147.usda.net
Info: Applying configuration
version '1574902446'
Notice: Applied catalog in 0.56
seconds