Commit Graph

351 Commits

Author SHA1 Message Date
David Boucha
b44e681c5c release 0.17.5 Windows installers 2014-02-14 01:45:48 -07:00
Erik Johnson
708a95ddf4 Update RPM spec for 0.17.5 2014-01-27 15:54:26 -06:00
Alexey Ivanov
d23ff3821e
codespell: grammar nazi
Run codespell[1] against sources.

[1] https://github.com/lucasdemarchi/codespell
2014-01-26 18:41:28 -08:00
Niels Abspoel
ba4d1d54b0 updated suse rpm to 0.17.5 2014-01-25 22:18:01 +01:00
Nahum Shalman
3c179c2a41 SmartOS esky packaging: minor fixup
Don't assume that the top directory is named "salt"
The user might choose to name it "salt-<version>"
or "saltstack" or whatever else.

install.sh is already that flexible; this fixes _syspaths.py
2014-01-24 09:47:37 -05:00
Nahum Shalman
9f2a19ef05 SmartOS Esky Packaging: Fix PATH for services
We ran into some weird issues with these SMF manifests
with certain critical binaries not being found in the PATH.

This PATH is derived from root's default PATH when logging
in to a SmartOS zone.
2014-01-23 15:31:44 -05:00
Nathan Rini
73a839d637 Fix bug to allow for multiple PIDs to be returned
Bug:
```
[root@pronghorn04 ~]# service salt-minion restart
Stopping salt-minion daemon:                               [  OK  ]
Starting salt-minion daemon: /etc/init.d/salt-minion: line 67: [: 22610:
unary operator expected
                                                           [  OK  ]
```

Traced bug:
```
++ pidof -c -o 21702 -o 21341 -o %PPID -x salt-minion
+ '[' 22610 7606 ']'
/etc/init.d/salt-minion: line 67: [: 22610: unary operator expected
```
2014-01-15 15:50:41 -07:00
Michael Birtwell
9100506a64 Fix pkg/rpm/build.py when it's a release candidate
Uses version.py to generate the complete version string
2014-01-09 15:45:40 -07:00
Michael Birtwell
ead7af6fa0 Correctly filter the rpm SOURCES 2014-01-09 15:45:33 -07:00
Thomas S Hatch
ad526c972f Merge pull request #9588 from dmyerscough/fix-init-script
Fix init script
2014-01-06 10:47:56 -08:00
Damian Myerscough
65cde36f94 Fix #9511 multiple PID's cause unary operator expected 2014-01-06 19:46:33 +01:00
Damian Myerscough
c6ed4980dc Fix #9511 multiple PID's cause unary operator expected 2014-01-06 19:41:34 +01:00
Nahum Shalman
e94f42449a SmartOS esky build tooling
This includes:
Notes on how I created a build environment
The _syspaths.py that allows the esky build to be installed anywhere
"Template" SMF manifests and an install script to import them
A script for building both the esky zip and a deployable tarball
2014-01-05 11:20:24 -05:00
David Boucha
21c3ff1c70 bump Salt windows installer version 2013-12-26 10:40:19 -07:00
Niels Abspoel
7c817b4035 updated suse spec to 0.17.4 2013-12-25 08:42:09 +01:00
Erik Johnson
9718b9d024 Update RPM spec for 0.17.4 2013-12-19 11:33:02 -06:00
Matthew Williams
f89a3a466c syndic upstart: invoke via su so /etc/environment is read 2013-12-04 19:17:01 -08:00
Matthew Williams
2f1d42638f upstart scripts: invoke via su so /etc/environment is read 2013-12-04 19:09:59 -08:00
Mathieu Le Marec - Pasquet
5f46962e80 pep8 fixes 2013-12-04 00:25:50 +00:00
Thomas S Hatch
ae06ed74b3 Minor clean up on convenience rpm building function 2013-12-02 11:10:03 -07:00
Thomas S Hatch
e70b605471 Merge branch 'rpm_build_helper' of git://github.com/mbirtwell/salt into mbirtwell-rpm_build_helper
Conflicts:
	pkg/rpm/salt.spec
2013-12-02 11:07:59 -07:00
Erik Johnson
1ce0b5b5fa Remove unnecessary build requirement 2013-11-18 21:20:29 -06:00
Erik Johnson
d5604b3629 Update spec file for 0.17.2 2013-11-18 20:53:29 -06:00
Michael Birtwell
9879de8da7 Make buildid a argument 2013-11-13 14:58:30 +00:00
Michael Birtwell
b4e5114689 Add some stuff to make building rpms easier
Conflicts:
	pkg/rpm/salt.spec
