Commit Graph

296 Commits

Author SHA1 Message Date
deniskin82
39221190fe Fix in init script for RHEL/CentOS. Don't start the salt-minion if it's already running and there is no PID file 2013-05-03 16:18:42 -04:00
Niels Abspoel
10adfa9018 updated suse packaging:
updated init files
added service files
added spec file
2013-04-30 17:15:28 +02:00
David Boucha
c0aef8bccd Bump windows installer version 2013-04-26 10:03:28 -06:00
Niels Abspoel
ff5e539197 add archlinux PKGBUILDS
- PKGBUILD -> 0.8.0
- PKGBUILD-giti:
  -branch develop
  - vcs version function from pacman 4.1
  - pkgver() function added
2013-04-17 19:45:38 +02:00
Niels Abspoel
b515900810 updated to make use of pacman 4.1 vcs additions
- pkgver() function -> this will make package version sane again
  no more date as package version
  pkg version will reflect salts internal version
- sample vcs supported branch/tags added
- removed old sources/md5sums not needed
2013-04-17 19:13:39 +02:00
Niels Abspoel
b5027b2a8f add -d to start salt in daemon mode
fixes stdout in cli environments
2013-04-13 22:08:02 +02:00
Thomas S Hatch
721afb2ab5 disabel minion respawning with upstart 2013-04-10 16:47:40 -06:00
Sean Channel
e074f61985 add upstart 2013-04-10 08:42:26 -07:00
Fabian Topfstedt
4ce3ba2df1 Define normal exit return value to be 0 2013-04-10 15:07:28 +02:00
David Lindquist
73dc0874c2 service.start salt-minion hangs from console on CentOS
Fixes #4410
2013-04-06 14:59:28 -07:00
Kristofer M White
23bdcdf02a Correcting exec for salt-minion on OpenBSD 2013-04-01 20:54:28 -05:00
Jason R. McNeil
c4a4860820 Darwin launchd scripts 2013-03-30 21:52:15 -07:00
Thomas S Hatch
9e89c1dd1e Merge pull request #4241 from cedwards/PKGBUILD
updated PKGBUILDs for 0.14.0 release
2013-03-24 19:37:22 -07:00
Thomas S Hatch
18ece634f4 Merge pull request #4238 from aboe76/develop
added pkg/suse specific init files
2013-03-24 19:36:07 -07:00
Christer Edwards
21f48be9d5 updated PKGBUILDs for 0.14.0 release 2013-03-24 20:21:12 -06:00
Joseph Hall
93f502850e Merge pull request #4239 from herlo/develop
update salt.spec to 0.14.0
2013-03-24 16:45:41 -07:00
Clint Savage
7264bbc29e update salt.spec to 0.14.0 2013-03-24 17:16:42 -06:00
Niels Abspoel
4128b61dc7 added pkg/suse specific init files 2013-03-24 23:42:08 +01:00
Thomas S Hatch
1efa639849 Merge pull request #4228 from kmwhite/feature-add_openbsd_startup_scripts
Adding startup scripts for salt-bootstrap to use on OpenBSD
2013-03-23 22:22:30 -07:00
Kristofer M White
a878f01221 Adding startup scripts for salt-bootstrap to use on OpenBSD 2013-03-23 23:43:28 -05:00
Clint Savage
a67bace68a update rpm spec to patch release 0.13.3 2013-03-22 16:38:45 -06:00
Thomas S Hatch
1572064fef Merge pull request #4172 from cedwards/PKGBUILD
updated PKGBUILDs to 0.13.3 release
2013-03-20 13:00:44 -07:00
Christer Edwards
6ef93b92a9 updated PKGBUILDs to 0.13.3 release 2013-03-20 10:58:44 -06:00
Clint Savage
14198a2371 update rpm spec to 0.13.2 2013-03-20 02:37:52 -06:00
David Boucha
e22f0a83fa Bump windows installer version 0.13.3 2013-03-19 19:51:16 -06:00
Sean Channel
b071254640 do not set paths here 2013-03-16 12:20:51 -07:00
Christer Edwards
35a1cf1f12 fixed sources=() reference to removed rc.d scripts 2013-03-15 11:20:47 -06:00
Christer Edwards
ce8b7b51b6 updated to match stable PKGBUILD
- removed rc.d scripts
 - minor cleanup
