Pedro Algarvio
900a3f3cdf
Minor cosmetic change to the Readme.
2013-01-25 21:26:19 +00: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
Pedro Algarvio
3772e4f7ea
Fix output in bootstrap runtests script.
2013-01-24 17:40:11 +00:00
Pedro Algarvio
46b189827e
Switch blue output for brown.
2013-01-23 22:13:16 +00:00
Pedro Algarvio
421fe1b843
Use a specific script to run the bootstrap tests.
...
Additionally test git installs using a specific tag and sha commit.
2013-01-23 19:16:44 +00:00
Pedro Algarvio
68726344a9
install_arch_git_deps()
also needs salt's repository because of dependencies.
2013-01-23 14:33:06 +00:00
Pedro Algarvio
cc3a9b5f4f
Whitespace uniformity.
2013-01-22 23:18:50 +00:00
Pedro Algarvio
676c8e22e4
Salt's provided service files for systemd no longer fork. Refs #21 .
2013-01-22 23:12:48 +00:00
Pedro Algarvio
e899804d8c
Install salt git in Arch without installing a pre-compiled salt package first. Refs #21 .
2013-01-22 21:19:58 +00:00
Pedro Algarvio
c9fa4d46d2
Support Arch stable which is now using systemd. Refs #21 .
2013-01-22 20:59:45 +00:00
Pedro Algarvio
a64e12be0c
install_arch_git_deps()
must install git before cloning the repository.
2013-01-22 17:38:26 +00:00
Pedro Algarvio
4fb21c7697
Only add salt repository to pacman if not there yet.
2013-01-22 17:36:25 +00:00
Pedro Algarvio
be2449c60d
Also test piped installations.
2013-01-22 17:25:42 +00:00
Pedro Algarvio
7df138921e
Update README to comply with the new function order.
2013-01-22 17:09:50 +00:00
Pedro Algarvio
3b2e1630d6
Add another one liner, fetch
.
2013-01-22 17:06:50 +00:00
Pedro Algarvio
af8530dc0c
No need for the environment for the info required.
...
To get `-e`(environment) for the `ps` utility in FreeBSD you need `procfs`. We can still get the info we need without it.
2013-01-22 16:06:09 +00:00
Pedro Algarvio
e0c519a503
FreeBSD 8.2 ps
utility knows command
not cmd
.
2013-01-22 16:04:45 +00:00
Pedro Algarvio
a80a84069c
Re-enable checkbashisms in Travis-CI.
2013-01-22 13:54:08 +00:00
Pedro Algarvio
ce2ca78293
Finally a POSIX way to check if a function is defined!
2013-01-22 13:52:34 +00:00
Pedro Algarvio
93ccf442a3
Don't check bash'isms for now since we reverted our last change.
2013-01-21 23:23:53 +00:00
Pedro Algarvio
01d2adfead
Revert last bashism. Breaks one liner installs. Refs #25 .
2013-01-21 20:01:09 +00:00
Pedro Algarvio
8a58c1c236
Revert travis-ci env setting.
2013-01-21 18:17:08 +00:00
Pedro Algarvio
d1cf219968
Bump version.
2013-01-21 18:15:42 +00:00
Pedro Algarvio
8e3cb9a78f
Choose a Travis-CI env which has less builds on queue.
2013-01-21 18:08:30 +00:00
Pedro Algarvio
eb60270b13
Run /usr/bin/checkbashisms
against our script to see if we don't introduce anymore bash'isms.
2013-01-21 17:57:17 +00:00
Pedro Algarvio
b712b713e7
Removed final bash'ism from script. We are now fully POSIX compliant.
2013-01-21 17:55:36 +00:00
Pedro Algarvio
61cf5d4e81
One less bashism. -a
shall not be used in if else
clauses.
2013-01-21 17:14:41 +00:00
Pedro Algarvio
3ef9a96340
Show what we're doing in travis-ci.
2013-01-21 16:24:57 +00:00
Pedro Algarvio
8406af6da4
Trap all known signals.
2013-01-21 16:21:41 +00:00
Pedro Algarvio
ba06a7203e
One less bashism. No kill -SIGNAL
. Instead kill -s SIGNAL
.
2013-01-21 16:20:19 +00:00
Pedro Algarvio
879bc6ce83
Remove debug exit
2013-01-21 14:36:16 +00:00