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
Pedro Algarvio
f9f3d041ac
Improve CALLER
discovery. Improve trap signals info and also trap INT
.
2013-01-21 14:25:28 +00:00
Pedro Algarvio
6cd0b44ff2
local
is not POSIX compliant.
2013-01-21 13:41:56 +00:00
Pedro Algarvio
1efbff0712
Make sure we have a proper format to get our executable caller.
2013-01-21 13:05:53 +00:00
Pedro Algarvio
44afe10121
Drop curly brace expansion. It's not supported by plain sh
.
2013-01-21 11:42:47 +00:00
Pedro Algarvio
55dda9acd0
Include build status image in README.rst
2013-01-19 10:59:33 +00:00
Pedro Algarvio
d99c5a124a
Don't wait for user input on install_ubuntu_git_deps()
2013-01-19 10:53:07 +00:00
Pedro Algarvio
eb625048c7
Call salt-minion for versions report.
2013-01-19 10:37:29 +00:00
Pedro Algarvio
513f8f8e78
Moved most functions to before install.
2013-01-19 10:32:35 +00:00
Pedro Algarvio
a8fc1e02b0
Don't wait forever for failed commands.
2013-01-19 10:28:19 +00:00
Pedro Algarvio
ba91cbc269
Remove extra &&
2013-01-19 10:23:58 +00:00
Pedro Algarvio
28c3f5213c
Fix commands order.
2013-01-19 10:22:17 +00:00
Pedro Algarvio
77303f7123
Display salt's versions report once installed.
2013-01-19 10:18:39 +00:00