2013-03-15 11:19:06 -06:00
Christer Edwards
3bcbe9934f updated PKGBUILD to 0.13.2 with minor fixes
- removed rc.d scripts (master,minion,syndic)
 - s/python-m2crypto/python2-m2crypto/
2013-03-15 11:13:56 -06:00
David Boucha
b343d4fb13 bump Windows installer version 2013-03-13 10:26:18 -06:00
David Boucha
876af6ea3a Properly add the system arch to installer name
AMD64
or
X86
2013-03-10 00:26:13 -07:00
Sean Channel
fee8ddb55e drop exit code overrides 2013-03-06 11:13:08 -08:00
Sean Channel
6d10d09db6 stop redirecting to dev null for issue #3900 2013-03-06 10:46:32 -08:00
Steve Kellock
2d4211a32f Oopsie. Master upstart script should run master; not minion. 2013-03-02 16:02:16 -05:00
David Lindquist
5c044d61ec Make /usr/bin first in path to ensure that system python is used 2013-03-01 13:24:55 -08:00
peter
d2933bf762 Keep salt-minion around under upstart even if it dies (uses respawn).
Allow respawn to be effective after a SIGTERM
2013-02-22 14:16:05 -08:00
David Boucha
ea9d6902b4 bump version to 0.13.1 2013-02-17 18:07:04 -07:00
Seth House
9ec2a85277 Merge pull request #43 from kaptk2/develop
Added the service.d file
2013-02-13 10:20:38 -08:00
Clint Savage
fe22763da0 update the start / kill order with chkconfig 2013-02-13 11:17:33 -07:00
Andrew Niemantsverdriet
b3b5f100a3 Added the service.d file 2013-02-13 11:11:20 -07:00
Henrik Holmboe
61adf94187 Fix the LSB header
I got complaints from insserv that the LSB header was not compliant. It was
missing required keywords, which must be there even if they are empty.
2013-02-13 16:36:15 +01:00
Henrik Holmboe
4fa8e63033 Fix the LSB header
I got complaints from insserv that the LSB header was not compliant. It was
missing required keywords, which must be there even if they are empty.
2013-02-13 16:32:49 +01:00
Henrik Holmboe
97335f61f1 Add an init script
This is a straight adaption of the salt-master init script (plus my recent
patch to it in holmboe/salt@464ca9dd1f).
2013-02-13 15:43:10 +01:00
Henrik Holmboe
464ca9dd1f Allow alternative executables
With this commit it is possible to use virtualenv with the init scripts.

For example, I have this in my /etc/default/salt:

