Commit graph

4531 commits

Author SHA1 Message Date
Pedro Algarvio
a856f5a573 Take care of whitespace when parsing versions.
Installing from git on Ubuntu without installing from package first.
2012-10-27 04:51:54 +01:00
Pedro Algarvio
b919d276ac Include a version parsing function which ignores revisions. 2012-10-24 01:32:48 +01:00
Alec Koumjian
ce7c286452 Merge pull request #28 from s0undt3ch/develop
Add CentOS git install support.
2012-10-23 14:03:19 -07:00
Pedro Algarvio
5d37d059e2 Don't ignore the CPU for FreeBSD installs, and the functions are for FreeBSD 9. FreeBSD installs are still untested. 2012-10-23 08:09:12 +01:00
Pedro Algarvio
cffc725e08 Properly kill any sub-shells started while running the script. Fixes hanging in CentOS bootstrap. 2012-10-23 04:16:03 +01:00
ffa
ca278f2a11 remove revision number from distribution version
Remove the distribution version revision number becuase it
* is not a large enough change to effect installs
* needs the "." separator, which is currently removed, in the version number to
  be distinguished
* is not currently implemented for Sun and BSD installs
2012-10-21 23:06:03 -07:00
ffa
066daea949 add debian git install 2012-10-21 22:54:07 -07:00
Pedro Algarvio
24d3543248 Add CentOS git install support. 2012-10-22 03:39:33 +01:00
Pedro Algarvio
f31025464c One more copy/paste bug. 2012-10-22 02:01:01 +01:00
Pedro Algarvio
7f57964217 Fix copy/paste bug that prevented the post functions to be searched correctly. 2012-10-22 01:51:59 +01:00
Pedro Algarvio
ae0dc73ef8 Don't ignore CPU information for CentOS. 2012-10-21 16:05:29 +01:00
Pedro Algarvio
808944c0c7 Grab CPU information. 2012-10-21 16:04:57 +01:00
Alec Koumjian
0a755a5331 Updated docs and preliminary arch/freebsd support [untested] 2012-10-19 21:16:00 -07:00
Alec Koumjian
f2b4b679cd Adding initial daily support and upping minor version 2012-10-19 11:08:37 -07:00
Pedro Algarvio
dd518979da Comment typo. 2012-10-19 13:12:22 +01:00
Pedro Algarvio
075149ca1d Improve option handling.
* Add support to specify the git branch or revision that should be checked out.
* We now `shift` arguments as they are used. Once we've handled them all, if there are still arguments remaining, fail.
* Minor `echo` changes.
2012-10-19 12:22:59 +01:00
Pedro Algarvio
88ed42f3db Don't ignore /etc/lsb-release if it exists. 2012-10-19 12:07:14 +01:00
Pedro Algarvio
b261a816bb Remove left behind option argument. 2012-10-19 11:24:05 +01:00
Pedro Algarvio
132fbc6213 Fix some bugs.
Provide some convenience variables, version without dots and lowercased distro name which is used while searching for install functions.
2012-10-18 23:54:58 +01:00
Pedro Algarvio
ef699f7e38 Minor typos. 2012-10-18 22:30:20 +01:00
Pedro Algarvio
2c0ccad7ab Some indentation correction. 2012-10-18 22:27:38 +01:00
Pedro Algarvio
6c3a8ac62d Remove the temporary directory code. 2012-10-18 22:25:21 +01:00
Pedro Algarvio
b3a9a90634 We no longer depend on shtool.
System detection is now working on Linux, SunOS, and [Open|Net|Free]BSD.
2012-10-18 22:18:07 +01:00
Pedro Algarvio
9ff1c608e5 Simplified the bootstrap script.
This function searching is now "compatible" with at least debian, ubuntu, centos and arch `sh` implementation. Tested!
2012-10-18 17:28:00 +01:00
Pedro Algarvio
9887b234a3 Remove color support.
It will be cumbersome if even possible to handle colors on shell output and no colors on logfile, and doin' this using the simplest and most portable `sh` way.
2012-10-18 11:41:35 +01:00
Pedro Algarvio
8b67922da0 Add Alec to authors, Salt Stack to organization and bugs address. 2012-10-17 16:28:43 +01:00
Pedro Algarvio
5775b0156e Add -e to echo calls and fix some if checks failing on CentOS. Add CentOS 6.3 support. 2012-10-17 16:07:33 +01:00
Pedro Algarvio
1150c69735 Bootstrap script reworked.
* Dropped the log function, instead we pipe stderr and stdout to both the console and the logfile.
* We now make use of 2 scripts from shtool which are involved in system detection, downloaded at runtime.
* In order to support a distribution there are some functions which need to be added to this script, all explained on the source.
2012-10-17 14:02:09 +01:00
Pedro Algarvio
7f46c38289 Lucid's add-apt-repository does not support -y 2012-10-13 12:08:06 +01:00
Ben Hosmer
762ac622df Adding rudimentary support for RHEL/CentOS 6 bootstrap 2012-09-26 08:09:27 -04:00
Angus Peart
d6a7d29e1f Initial multi-os support, see saltstack/salty-vagrant/#1
A sh bootstrapping script is copied to the target VM and used to determine the correct method of installing the Salt binaries.
Any operating system supported by Salt with a sh shell can be added to the bootstrapping script.
2012-09-06 23:17:02 +10:00