Commit Graph

26747 Commits

Author SHA1 Message Date
Evan Borgstrom
cc8e25e316 Rebuild StateRegistry storage so IDs across modules work
As it stands the following will fail as we didn't allow duplicate IDs
under any circumstances:

    with Pkg.installed("nginx"):
    	Service.running("nginx")

This commit changes the way the StateRegistry stores states to allow the
above example to work properly.

Now it behaves much more closely to the YAML + Jinja renderer.
2014-02-27 15:52:14 -05:00
Evan Borgstrom
2e6371f65b Add test for duplicates, now to fix it 2014-02-27 15:04:27 -05:00
Thomas S Hatch
3813934f4a http://www.youtube.com/watch?v=v7NzBTRzCkg 2014-02-27 12:58:39 -07:00
Thomas S Hatch
b3f99f9833 Merge pull request #10776 from ticosax/fix-states.dockerio.run
Fix states.dockerio.run
2014-02-27 12:55:23 -07:00
Thomas S Hatch
772c213976 Merge pull request #10820 from bbinet/influxdb
Add InfluxDB salt module and states
2014-02-27 12:54:54 -07:00
Thomas S Hatch
e15e32402b Merge pull request #10834 from cachedout/pydsl_perm
Fix another bad perm.
2014-02-27 11:46:08 -07:00
Thomas S Hatch
67f8637f04 Merge pull request #10833 from cachedout/perm_test
Warn us about suspect perms.
2014-02-27 11:45:56 -07:00
Mike Place
37065d629c Fix another bad perm. 2014-02-27 11:38:34 -07:00
Mike Place
b94ba19e60 Warn us about suspect perms.
I've found cases where people have been setting permissions for files
and then those permissions are being pushed into git. This is annoying
at best and potentially dangerous at worst.