```
SALTMASTER=/srv/venvs/venv-1/bin/salt-master
SALTMINION=/srv/venvs/venv-1/bin/salt-minion
SALTSYNDIC=/srv/venvs/venv-1/bin/salt-syndic
SALTAPI=/srv/venvs/venv-1/bin/salt-api
PYTHON=/srv/venvs/venv-1/bin/python
```
2013-02-13 15:30:13 +01:00
Thomas S Hatch
09d48efc3f update rpm spec version 2013-02-12 11:14:03 -07:00
Thomas S Hatch
2880ee96ce update arch package 2013-02-12 11:14:03 -07:00
David Boucha
065cfc4bf4 Update Windows Salt Installer version to 0.13.0 2013-02-12 11:08:59 -07:00
David Boucha
cf7d6f55ec bump version to 0.12.1 2013-02-10 14:41:41 -07:00
Sean Channel
cd29307a9f do not force rm of conf files 2013-02-09 14:03:01 -08:00
Clint Savage
b76fa41378 Remove patches and update to upstream patch release 0.12.1 2013-02-07 16:36:10 -07:00
Pedro Algarvio
5e44395f5b require-all -> require_all fix. Changed to "Unstable" manifests.
See for more info http://www.cuddletech.com/blog/pivot/entry.php?id=182
2013-01-28 18:54:18 +00:00
Pedro Algarvio
731ef71a26 Directory rename and manifest changes to include documentation link plus some formatting. 2013-01-28 18:16:41 +00:00
Pedro Algarvio
e3e8727f98 Add SMF manifest files to be used in SmartOS(At least). 2013-01-27 23:54:49 +00:00
David Lindquist
7cec8e54b6 Fix import typo in rpm build patch 2013-01-25 15:08:31 -08:00
Wendall Cada
9ed9dd07b4 Added unittest support to rpm spec. 2013-01-17 20:08:33 -08:00
Clint Savage
97bb52bd5d fixup salt.spec for 0.12.0 2013-01-17 19:17:18 -07:00
Clint Savage
9bdc993f46 moving to new upstream version 0.12.0 2013-01-16 11:26:34 -07:00
Sean Channel
8148c92190 too many exit codes 2013-01-10 22:49:57 -08:00
David Boucha
be50743e2b Add service dependency 2013-01-04 11:29:58 -07:00
David Boucha
42972a8cb0 Add Windows Installer Package resources. 2013-01-04 08:57:30 -07:00
Sean Channel
324f15bb72 whack-a-mole 2013-01-03 16:03:38 -08:00
Clint Savage
45b2eb1cc8 updated to 0.11.1 for security vulnerability fix 2012-12-20 10:24:41 -07:00
rizumu
df94ce9137 Match Arch's PKGBUILD files with those in the AUR 2012-12-20 10:48:34 +01:00
Clint Savage
5b14ee387d updated rpm spec to upstream release 0.11.0 2012-12-14 10:17:34 -07:00
Clint Savage
a02ad59941 fixup rpm pkg to include my changes. updated change by mchestnut to 0.10.5-2 even though it won't be built 2012-12-14 09:24:29 -07:00
Sean Channel
91ee888042 exit codes workaround 2012-12-13 15:12:01 -08:00
Sean Channel
16532f3e3a undo previous change 2012-12-13 13:09:25 -08:00
Sean Channel
f26fa94769 bump kill timeout from default (5) to 10 2012-12-13 13:03:23 -08:00
Sean Channel
6e462d39e4 update options list per cmd 2012-12-06 16:42:09 -08:00
Sean Channel
01cccf4d54 fix out/color flags 2012-12-06 01:02:26 -08:00
David Boucha
d4ae5ae76a Merge pull request #2812 from Talksum/spec_no_templates
removing references to config templates in spec file
2012-12-05 14:53:34 -08:00
Sean Channel
7c87e594da remove deprecated output flags 2012-12-05 14:20:45 -08:00
Mike Chesnut
673b409e07 removing references to config tampltes in spec file 2012-12-05 12:14:06 -08:00
Niels Abspoel
3452e2f2e4 PKGBUILD-git updated:
reflect changes from commit 0d77329
- conf/master.template -> conf/master
- conf/minion.template -> conf/minion
- updated PKGBUILD to add systemd service files
2012-12-04 21:56:48 +01:00
Sean Channel
726f7d79b0 single-source shared postrm script 2012-12-04 01:21:38 -08:00
Sean Channel
fdbbb72131 install bash completion and UFW firewall config 2012-12-03 23:36:33 -08:00
Sean Channel
6f29387177 shebang bang baby 2012-12-03 01:38:43 -08:00
Sean Channel
26d1e67c84 ufw firewall rules 2012-11-29 16:37:36 -08:00
Sean Channel
764dcb1345 remove wildcard stanza 2012-11-29 16:31:53 -08:00
Sean Channel
a07d62ab33 improved consolidated logrotate support 2012-11-29 16:20:13 -08:00
Sean Channel
e925cee2ee add upstart files to pkg 2012-11-23 13:35:58 -08:00
Thomas S Hatch
09f2239167 Change the systemd scripts to use simple instead of forking 2012-11-20 12:14:21 -07:00
Clint Savage
78eb411a40 fixed some indentation that doesn't work in f18 2012-10-29 00:09:46 -06:00
Ivoz
f321100507 Add service files for ArchLinux.
Note Arch's primary init system is now systemd, although init.d is still
supported and used by some. The PKGBUILD[-git] will probably want to be
changed to incorporate this commit's effects.
2012-10-26 09:54:08 +11:00
Ivoz
63352e6fa4 Change systemd-started services to be daemonized 2012-10-26 09:51:41 +11:00
Ivoz
0a071e479c Move systemd service files to a separate directory
Since service files might be used by many distros (arch, rpm-based,
gentoo, mindriva, mageia) I think it would be useful to symlink to
standard ones (and copy and edit them if differences are needed).
2012-10-26 09:45:33 +11:00
Clint Savage
48fe835c16 Updating spec to 0.10.4, patching bug #2335 (RHBZ#869669) 2012-10-24 12:08:28 -06:00
Clint Savage
0086c9d48c moved salt.spec to 0.10.3 and added systemd scriptlets 2012-10-03 10:29:00 -06:00
David Pravec
b6d7107f01 added bash completion script
Some commands and options are still missing completion,
but most do work well, including modules, functions,
grains and grain item values, nodegroups, salt-key operations, ...

