Pedro Algarvio
2e2f68b91d
Update README.rst formatting
2012-11-29 05:35:49 +00:00
Pedro Algarvio
40f2fa3c6e
Update README.rst formatting
2012-11-29 05:30:48 +00:00
Pedro Algarvio
ca005f87fe
Update README.rst formatting
2012-11-29 05:27:54 +00:00
Pedro Algarvio
711768ddec
Using code blocks.
2012-11-29 05:23:55 +00:00
Pedro Algarvio
b310bf31d4
New formatting.
2012-11-29 05:18:43 +00:00
Pedro Algarvio
057a6a3055
Mode dedent.
2012-11-29 05:15:50 +00:00
Pedro Algarvio
c217fa6192
Dedent.
2012-11-29 05:14:30 +00:00
Pedro Algarvio
e4ca279315
Include link and test new formatting.
2012-11-29 05:12:18 +00:00
Pedro Algarvio
7b2f0b50d6
Add README.rst
2012-11-29 05:04:36 +00:00
Pedro Algarvio
3ca055cc11
Bump script version.
2012-11-29 04:54:18 +00:00
Pedro Algarvio
0cdbc1f223
Fix __check_unparsed_options()
grep
regular expression.
2012-11-29 03:40:18 +00:00
Alec Koumjian
8e94671aaf
Merge pull request #1 from s0undt3ch/features/curl-wget
...
Support using curl/wget to download and install directly
2012-11-28 17:48:51 -08:00
Pedro Algarvio
a87610e042
Hard code script name, even on script's usage.
2012-11-29 01:44:45 +00:00
Pedro Algarvio
aff51a1cc8
Check for options mixed with positional arguments and throw error.
2012-11-29 01:27:43 +00:00
Pedro Algarvio
764d0581c4
Hardcode logfile and logpipe's name so it works using curl/wget.
2012-11-29 00:44:20 +00:00
Alec Koumjian
822a573d98
Using bootstrap script config dir option, removing shared folders from salty-vagrant.
2012-11-28 12:26:44 -08:00
Pedro Algarvio
3305299cdb
Fix another unbound variable.
2012-11-28 18:47:20 +00:00
Pedro Algarvio
eef69ec33a
Merge branch 'develop' of github.com:saltstack/salty-vagrant into features/salt-cloud
2012-11-28 18:46:27 +00:00
Pedro Algarvio
5461583f80
Fix unbound variable
error.
2012-11-28 18:13:19 +00:00
Alec Koumjian
b76cc4a4fc
Merge pull request #41 from s0undt3ch/support/freebsd
...
Fix and add support for FreeBSD 9.0
2012-11-28 09:50:30 -08:00
Pedro Algarvio
d4cb13c1a6
Include config function comment.
2012-11-28 04:35:22 +00:00
Pedro Algarvio
d6e0b3a7b0
Add salt-cloud support.
...
* Added the `-c|config-dir` option which should point to a temporary directory which should contain the minion's config and keys. If these are found, they're moved to the proper place.
* Added the default `minion_config` function which should work for most cases. Those that have special needs can provide their own config function which is searched in the following order:
1. config_<distro>_<distro_version>_<install_type>_minion
2. config_<distro>_<distro_version>_minion
3. config_<distro>_<install_type>_minion
4. config_<distro>_minion
5. config_minion
2012-11-28 04:29:33 +00:00
Pedro Algarvio
df280397ab
Fix copy/paste typo.
2012-11-28 04:25:40 +00:00
Pedro Algarvio
8cd077170a
Finished adding FreeBSD 9.0 support.
...
I was just unable to actually install salt because http://pkgbeta.freebsd.org/ is failing, but I guess this is temporary.
2012-11-28 03:39:10 +00:00
Pedro Algarvio
58a539f894
FreeBSD(at least 9.0) is correctly detected now.
2012-11-28 01:56:13 +00:00
Pedro Algarvio
81bfea19ec
Remove -RELEASE
from BSD distro version.
2012-11-28 01:53:15 +00:00
Pedro Algarvio
ef45b170b3
Adding some spaces and the syntax error is gone!
2012-11-28 01:52:23 +00:00
Pedro Algarvio
16c62f4d58
Fix sed
replace whitespace with underscore.
2012-11-28 01:45:46 +00:00
Pedro Algarvio
316059f478
FreeBSD does not have /proc/cpuinfo
use sysctl
in FreeBSD.
2012-11-28 01:21:44 +00:00
Pedro Algarvio
f5407f7dad
String comparison, trap fixes and some comments.
...
* String comparison uses a single `=` not two.
* FreeBSD's `sh` does not know the `ERR` signal we're trapping, trap `INT`, `QUIT`, `KILL` instead.
2012-11-28 01:17:47 +00:00
Pedro Algarvio
464d92141d
Fix logging named pipe creation on FreeBSD.
...
* Moved the exit trap function higher in order to catch the errors from creating the pipe and clean up.
* Only kill tee's pid if it's actually running.
2012-11-28 01:02:25 +00:00
Pedro Algarvio
3f30a6a379
Correctly detect RedHat distros. Make sure we have syntax correct distro name to search for in functions.
2012-11-27 19:08:20 +00:00
Pedro Algarvio
5acf8fa180
Only copy init' or
upstart` files if they exist.
2012-11-26 02:01:14 +00:00
Pedro Algarvio
eaceada783
Merge branch 'develop' of github.com:saltstack/salty-vagrant into develop
2012-11-26 01:51:18 +00:00
Pedro Algarvio
552f8c69fc
Ubuntu's upstart file changed path.
2012-11-26 01:50:54 +00:00
Alec Koumjian
cae8a3f748
adding debian_stable for wheezy
2012-11-11 10:12:12 -08:00
Alec Koumjian
d4945b3c2f
fixing config file prompt
2012-10-31 19:10:54 -07:00
Pedro Algarvio
9dd462d00d
Fix git install for Ubuntu 10.04.4
2012-10-31 17:06:02 +00:00
Pedro Algarvio
1076cfaf8b
On ubuntu install git-core.
2012-10-27 07:37:16 +01:00
Pedro Algarvio
d4b2170f52
Fix regular Fedora install and also add git install for it.
...
* We now have a common function which clones salt's source and check's out the specified revision.
* We now also exit if one of the functions fails, previously we would just keep going.
2012-10-27 07:31:14 +01:00
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