Pedro Algarvio
b581092ff3
Add a symlink using the old script name for backwards compatibility.
2013-02-07 01:41:17 +00:00
Pedro Algarvio
13dd4ecfa8
Renamed the script since now we don't just install a minion.
2013-02-07 01:39:41 +00:00
Pedro Algarvio
470b410ee1
Fix DISTRO_NAME_L
sed call which replaced white-space by underscores. Thanks @geoffgarside.
2013-02-07 00:40:02 +00:00
Pedro Algarvio
26cd745534
Add support for Amazon Linux AMI. Fixes #35 .
2013-01-31 18:52:58 +00:00
Pedro Algarvio
1f43e216d9
Support detecting Amazon Linux AMI's.
2013-01-30 13:06:11 +00:00
Pedro Algarvio
47f42d7d4d
Include information about curl
insecure connections.
2013-01-29 13:17:11 +00:00
Pedro Algarvio
df6e285604
Start and detach the dameons when starting them.
2013-01-28 13:21:07 +00:00
Pedro Algarvio
ac3d316b5a
Start and detach the proper daemon under SmartOS.
2013-01-28 13:16:28 +00:00
Pedro Algarvio
188a458cef
Add git install support to SmartOS.
2013-01-27 23:31:26 +00:00
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
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
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
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
a381b79b96
Typo correction.
2013-01-25 20:29:53 +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
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
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
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
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