This file should be installed into
     /etc/bash_completion.d/salt

I am not sure where and how to do that,
so i leave this open for others to solve.
2012-08-10 01:59:01 +02:00
Clint Savage
2b010adb3d repackage with patch to fix #1730 2012-08-02 11:20:11 -06:00
Clint Savage
aca084a0ac moved RPM to 0.10.2 2012-08-02 09:45:24 -06:00
Clint Savage
53a03d8d59 updated spec to 0.10.1 2012-07-16 17:39:38 -06:00
Intchanter
66b2e4988c PEP8 for packaging 2012-06-30 14:35:31 -06:00
Mike Chesnut
ce3e1ca09c changing locations of python and salt binaries to be variables in init scripts; also changing how daemon functio nis called so it uses the full path 2012-05-10 13:41:50 -07:00
Jeff Schroeder
ba2ed5a71a Merge pull request #1233 from herlo/master
Updated salt.spec to latest release
2012-05-09 05:58:23 -07:00
Clint Savage
7955098f29 updated salt.spec to use 0.9.9.1 2012-05-08 14:01:11 -06:00
Thomas S Hatch
708de85aa5 Add freeze.py for bbfreeze packaging
This simple script allows a user to make a binary distributable salt
system. Execute it in a system with salt already installed and a
platform specific group of all of the deps needed by Salt is created.
2012-04-09 13:31:51 -06:00
Thomas S Hatch
b0d8635c9e Merge pull request #1041 from herlo/master
Updated spec to 0.9.8
2012-04-03 12:06:07 -07:00
Clint Savage
e1321c5093 rpm to 0.9.8 2012-04-03 13:03:23 -06:00
Thomas S Hatch
8c3ad656dc Add logrotate files to pkg dir 2012-03-30 21:54:47 -06:00
Clint Savage
e67ea3b98d Merge branch 'master' of git://github.com/saltstack/salt 2012-03-21 16:15:49 -06:00
Clint Savage
bb1029d989 updated with dmidecode 2012-03-21 16:13:42 -06:00
Thomas S Hatch
fce9bd3e13 clean up leftover line in salt spec 2012-02-20 08:40:52 -07:00
Clint Savage
064f98b5ef fixed the previous spec file which fails to build due to missing .template files 2012-01-24 15:36:11 -07:00
Clint Savage
4b8e92d788 updated to work with 0.9.6 2012-01-24 15:16:30 -07:00
Clint Savage
d45f1ad998 SysV and rpmlint clean up 2012-01-08 20:28:30 -07:00
Clint Savage
201c1d4558 Cleaning up perms, group and descriptions, adding %post and %postun for systemd 2012-01-07 22:56:48 -07:00
Clint Savage
02c2051493 Updating for systemd on Fedora 15+ 2012-01-06 00:26:37 -07:00
Thomas S Hatch
0af8e1c183 Add initial systemd files 2012-01-04 15:27:42 -07:00
Christer Edwards
aa957b993e updated salt-git PKGBUILD to use proper upstream URL 2011-12-20 19:34:07 -07:00
Thomas S Hatch
889f407f2f Merge pull request #317 from herlo/master
Updated the salt spec for rpms
2011-12-04 20:41:11 -08:00
Clint Savage
1ec4aa8c3a adding updated spec for rpm 2011-12-04 21:39:28 -07:00
Christer Edwards
ea3cce87dd fixed path to rc scripts in package() 2011-12-03 11:38:15 -07:00
Christer Edwards
0f6fd8d2f9 fixed paths in package() & include all md5sums 2011-12-03 11:17:45 -07:00
Thomas S Hatch
02fb2a5e17 update arch PKGBUILD 2011-11-27 16:29:41 -07:00
Clint Savage
aecf6c0b72 new and improved salt.spec which creates salt, salt-master and salt-minion rpms 2011-09-17 16:39:45 -06:00
Thomas S Hatch
0d365e0f43 Update the salt spec file 2011-08-31 18:11:19 -06:00
Thomas S Hatch
69719abd3e Add salt syndic initscript 2011-08-31 18:00:33 -06:00
Thomas S Hatch
fab80b5b67 update Arch PKGBUILDS 2011-08-27 11:51:21 -06:00
Thomas S Hatch
fae00c4ee5 Add salt-syndic rc script 2011-08-27 11:46:13 -06:00
Erik Nolte
ff85a57684 Add salt API for calling psutil functions 2011-08-22 18:23:41 -06:00
Joseph Hall
b249db443d Fixed path errors with $srcdir 2011-08-12 11:32:15 -06:00
Erik Nolte
1d71c9ce19 Move remaining salt-monitor code to the salt-monitor project 2011-08-10 13:54:38 -06:00
Erik Nolte
86213377df Move salt-monitor scripts and packaging to salt-monitor project 2011-08-10 11:20:33 -06:00
Erik Nolte
2b7f7a71a1 Remove leftover build files and build results before creating package 2011-08-08 10:47:48 -06:00
Erik Nolte
5dc9d80e71 Fix path: pkg/Arch -> pkg/arch 2011-07-28 17:48:12 -06:00
Erik Nolte
6633839da2 Change Arch -> arch to match other packaging directories 2011-07-28 12:24:12 -06:00
Erik Nolte
4a4b3eacd9 Add a convenience Makefile and pacman package builder for testing Arch packages before committing changes to git. 2011-07-28 11:53:48 -06:00
Erik Nolte
7d5f246dd5 Add salt-monitor to the scripts distributed. 2011-07-27 19:19:38 -06:00
Erik Nolte
2fc1664a21 Add /etc/rc.d and /etc/init.d scripts to start and stop the salt monitor. 2011-07-27 19:18:07 -06:00
Thomas S Hatch
0ba610a719 The spec file and init scripts build rpms that run ton f15 and SL6 2011-07-13 23:15:34 -06:00
Thomas S Hatch
c426d7538c prep spec file for salt rpms 2011-07-13 20:42:06 -06:00
Thomas S Hatch
40b9f8075f fix checksums in git PKGBUILD 2011-06-24 22:43:22 -06:00
Thomas S Hatch
a001c70e1c update the rpm spec file for 0.8.7 2011-05-13 23:00:58 -06:00
Thomas S Hatch
98868f5ea2 update the Arch PKGBUILD for 0.8.7 2011-05-13 22:59:22 -06:00
Thomas S Hatch
896b39997b remove facter from salt git PKGBUILD 2011-05-13 22:58:02 -06:00
Thomas S Hatch
11ea723233 update the salt ebuild 2011-05-13 22:56:09 -06:00
Thomas S Hatch
304fc3e72d change Arch rc scripts to match if not daemonized with -d 2011-04-05 11:33:02 -06:00
Thomas S Hatch
9147f3412e Add salt ebuild to package support, thanks Matthias! 2011-04-04 09:41:27 -06:00
Thomas S Hatch
5b334894c7 Add rpm stuff 2011-04-02 23:02:48 -06:00
Thomas S Hatch
733579709a remove dep on importlib, the minion is now tested to work on 2.6 2011-04-02 22:57:45 -06:00
Thomas S Hatch
812abd6350 Set the release files to 0.7.0 2011-04-02 12:25:32 -06:00
Thomas S Hatch
d29ea02898 bump PKGBUILD-git rel 2011-04-02 00:04:11 -06:00
Thomas S Hatch
1f96bdb48f Set md5sums for PKGBUILD-git 2011-04-01 23:53:05 -06:00
Thomas S Hatch
df3a703030 Move init scripts into package for Arch 2011-04-01 23:47:37 -06:00
Thomas S Hatch
edd2a0a7ad Moved packageing information into the pkg directory 2011-03-24 21:45:12 -06:00