Skip to content

Instantly share code, notes, and snippets.

@MosesMendoza
Created September 22, 2016 17:13
Show Gist options
  • Save MosesMendoza/30f79facfbd2429d6d9435eb2768c0b4 to your computer and use it in GitHub Desktop.
Save MosesMendoza/30f79facfbd2429d6d9435eb2768c0b4 to your computer and use it in GitHub Desktop.
# Install
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) 09:31:47$ cmd.exe /c sc qc puppet || sc qc pe-puppet
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: puppet
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe" -rubygems "C:\Program Files\Puppet Labs\Puppet\service\daemon.rb"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Puppet Agent
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) executed in 0.14 seconds
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) 09:31:47$ cmd.exe /c reg query "HKLM\SOFTWARE\Wow6432Node\Puppet Labs\PuppetInstaller" /v "RememberedPuppetAgentStartupMode" | findstr Manual
RememberedPuppetAgentStartupMode REG_SZ Manual
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) executed in 0.14 seconds
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) 09:31:48$ cmd.exe /c "if exist \"%ProgramFiles%\Puppet Labs\puppet\misc\versions.txt\" type \"%ProgramFiles%\Puppet Labs\puppet\misc\versions.txt\""
puppet_for_the_win 4.5.2-0-gae1821b
facter 3.1.8-0-g148948d
hiera 3.2.0-0-g2d49944
mcollective 2.8.8-0-g1d427e2
puppet 4.5.2-0-g2813ef0
pxp-agent 1.1.3-0-gac97956
sys 2.1.8.4-x64-0-g9adda84
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) executed in 0.12 seconds
# Upgrade later succeeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment