aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/deploy.rb
AgeCommit message (Collapse)Author
2014-11-24moved core_ext and lib_ext under leap_clidevelopelijah
2014-10-30minor fixes to Path.find_fileelijah
2014-10-22bug fix: fixed bad default for --tags in `leap deploy`elijah
2014-10-21removed constants.rb, now defined in platform.rbelijah
2014-10-21added support for custom-puppetelijah
2014-10-20implement optional provider custom puppet support (#6201, #6225)Micah Anderson
if files/custom-puppet/{manifests,modules} does not exist, it will be created and files/custom-puppet/manifests/site.pp will be populated with a comment and necessary tag to apply in the platform. The site.pp must exist, if it does not, then the import in the platform/manifest/site.pp will fail. Any puppet resources put in custom-puppet/manifests/site.pp will be executed, and any modules placed in custom-puppet/modules will be made available through the --modulepath parameter to puppet. This requires the associated platform changes (#6226)
2014-10-09make platform constraints optional (ask the user if they really want to do it).elijah
2014-10-02bugfix: only recompile nodes in affected environments when deployingelijah
2014-09-30environment pinning: new commands `leap env`, `leap env pin X` and `leap env ↵elijah
unpin`. See `leap help env` for more information.
2014-09-25bugfix: make `leap deploy` actually run.elijah
2014-09-25add support for per-environment platform pinning. Support pins are ↵elijah
platform.version, platform.branch, and platform.commit
2014-06-20added `leap deploy --dev` which will skip `git submodule update`elijah
2014-05-27cap puppet verbosity level at 5 and capistrano logger at 3.elijah
2014-05-02compile all hiera nodes every time you deploy to any node. slower, but fewer ↵elijah
surprises. in the future, i have some ideas for a better way.
2013-12-10added `--sync` to deploy.elijah
2013-12-05added no-deploy check and simple `leap test run`.elijah
2013-07-15fix bug in rsync of support files during deploy that prevented files from ↵elijah
being updated.
2013-07-10file permissions -- no longer force restrictive chmod on the rsync of ↵elijah
/srv/leap/[puppet|bin], because doing so messes up the permissions of /srv/leap.
2013-06-11added --ip and --port override flags to deploy and init.elijah
2013-04-01remove supply_drop, add support for puppet_command.elijah
2013-03-14added exit codes for puppet applyelijah
2013-03-10fixed misc. bugs with switch to 'environment' flag.elijah
2013-02-28added @allow_production_deploy and @platform_branch to Leapfileelijah
2013-02-26pass through verbosity to puppetelijah
2013-02-23Merge branch 'master' of ssh://leap.se/leap_clielijah
2013-02-23minor improvements to wording of inline command helpelijah
2013-02-21handle submodule updates and url changesMicah Anderson
If a submodule had an update, it would show up as a + in the 'git submodule status' output, and thus would not be automatically updated because we were only looking for '-', so the regexp was changed to look for + as well as - Additionally, add a 'git submodule sync' on every run in order to capture the case where an upstream submodule URL was changed. This doesn't happen often, but it can be quite painful when it does, and fortunately 'git submodule sync' is a local (and thus, cheap) command.
2013-02-07make --tags override the defaultselijah
2013-02-07added global --yes optionelijah
2013-02-02added --tags to deploy command.elijah
2013-01-31include tag leap_service by default (#1610)Micah Anderson
2013-01-31fix erroneous space between tags (#1571)Micah Anderson
2013-01-31tag 'base' is a bad idea because it invokes apache::base as wellvarac
2013-01-31tag 'default' interferes with puppet automatic taggingvarac
2013-01-30added 'leap deploy --fast'elijah
2013-01-28provide puppet libdir for leap deploy to load custom puppet functionsvarac
2013-01-21replaced 'manager.provider' with 'provider'elijah
2013-01-20fix bug with rsync when leap command is run from other directorieselijah
2013-01-13added ability to sync support files along with hiera.yml. this way, files ↵elijah
don't need to be embedded in hiera.yml. this is especially useful for binary files.
2012-12-12auto compile before deploy (as needed)elijah
2012-12-08added commands 'node add' 'node rm' and 'node mv'elijah
2012-11-28give the user a nice error if 'init-node' has not yet been run (or if there ↵elijah
are required packages that are missing).
2012-11-27improved logging all around.elijah
2012-11-13cleaned up logging, and much improved error message when file is not foundelijah
2012-11-04better reporting of puppet progress (supply_drop hack)elijah
2012-10-29hardcode puppet to /usr/bin/puppet for nowelijah
2012-10-27auto run 'git submodule update --init' on leap platform if neededelijah
2012-10-24use new hardcoded paths /etc/leap and /srv/leapelijah
2012-10-23added a bunch of new commands, including init-node and deployelijah
2012-10-10hierarchical yaml output.elijah