2013-11-13 14:58:00 +00:00
Seth House
4f00fa256b Fixed occurances of "Salt Stack" to SaltStack 2013-11-07 10:46:41 -07:00
Niels Abspoel
a4e2da99a8 updated suse spec file for salt-api 0.8.3 2013-11-04 23:00:20 +01:00
Niels Abspoel
47b6a803e2 updated salt spec file for 0.17.1
disabled unit testing until next version broken with salt-testing 0.5.2
2013-11-04 22:55:08 +01:00
C. R. Oldham
8e53d5ff80 Back out earlier fix. 2013-10-31 17:04:58 -06:00
C. R. Oldham
5c58d4f245 Fix #4410, make sure that "ssh root@host -C service salt-minio restart" will return. 2013-10-25 17:20:10 -06:00
Wari Wahab
d2094f8b60 Fixed all typos I can find 2013-10-25 16:26:57 +08:00
David Boucha
ba0abb6810 Merge pull request #8073 from equinoxefr/update_nsis_installer
Removing nsProcess plugin.
2013-10-24 09:58:55 -07:00
EquinoxeFR
34c6f6c831 Removing nsProcess plugin. Using ExecWait and a sleep 3s to stop salt-minion. 2013-10-24 15:19:21 +02:00
Niels Abspoel
c349f1cbb2 updated suse spec to salt 0.17.1 2013-10-23 07:50:21 +02:00
Erik Johnson
1a884c59f1 Update RPM spec for 0.17.1 2013-10-22 15:28:49 -05:00
EquinoxeFR
f6ca119edc Adding close process and service stop to windows installer 2013-10-22 12:12:02 +02:00
David Anderson
6ef835899a Upstart scripts can source a virtualenv 2013-10-18 11:56:32 -06:00
David Boucha
746369d7b6 Bump Salt Windows installer version. Add to docs 2013-10-18 01:24:37 -06:00
David Boucha
45724660fb Bump windows installer version number 2013-10-08 11:31:19 -06:00
Erik Johnson
e75fc016fd pip not needed for EPEL5 package 2013-09-30 21:56:49 -05:00
Erik Johnson
d310dcbb80 Update initscripts, spec file for 0.17.0
This also fixes an issue with sourcing of /etc/rc.d/init.d/functions in
RHEL/CentOS/Fedora/etc., allowing the use of /etc/default/salt to
override environment variables.
2013-09-30 21:09:25 -05:00
Niels Abspoel
5ae7fb1b53 updated suse pkg, inline with package guidelines 2013-09-28 23:16:06 +02:00
Niels Abspoel
4677b0a2c0 updated suse spec to salt 0.17.0
created salt-ssh as a separate package
improved dependencies per package
salt-master depends pyzmq and recommends halite
salt-minion depends pyzmq
salt dependency pyzmq removed.
2013-09-27 21:58:18 +02:00
Erik Johnson
186c929c51 Fix sanity checks and defaults file sourcing 2013-09-13 12:48:50 -05:00
Erik Johnson
8376fd5284 Updated with 0.16.4-1 info 2013-09-13 12:47:20 -05:00
David Anderson
cabb8230f3 Fix https://github.com/saltstack/salt/issues/6785 2013-09-11 14:14:14 -06:00
Niels Abspoel
cc0fd3982a updated to 0.16.4
The spec file is future ready for salt 0.17, this is commented
I have tested it on sles 11 sp3 and opensuse 12.3 vm.
2013-09-08 00:59:34 +02:00
Niels Abspoel
1c9742d228 updated suse spec file
Fixed non-executable-scripts warning from python checks
2013-09-04 20:07:33 +02:00
Henrik Holmboe
0252dcd535 Configuration file for SuSEfirewall2 used in openSUSE
This should probably be looked over by the Suse RPM package maintainer.
Untested on SLES.
2013-09-04 14:34:48 +02:00
Seth House
3113ad190e Merge pull request #114 from sfdc-kho/develop
Fix start/stop in init script
2013-08-30 23:03:40 -07:00
Kim Ho
1de8f9686e Fix start/stop in init script 2013-08-30 11:03:16 -07:00
Florian La Roche
d9e11967a0 fixed preun/postun scripts for salt-minion for the Red Hat .spec file 2013-08-26 21:12:08 +02:00
Andrew Niemantsverdriet
c53e3717b0 Updating to version 0.16.3 2013-08-15 14:08:38 -06:00
David Boucha
21b6f8790f Bump minion version number. 2013-08-11 18:01:21 -06:00
Pedro Algarvio
92abe874cc Merge pull request #6611 from herlo/develop
update rpm spec to 0.16.2
2013-08-10 11:19:17 -07:00
Clint Savage
3deff7ac21 update rpm spec to 0.16.2 2013-08-10 12:12:48 -06:00
Niels Abspoel
8da9e9a116 updated suse spec file
Made a symlink to salt-api init file used for rpm
updated symlink to salt-api.service

