-
Notifications
You must be signed in to change notification settings - Fork 12
Setup manually deploy
When you finished adding a pacakge with d3admin, it said this:
Saving new pilot firsttest-1-1 to the server...
Indexing...
Uploading to the Master Distribution Point...
Done!
To pilot it, run 'sudo d3 install firsttest-1-1' on a test machine.
To make it live, run 'd3admin live firsttest-1-1' on your machine.
Lets use your machine to pilot it too. To install it as a pilot on your machine, do as instructed
% sudo d3 install firsttest-1-1
Installing firsttest-1-1 (pilot)...
Done, installed firsttest-1-1 (pilot)
Because a pilot package isn't live, you have to use its full edition to identify which package to install.
And You have now installed your first package.
Let's ask d3 to tell us about all installed packages:
% sudo d3 list-installed
#------' ' next, 'b' prev, 'q' exit, 'h' help ------
# All packages installed by d3 (not-uninstallable<, frozen^)
# Basename Vers-Rev Status Installed By
#----------------------------------------------------------
firsttest 1-1 pilot 2016-03-10 chrisl
Now lets uninstall the package. Since only one edition can be installed at a time per basename, you only need to give the basename when uninstalling:
% sudo d3 uninstall firsttest
Uninstalling firsttest-1-1
Done, uninstalled firsttest-1-1
% sudo d3 list-installed
#------' ' next, 'b' prev, 'q' exit, 'h' help ------
# All packages installed by d3 (not-uninstallable<, frozen^)
# Basename Vers-Rev Status Installed By
#----------------------------------------------------------
Now lets go make it live and re-install it using only its basename. Do this using d3admin live <edition>
% d3v3admin live firsttest-1-1
*****************************************
Ahoy there! You are about to:
Make firsttest-1-1 live for basename 'firsttest'
*****************************************
Are you SURE? (y/n): y
Done!
New installs of basename 'firsttest' will get 1-1
Existing installs will be updated at the next d3 sync.
Now that it's live, it should should show up in the list of available packages, assuming you didn't limit the OS version, or use any excluded groups.
% sudo d3 list-available
#------' ' next, 'b' prev, 'q' exit, 'h' help ------
# Live packages available for this machine (* = installed, ^ = puppies)
# Basename Vers-Rev Auto-installed on
#---------------------------------------------------
firsttest* 1-1 -
and - re-install the live package:
% sudo d3 install firsttest
Installing currently live firsttest...
Done, installed firsttest-1-1 (live)
% sudo d3 list-installed
#------' ' next, 'b' prev, 'q' exit, 'h' help ------
# All packages installed by d3 (not-uninstallable<, frozen^)
# Basename Vers-Rev Status Installed By
#-----------------------------------------------------------
firsttest 1-1 live 2016-03-10 chrisl