Commit Graph

453 Commits

Author SHA1 Message Date
C. R. Oldham
88c2fd3872 Portfile and .plist files for MacPorts 2014-07-10 11:20:26 -06:00
Thomas S Hatch
779aa72367 Merge pull request #14070 from nshalman/requirements
SmartOS esky build: requirements files
2014-07-09 21:23:23 -06:00
C. R. Oldham
46fdc9b5dd Portfile and .plist files for MacPorts 2014-07-09 16:46:02 -06:00
Nahum Shalman
7fbe259eea SmartOS esky build: requirements files
Mimicking the breakout of requirements files in the main project,
this allows me to keep a file of extra requirements that get put in the
esky (e.g. halite) while only needing to point the build process at
either the zeromq or raet requirements file.
2014-07-09 17:49:46 -04:00
Thomas S Hatch
199b2bc2a9 Merge pull request #13895 from jeteokeeffe/patch-2
Adding logrotate script for salt in rpm
2014-07-02 10:16:47 -06:00
Jete
31c3267e59 Adding logrotate script for salt in rpm 2014-07-01 17:05:27 -04:00
Jete
323de1e833 Adding logrotate file
Adding logrotate file for salt logs
2014-07-01 17:02:20 -04:00
Jesse Collier
e04043aabd Adding expect fork to upstart script 2014-06-25 13:33:56 -07:00
bhepple
ed3166990c Update salt-minion
On our RHEL5 systems we're getting 2 and sometimes 3 or more salt-minions started. Somehow the check on /var/run/salt-minion.pid doesn't prevent this.

This patch stops the registered process and kills any further salt-minion processes, first trying -TERM and then -KILL signals.

It may be that other distros would like to use this same logic to tidy up, in which case the new code can be moved into place as appropriate.
2014-06-25 14:58:02 +10:00
Erik Johnson
aa9ae49129 Add additional information to the comments for the shar script 2014-06-23 16:00:19 -05:00
Matthieu Guegan
49419f94c3 Add a method context environment PATH
Some modules are referring to PATH env variable which do not contains /opt/local/.. paths by default. This fix provides correct PATH handling
2014-06-22 11:38:35 +02:00
Thomas S Hatch
a65bdce734 Merge pull request #13573 from nshalman/smartos-audit-context
SmartOS: run salt minion in an audit context
2014-06-19 14:48:38 -06:00
Nahum Shalman
3e5742bb73 SmartOS: run salt minion in an audit context
This fixes an issue @njones11 was having with
multiple cron.present states.

"crontab -l <username>" would fail, so the temp file
would be empty, a given cronjob would go in
and then the "su - <username> crontab <temp file>" would
succeed.

This evaded debugging attempts because if you invoked the salt
minion manually from a login shell, an audit context would
already exist and the "crontab -l <username>" would succeed.

The hint was a message in the debug log of:
[ERROR   ] Command 'crontab -l legion' failed with return code: 1
[ERROR   ] stderr: crontab: The audit context for your shell has not
been set.

We explicitly set up an audit context when launching the salt minion
which allows "crontab -l <username>" to succeed.

This may fix other issues and something similar
should perhaps be applied to pkg/smartos/salt-minion.xml

"5417" was chosen arbitrarily
2014-06-19 16:11:49 -04:00
Erik Johnson
54e47ca522 Use bash for build_shar.sh
Bourne shell doesn't support arrays
2014-06-19 15:04:10 -05:00
Seth House
53bab586f4 Merged salt-api into Salt
Woot!

The conflicts below are intentional because they contained salt-api-isms
that needed to be included into the corresponding Salt files.

Conflicts:
	debian/changelog
	debian/control
	doc/conf.py
	doc/index.rst
	opt_requirements.txt
	salt/config.py
	salt/loader.py
2014-06-18 22:13:56 -06:00
Seth House
057a3ca723 Renamed PKGBUILD files to not conflict with Salt-core PKGBUILDs 2014-06-18 19:28:03 -06:00
Seth House
210ecf4a50 Moved salt-api.spec file to corresponding Salt-core directory 2014-06-18 19:25:56 -06:00
Niels Abspoel
c950a14e64 updated suse spec file for 2014.1.5 2014-06-13 21:18:36 +02:00
Pedro Algarvio
7bd8b1360f Remove remaining exsel code 2014-05-29 01:32:54 +01:00
David Boucha
679b178111 bump windows installer version number 2014-05-19 17:57:50 -06:00
Erik Johnson
82960a7480 Update RPM spec for 2014.1.4 2014-05-10 00:06:33 -05:00
Erik Johnson
a9a951df26 Dispose of temp virtualenv before installing deps 2014-05-09 00:05:40 -05:00
Erik Johnson
0bd6ec2282 Update build_shar.sh
Added the following arguments