Improved salt-api rpm to be in line with lsb for suse inclusion.
2013-08-09 22:56:36 +02:00
Niels Abspoel
2efed79b21 Updated suse spec file to 0.16.3
Updated suse spec file to 0.16.3 bugfix release.
removed creation of /var/cache/salt/minion/proc dir.
not needed anymore
2013-08-09 20:21:49 +02:00
David Boucha
57ef0dc0f7 bump Salt windows installer version to 0.16.2 2013-08-02 11:09:34 -06:00
Niels Abspoel
6c1abf5ab6 updated suse packages to 0.16.2 2013-08-02 08:18:25 +02:00
Pedro Algarvio
9be409e95b Merge pull request #6425 from UtahDave/lockdown_windows
Set permissions on Salt dir
2013-07-29 18:41:25 -07:00
David Boucha
5a48188f54 Set permissions on Salt dir
Only allow Administrator's group and System user access to
c:\salt
2013-07-29 19:07:52 -06:00
David Boucha
2b193b0a1d bump windows installer version 2013-07-29 18:59:48 -06:00
Niels Abspoel
2c7b6f82e5 updated salt package to 0.16.1 2013-07-29 20:35:09 +02:00
Thomas L. Kula
54a0746b4e Backoff when minion fails to connect
NOTE: This is a potential change --- I haven't actually gotten a
test environment to try this out.

This adds a configuration option to the minion,
`acceptance_wait_time_max', that if set changes the acceptance
wait loop to add `acceptance_wait_time' seconds to the wait between
each iteration, up to this maximum value.

POTENTIAL FIX: Issue #5813
2013-07-27 16:51:38 -04:00
Niels Abspoel
b4e1661c91 updated changes file to reflect 0.16.0 init fix 2013-07-18 07:37:00 +02:00
Niels Abspoel
0c610526bc Updated suse specs for 0.8.2 2013-07-18 07:29:33 +02:00
Clint Savage
a1729fb373 updating spec file to feature release 0.16.0 2013-07-11 17:13:00 -06:00
Niels Abspoel
4fa78a44f6 fix salt-syndic Fixes #5954. 2013-07-05 23:34:28 +02:00
Erik Johnson
6d70b85111 Fix bug in suse initscripts
'rc status' is not valid for suse initscripts, 'rc_status' must be used
instead. Fixes #5954.
2013-07-05 11:04:13 -05:00
Niels Abspoel
209f85c2ac updated suse package for release 0.16.0 2013-07-02 22:36:13 +02:00
pengyao
4fedff1b69 Add "-d" options to start salt-api
In RHEL/CentOS, daemon should start in daemon mode, The salt-api will
start in frontgroud without "-d" options.
2013-06-28 21:08:55 +08:00
Joseph Hall
d40c7ae7af Merge pull request #5685 from aboe76/develop
updated salt.spec file for suse update 0.15.90
2013-06-22 05:59:23 -07:00
David Boucha
c9b5223999 Bump Windows installer version number 2013-06-22 01:22:49 -06:00
Niels Abspoel
f72aa06d54 updated salt.spec file for suse update 0.15.90
Improved salt init files to match fedora package
These could be merged into one.
replaced service files for symlinks to match fedora package
added README.suse to reflect package names for addition python modules
2013-06-22 08:03:28 +02:00
Erik Johnson
524cc8bbb7 Add dependency on yum-utils
This adds the depedency on yum-utils to to the RPM spec, as necessitated
by the change made to yumpkg5.py in 8f77216.
2013-06-06 14:44:46 -05:00
Niels Abspoel
970c41ea8a Fixed bash-completion error
typo
2013-06-02 08:29:13 +02:00
Clint Savage
86a647a80f Merge branch 'develop' of git://github.com/saltstack/salt into develop 2013-06-01 22:35:24 -06:00
Clint Savage
972c8772fd update rpm spec to patch release 0.15.3 2013-06-01 22:35:13 -06:00
Niels Abspoel
2c1982aa17 updated suse salt.spec to 0.15.3 2013-06-02 00:14:33 +02:00
Thomas S Hatch
cd0f69ebbd Merge pull request #5361 from yinchuan/patch-2
add resource limits in salt-master.upstart to correct issuse #5323
2013-06-01 11:58:44 -07:00
Clint Savage
5b7c166d51 version needs to be 0.15.2 for salt.spec 2013-06-01 02:26:03 -06:00
yinchuan
11373966e4 add resource limits in salt-master.upstart to correct issuse #5323
<https://github.com/saltstack/salt/issues/5323>
2013-06-01 15:50:05 +09:00
David Boucha
4dd19fdb18 bump windows installer version number.
0.15.3
2013-05-31 18:29:01 -06:00
Clint Savage
d408ee67eb fixup dumb merge issues 2013-05-31 17:27:18 -06:00
Clint Savage
f5ac79fb37 upstream patch release 0.15.2 and patch to make tests run properly 2013-05-31 17:25:21 -06:00
mguegan
8ba8138bc4 pkg/smartos : fix the manifest of salt-master to start@boot 2013-05-30 20:33:16 +02:00
Niels Abspoel
f046e2e901 suse package updated to 0.15.2
added salt user for salt-master daemon process
2013-05-29 18:25:22 +02:00
Niels Abspoel
11df856bba Updated salt-git package with new features
feautures:
- during installation a salt system user is created
- Creation of '/etc/salt/master.d/' for enhanced configuration
- salt-master run under own user 'salt'
- salt-user.conf created to set salt-master up for using salt system
  user
