Commit graph

3311 commits

Author SHA1 Message Date
Pedro Algarvio
08c709ac64 Set a temp dir path to a existing but bogus path so the config func actually works. 2013-01-27 23:29:59 +00:00
Pedro Algarvio
a2a73a2c39 Add SmartOS support based on it's salt-could deploy script equivalent. 2013-01-27 23:12:58 +00:00
Pedro Algarvio
acb4a05ecc Forgot some break's and fix some copy/paste typos. 2013-01-27 23:05:19 +00:00
Pedro Algarvio
2fe237e647 Add missing fi 2013-01-27 22:55:45 +00:00
Pedro Algarvio
73866b00ae Improved OS version detection of Solaris based distributions. 2013-01-27 22:54:21 +00:00
Pedro Algarvio
37688981c4 Switch psrinfo with kstat which is less error prone when parsing. 2013-01-27 19:40:42 +00:00
Pedro Algarvio
abdb063f54 Properly detect CPU on SmartOS(Maybe Solaris too).
Parsing was tested on a Genuine Intel CPU. Might fail on other CPU's.
2013-01-27 19:28:14 +00:00
Pedro Algarvio
f0366e4783 SmartOS/Solaris version of ps does not support ps -o command. 2013-01-27 19:12:27 +00:00
Pedro Algarvio
d7531f0698 Update README with the new supported distros and their versions. 2013-01-27 18:20:24 +00:00
Pedro Algarvio
c2d641bdde Support both RHEL/CentOS >= 5 and RHEL/CentoS >=6 2013-01-27 18:11:30 +00:00
Pedro Algarvio
d8507f57f7 Add RedHat support (based on CentOS). 2013-01-27 17:46:55 +00:00
Pedro Algarvio
4a807c5dae Add missing ')' 2013-01-27 17:29:05 +00:00
Pedro Algarvio
2bc5d3fc48 Fix sed not replacing whitespace with underscores. 2013-01-27 17:20:19 +00:00
Pedro Algarvio
731faaf325 Redirect output on the previous fix. 2013-01-26 19:21:24 +00:00
Pedro Algarvio
a12af383c3 Reduce some unnecessary output in Arch post install functions. 2013-01-26 19:14:46 +00:00
Pedro Algarvio
fdfc7a514c Arch Linux now also supports installing a master/syndic. Refs #27. 2013-01-26 18:43:48 +00:00
Pedro Algarvio
888a7948d8 Use proper upstart control binary for Ubuntu. 2013-01-26 18:23:16 +00:00
Pedro Algarvio
a124e492e6 Merge pull request #31 from s0undt3ch/develop
Enable CentOS master/syndic installations. Refs #27
2013-01-26 10:12:17 -08:00
Pedro Algarvio
42e018e59b Echo what's being installed. 2013-01-26 18:05:54 +00:00
Pedro Algarvio
33753183b6 Use the proper upstart control binary in CentOS. 2013-01-26 18:00:10 +00:00
Pedro Algarvio
b6a9b0d896 Typo's. 2013-01-26 17:42:29 +00:00
Pedro Algarvio
d908673007 Properly handle upstart on CentOS installations. 2013-01-26 17:38:48 +00:00
Pedro Algarvio
521c1c9494 Enable CentOS master/syndic installations. Refs #27 2013-01-26 12:01:46 +00:00
Pedro Algarvio
84dcdbfc54 Include information on how to install a master on README.rst 2013-01-25 23:48:00 +00:00
Pedro Algarvio
8397a35b1f Make sure that only what's asked to be installed gets touched on the system, specially on git installs. 2013-01-25 23:41:57 +00:00
Pedro Algarvio
06228b5f7c The yum install packages should not be wrapped in quotes. 2013-01-25 22:27:35 +00:00
Pedro Algarvio
5a85ebb431 Fedora now also supports installing a master/syndic. Refs #27. 2013-01-25 22:19:40 +00:00
Pedro Algarvio
965a738f7a Merge branch 'develop' of github.com:saltstack/salt-bootstrap into develop 2013-01-25 21:26:50 +00:00
Pedro Algarvio
900a3f3cdf Minor cosmetic change to the Readme. 2013-01-25 21:26:19 +00:00
Pedro Algarvio
1737f31b00 Merge pull request #30 from s0undt3ch/develop
Several fixes to the runtests script and ubuntu git installs
2013-01-25 13:24:51 -08:00
Pedro Algarvio
a381b79b96 Typo correction. 2013-01-25 20:29:53 +00:00
Pedro Algarvio
813ef8800b Minor cosmetic change. 2013-01-25 20:26:58 +00:00
Pedro Algarvio
2a88743c86 The tests script needs to be run as root. 2013-01-25 20:26:16 +00:00
Pedro Algarvio
6e2ec45800 Fix unbound variable in the tests script. 2013-01-25 20:25:06 +00:00
Pedro Algarvio
3369cf8b3d Fix tests, the run tests script and ubuntu git installs.
* The run tests script now requires root permissions to execute.
* Ubuntu git installs were starting upstarts services without checking if they were already running.
* We now also check if upstart support exists and use upstarts files instead of the `init.d` files, ie, or upstart or `init.d`.
* On Debian and Ubuntu we gather the packages to install(master, minion, syndic) and install them in one command.
* We now detect if the script is running piped or not.
2013-01-25 20:18:08 +00:00
Pedro Algarvio
9cd312f7d6 Zero exit code when tests finish. 2013-01-25 17:59:35 +00:00
Pedro Algarvio
eed8d83b3e We no longer support any form of long options. Fixes #28.
Added missing opt strings, `-M|-N|-S`.
2013-01-25 17:57:12 +00:00
Joseph Hall
2fdbb1d12a Merge pull request #29 from s0undt3ch/issues/28
Let users know that long, double dashed, options are not supported. Fixes #28.
2013-01-25 09:27:13 -08:00
Pedro Algarvio
75c4b8aa0e Include a double dashed test case. 2013-01-25 17:20:31 +00:00
Pedro Algarvio
36cfdabe62 Let users know that long, double dashed, options are not supported. Fixes #28.
We still support long options, though they are only prefixed with a single dash.
2013-01-25 17:12:09 +00:00
Pedro Algarvio
7a2d4117c5 Added Ubuntu and Debian minion/master/syndic install support. Refs #27. 2013-01-25 02:19:58 +00:00
Pedro Algarvio
4657fe3b48 Added --syndic and --no-minion flags. Update config_salt(). Refs #27.
* Check if the user's passed flags are actually trying to install one of master/minion/syndic.
* The default configuration function handles minion and master/syndic separately.
2013-01-25 02:01:00 +00:00
Pedro Algarvio
feb2434469 Finish renaming all occurrences of config_minion. 2013-01-25 01:20:33 +00:00
Pedro Algarvio
322f781183 Import master installs support. Refs #26.
Rename the configuration functions from `config*minion` to `config*salt`.
Use a explicit flag to make the master setup.
2013-01-25 00:03:27 +00:00
Pedro Algarvio
899636d85a Merge pull request #26 from techhat/develop
Copy master configuration as well as minion
2013-01-24 13:00:08 -08:00
Joseph Hall
8cb2f2053b Copy master configuration as well as minion 2013-01-24 13:23:33 -07:00
Pedro Algarvio
af7006ea4e Allow -gt and -lt integer comparison against distribution versions. 2013-01-24 20:08:31 +00:00
Pedro Algarvio
087bc000fc Clean up Ubuntu installations. DRY. 2013-01-24 19:57:03 +00:00
Pedro Algarvio
b7612fd19f Handle add-apt-repository package name change for Ubuntu>=12.10. 2013-01-24 19:43:34 +00:00
Pedro Algarvio
b926462582 Add licensing information. 2013-01-24 17:46:40 +00:00