* -p - specify prefix
* -d - specify directory containing pre-downloaded dependency tarballs

Additional tweaks:

* Switched to using virtualenv to ensure that a new enough version of
  pip is available. Older pip seems to have issues with downloading the
  dependencies, silently failing to download certain tarballs. This
  removes the hard dep on python-pip, and adds python-virtualenv as a
  hard dep.

* Detect bundled zeromq in pyzmq tarball, and use it instead of trying
  to fetch it. This, coupled with the new -d option, allows for the
  entire stack of deps to be frozen for consistency in packaging.
2014-05-08 22:03:16 -05:00
Nahum Shalman
6af019d7cf smartos esky: improve "installer"
detect if this is a global or non-global zone
global zones are always minions

if the user passes in the name/address of the master
we configure a minimal minion file and launch the minion
2014-05-08 12:04:22 -04:00
Erik Johnson
9b38263b4f Add /opt/share/man to MANPATH 2014-05-06 22:51:00 -05:00
Erik Johnson
c3e89eeceb Compress man pages 2014-05-06 22:50:39 -05:00
Pedro Algarvio
31033aac6b Merge pull request #12545 from aboe76/suse_spec_update
updated suse spec file for 2014.1.4
2014-05-06 06:02:19 +01:00
Erik Johnson
e11f1e4564 remove errexit 2014-05-05 13:40:19 -05:00
Niels Abspoel
98d32aa37e updated suse spec file for 2014.1.4 2014-05-05 20:39:19 +02:00
Ryan Davis
8fdced7877 windows: update to nssm 2.21.1
new 32-bit binary for nssm.exe, upgrading from the previous 2.16.

Has some bug fixes, see http://nssm.cc/changelog.

Driving impetus to upgrade was "Silently ignore INTERROGATE control.",
on win2012 nssm spews ~30 event log messages per minute.

Tested by stopping windows minion, replacing nssm.exe, and restarting.
2014-05-02 09:13:00 -04:00
Dennis Herbrich
f1a8a538fc Fix typo in Type declaration of systemd unit
The systemd service type must be declared in lower case, otherwise systemd generated a warning and ignores the declaration.
2014-04-23 15:11:00 +02:00
Erik Johnson
4e3430d751 Fix comments in shar build script 2014-04-21 16:38:34 -05:00
Erik Johnson
5ed7be5b2e Update spec file for 2014.1.3 2014-04-18 18:19:14 -05:00
Niels Abspoel
5cd37adb7d updated suse spec file to 2014.1.3 2014-04-18 20:35:33 +02:00
David Boucha
9c5880c188 bump windows installer version 2014-03-31 13:33:39 -06:00
Thomas S Hatch
28dd3e17e5 Merge pull request #11523 from dlanderson/no_su_upstart
Remove "su -c" from upstart scripts
2014-03-26 12:14:48 -06:00
David Anderson
31d7d327be Remove "su -c" from upstart scripts 2014-03-25 16:10:08 -06:00
Niels Abspoel
2a39b57155 updated suse release to 2014.1.1 2014-03-25 21:08:36 +01:00
Thomas S Hatch
3cbf31bd80 Merge pull request #11440 from pzbitskiy/nsis-vc-redist
Check for VC 2008 redist package in Windows installer
2014-03-24 15:39:30 -06:00
Pedro Algarvio
9ec00d2834 Fix wrong permissions 2014-03-23 18:22:35 +00:00
pzbitskiy
b25d21f666 Check for VC 2008 redist package in Windows installer
* Download and install vcredist_x86 / vcredist_x64 if needed
* Fix for #10716
2014-03-22 17:31:05 +04:00
Daniel Wallace
198e3eee8a Yay systemd.daemon.notify
requires the python2 systemd bindings
2014-03-14 08:19:52 -05:00
Erik Johnson
381d6ac305 Add shar pkg build script 2014-02-28 21:48:15 -06:00
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
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