- added logrotate config files in appropriate place
- added bash-completion config files in appropriate place.
- Check if salt-master/salt-minion is running when upgrading
  and reexec / reload daemons accordingly
- Updated removal of salt package to remove 'cache' and 'log' dirs.
  and removal of salt system user.
- Made installation more verbose to communicate what happens.
2013-05-25 22:27:21 +02:00
mguegan
89de6a1606 smartos : change default config directory for Salt services 2013-05-20 13:00:38 +02:00
Chris Rebert
e89cbf4447 capitalize Linux in comments/docs 2013-05-15 19:21:50 -07:00
mguegan
737b4e0fb2 pkg/smartos : add compatible manifests for the SmartOS platform
Manifests in pkg/solaris are using /etc/salt which is innapropriate
for SmartOS design (/etc is removed @reboot). I suggest to add a
new directory in order to preserve existing Solaris installations
(and SmartOS one which are based on those manifests).
2013-05-13 22:17:35 +02:00
Niels Abspoel
a76ed22ed1 Packaging: updated suse spec file for inclusion in opensuse:Factory.
The suse package files are ready for opensuse release:
improved systemd unit support
removed some rpmlint bugs.
2013-05-12 23:56:59 +02:00
Niels Abspoel
cc99c98343 updated suse spec file for inclusion in openSUSE:Factory.
the package is now ready for opensuse release.
added logrotate and better systemd unit support.
removed some rpmlint bugs.
2013-05-12 23:52:56 +02:00
mguegan
adc740f710 pkg/solaris : fix typo on salt-master's manifest
A typo on salt-master's manifest prevents its start without salt-minion
on SunOS/Solaris/SmartOS platform. Tested on SmartOS
joyent_20130405T010449Z.
2013-05-11 15:24:32 +02:00
Clint Savage
1013ea8e26 update rpm spec to patch release 0.15.1 2013-05-09 14:01:10 -06:00
Niels Abspoel
fdc6146faa updated salt.changes file 2013-05-08 23:50:06 +02:00
Niels Abspoel
48c1dfccec updated suse package for 0.15.1 release 2013-05-08 23:48:29 +02:00
Niels Abspoel
d6d60455cf added files for suse packaging 2013-05-07 20:40:18 +02:00
Clint Savage
076a3a60be update spec to 0.15.0 2013-05-07 11:29:50 -06:00
Andrew Niemantsvedriet
b60382600a Start in daemon mode by default 2013-05-07 09:53:18 -06:00
David Boucha
ca707eccff Turn off multiprocessing on Windows for now 2013-05-05 01:11:05 -06:00
David Boucha
1c7442ec19 Set windows installer to 0.15.0 2013-05-04 22:39:29 -06:00
Clint Savage
8aff76178f add 0.14.1 rpm spec 2013-05-04 14:11:37 -06:00
Niels Abspoel
8d4128d50e updated init files to have a /etc/default/salt to
overwrite variables in init files.
updated spec file for 0.15.0 release
2013-05-04 13:17:36 +02:00
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