Commit Graph

310 Commits

Author SHA1 Message Date
Thomas S Hatch
6085b921bf Merge pull request #10785 from terminalmage/rhel6-upstart
Add RHEL6-specific upstart config files
2014-02-26 12:54:11 -07:00
Erik Johnson
08d90a7beb Add RHEL6-specific upstart config files
RHEL6 doesn't use the net-device-up and local-filesystems targets,
meaning that if someone decides to use this upstart config then the
master/minion/syndic does not start on boot.

We don't deploy upstart configs in our RPMs, but this provides a working
upstart config file for those that wish to use it.
2014-02-26 11:26:06 -06:00
Nahum Shalman
e62862f992 update documentation about SmartOS esky packaging 2014-02-25 19:27:39 -05:00
David Boucha
34a12d0929 bump windows installer version number 2014-02-25 09:58:34 -07:00
Niels Abspoel
f252aa2f29 Updated suse rpm specfiles for 2014-1 release
removed symlinks to systemd service files now pypi tarball
includes pkg folder. Updated spec file to match these sources.
2014-02-21 22:22:20 +01:00
Thomas S Hatch
655da0bd5c Merge pull request #10638 from terminalmage/rpm
Update spec file for 2014.1.0
2014-02-20 20:38:16 -07:00
Erik Johnson
3007e6882c Update spec file for 2014.1.0 2014-02-20 21:06:10 -06:00
Mike Place
a485eceac9 Fix all broken links in docs. Ignore certain known-good links. Adjust many links that are returning 301.
Conflicts:
	doc/topics/installation/index.rst
2014-02-20 16:16:59 -07:00
Tom Atkinson
4c87afbdc8 Fix service restart over salt 2014-02-18 20:37:53 +01:00
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