This test walks the tree and warns us about anything that's out of
order.
2014-02-27 11:33:27 -07:00
Thomas S Hatch
a419831037 Merge pull request #10766 from s0undt3ch/features/freezedata
Reduce scaling issues with `deepcopy`'ing.
2014-02-27 11:32:57 -07:00
Thomas S Hatch
8a96cc4975 Merge pull request #10832 from cachedout/ps_perm
ps perm
2014-02-27 10:30:26 -07:00
Thomas S Hatch
762cf543bb Merge pull request #10829 from ticosax/add-states.webutil
Add a state to control presence of user inside arbitrary htpasswd file
2014-02-27 10:30:02 -07:00
Thomas S Hatch
bb8edcfa36 Merge pull request #10821 from JensRantil/service-command-not-path
Hygiene: service command is not part of path
2014-02-27 10:28:21 -07:00
Thomas S Hatch
c4740d6ab8 Merge pull request #10813 from gtmanfred/keep_symlinks
Keep symlinks
2014-02-27 10:24:07 -07:00
Thomas S Hatch
8935f5e0e1 Merge pull request #10815 from ryan-lane/add-timeout-to-publish-runner
Give publish.runner module call a timeout
2014-02-27 10:17:56 -07:00
Thomas S Hatch
ad67a1dbf1 Merge pull request #10818 from s0undt3ch/hotfix/bootstrap-script
Update to latest bootstrap script, v2014.02.27
2014-02-27 10:17:28 -07:00
Thomas S Hatch
6353e400ed Merge pull request #10824 from techhat/issue10823
Remove outdated ec2 tutorial
2014-02-27 10:17:05 -07:00
Mike Place
edb5dd7305 It looks like the permission for the ps module were inadvertently
changed during a update to the documentation. This changes the
behavior back to match other exec mods.
2014-02-27 09:52:48 -07:00
Mike Place
6af1f4ef2d Merge pull request #10831 from borgstrom/develop
Pyobjects documentation improvements
2014-02-27 09:29:58 -07:00
Evan Borgstrom
c4ba736615 Pyobjects documentation improvements
This makes a simple enhancement to the module documentation for
pyobjects and also updates inline comments throughout the renderer.
2014-02-27 11:14:39 -05:00
Mike Place
cc7ef8df54 Merge pull request #10827 from jeroentbt/patch-1
fix typos
2014-02-27 08:06:46 -07:00
Nicolas Delaby
2d868bb29d Add a state to control presence of user inside arbitrary htpasswd file 2014-02-27 16:04:42 +01:00
jeroen tiebout
39b1831056 fix typos 2014-02-27 16:03:05 +01:00
Joseph Hall
da576e231d Merge pull request #10825 from JensRantil/spellfix
Fix typo: maintinance => maintenance
2014-02-27 07:18:49 -07:00
Jens Rantil
302629bc72 Fix typo: maintinance => maintenance 2014-02-27 14:59:24 +01:00
Joseph Hall
1e674454de Remove outdated ec2 tutorial 2014-02-27 06:49:20 -07:00
Jens Rantil
906f0c35e8 Hygiene: service command is not part of path 2014-02-27 12:57:32 +01:00
Bruno Binet
171283cc2d add influxdb_user salt state to manage influxdb users 2014-02-27 11:34:34 +01:00
Bruno Binet
361da7cb9a add influxdb_database salt state to manage influxdb databases 2014-02-27 11:34:10 +01:00
Bruno Binet
9e2ae3c593 add influxdb salt module 2014-02-27 11:32:33 +01:00
Pedro Algarvio
aa86ce1a91 Update to latest bootstrap script, v2014.02.27 2014-02-27 09:59:20 +00:00
Ryan Lane
72dfd80e96 Give publish.runner module call a timeout
It's important to be able to set a timeout for publish.runner calls
as it's generally unlikely that most runners will return in the
default timeout. When publish.runner times out, the runner stops
running at that point, likely breaking whatever was occuring.
2014-02-27 00:32:45 -08:00
Daniel Wallace
4425d56e03 Use dict() compatible with python 2.6 2014-02-27 01:40:38 -06:00
Daniel Wallace
860dab6ccc Clean up some pep8 2014-02-27 00:53:28 -06:00
Daniel Wallace
6859aafac9 clean up keep_symlinks for file.recurse
fix #10809
2014-02-27 00:53:28 -06:00
Thomas S Hatch
6b6fa4d3d8 Merge pull request #10803 from hulu/docker-logs-shadowing
avoid shadowing outer logs() [and 1 log] in dockerio
2014-02-26 22:30:20 -07:00
Thomas S Hatch
2d20b10341 Merge pull request #10806 from whiteinge/ext_cache-list_jobs-runner
Added ext_job_cache support to jobs.list_jobs runner
2014-02-26 22:29:43 -07:00
Thomas S Hatch
eac2975ab4 Merge pull request #10811 from cachedout/highstate_cache_bug
Don't reference a filehandle outside scope.
2014-02-26 22:28:12 -07:00
Mike Place
d794be350b Don't reference a filehandle outside scope. 2014-02-26 21:09:07 -07:00
Pedro Algarvio
4b7509feb9 Merge pull request #10805 from whiteinge/doc-pillar-state-kwarg
Documented sending custom Pillar for state.highstate & state.sls
2014-02-27 03:06:45 +00:00
Mike Place
b5b5ac49bb Merge pull request #10808 from whiteinge/doc-header-links
Add Glossary and Table of Contents to links header in docs
2014-02-26 19:45:40 -07:00
Pedro Algarvio
63b190520b Rename the module to a more suitable name 2014-02-27 02:29:42 +00:00
Seth House
bbb6893877 Add Glossary and Table of Contents to links header in docs 2014-02-26 18:57:23 -07:00
Pedro Algarvio
0e3c2740f5 Collections can be __add__'ed 2014-02-27 01:27:22 +00:00
Pedro Algarvio
18d1bb6bfe Immutable object children should also be immutable. 2014-02-27 01:27:22 +00:00
Pedro Algarvio
9c8b03aa81 Reduce scaling issues with deepcopy'ing.
Transform `dict`, `list`, `set` into it's immutable partner which is
lazy loaded. So, if no attribute access is being performed, the
built-ins are not converted and cached into it's immutable version.

Fixes #10733.
2014-02-27 01:27:22 +00:00
Seth House
01907556c4 Documented sending custom Pillar for state.highstate & state.sls 2014-02-26 17:00:15 -07:00
Joseph Hall
a34fe6eeb3 Merge pull request #10801 from erjohnso/develop
fixes #10800 - updating GCE docs
2014-02-26 15:56:18 -07:00
Chris Rebert
3545158760 avoid shadowing outer logs() [and 1 log] in dockerio 2014-02-26 14:55:37 -08:00
Eric Johnson
d99e639411 fixed #10800 - updating GCE docs 2014-02-26 22:45:43 +00:00