Commit graph

2497 commits

Author SHA1 Message Date
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
Pedro Algarvio
ba97481499 Actually, don't upgrade... 2013-01-19 10:13:24 +00:00
Pedro Algarvio
7e3489cf32 Update and less script calls. 2013-01-19 10:10:01 +00:00
Pedro Algarvio
915387d15d Merge pull request #24 from s0undt3ch/features/travis-ci
Travis is only triggering on the develop branch.
2013-01-19 02:00:39 -08:00
Pedro Algarvio
7b995223a0 Properly call scripts. 2013-01-19 09:57:20 +00:00
Pedro Algarvio
12276e68c3 All of them once more. 2013-01-19 09:56:28 +00:00
Pedro Algarvio
7e1c518ab6 There can be only one script setting? 2013-01-19 09:50:16 +00:00
Pedro Algarvio
fd40fd4533 Merge pull request #23 from s0undt3ch/features/travis-ci
Let's add travis-ci support for minimal checks.
2013-01-19 01:46:01 -08:00
Pedro Algarvio
e18fb5bcac Let's add travis-ci support for minimal checks. 2013-01-19 09:39:17 +00:00
Pedro Algarvio
d5dad91771 Show which sh is calling us. Thanks @techhat!
Example output:
```
$ sudo /bin/bash /salt/source/bootstrap-salt-minion.sh
 * INFO: /bin/bash /salt/source/bootstrap-salt-minion.sh -- Version 1.2
$ sudo bash /salt/source/bootstrap-salt-minion.sh
 * INFO: bash /salt/source/bootstrap-salt-minion.sh -- Version 1.2
$ sudo /salt/source/bootstrap-salt-minion.sh
 * INFO: /bin/sh /salt/source/bootstrap-salt-minion.sh -- Version 1.2
```
2013-01-19 01:38:44 +00:00
Pedro Algarvio
cf118fa7f8 There's no longer the need to have a specific Ubuntu check for __function_defined().
This allows the script to behave the same if called using plain sh or bash.
2013-01-19 01:08:29 +00:00
Pedro Algarvio
b324df0b4b Fix running configuration prior to installing.
This was specially problematic on git installs when no configuration directory argument was passed. We needed to trigger our default configuration function which required salt to be already checked out.

From now on, when a install_*_git_deps function is added, salt's git repository should be checked out at that stage.
2013-01-18 02:42:49 +00:00
Pedro Algarvio
0006403ed1 Merge pull request #14 from dlindquist/develop
Run configuration functions before installing.
2013-01-17 18:22:53 -08:00
Pedro Algarvio
f342e6cabd Include script name and version in the logging output. 2013-01-18 01:29:11 +00:00
Pedro Algarvio
e7c6f63af1 We only support daily packages for Ubuntu. 2013-01-18 01:19:18 +00:00
Pedro Algarvio
f81da2ecbd Switch to plain sh. Fixes #20. 2013-01-18 00:24:01 +00:00
Pedro Algarvio
65487fce4c Merge branch 'develop' of github.com:saltstack/salt-bootstrap into develop 2013-01-15 00:12:44 +00:00
David Lindquist
b48288dcab Fix config, review comment 2013-01-10 14:29:17 -08:00
Pedro Algarvio
d97de88050 Merge pull request #16 from gotcha/develop
default bootstrap works on Centos 6.2
2013-01-10 14:17:36 -08:00
David Lindquist
701853d1bd Trigger config_minion for debian 2013-01-10 13:19:57 -08:00
David Lindquist
df3331ebf2 Change comment ordering 2013-01-10 13:13:55 -08:00
Godefroid Chapelle
8d7e78967c default bootstrap works on Centos 6.2 2013-01-10 16:05:05 +01:00
David Lindquist
085b97b03f Place minion keys and config before install
https://github.com/saltstack/salt-bootstrap/issues/14
2013-01-08 18:51:54 -08:00
Alec Koumjian
66f037ddc2 Merge pull request #13 from dlindquist/develop
Place minion keys in minion sub-directory if it exists
2013-01-07 21:36:31 -08:00