Commit graph

3805 commits

Author SHA1 Message Date
Rune Kaagaard
7a8b27f716 Fixing bug with unicode templates.
The utils.md5s() function would break when calculating checksums
for non-ascii characters. Convert to utf-8 first.
2013-02-05 14:49:59 +01:00
Blair Zajac
106fb10dab library/pip: add support for virtualenv's --system-site-packages. 2013-02-04 17:03:25 -08:00
Joel Roller
ac716ac9ca Specify repo option with hg pull
Fixes #1989
2013-02-04 17:19:59 -06:00
Jimmy Tang
7a40ed41f7 Documentation Fixes relating to OSX and macports
Insert some notes about installing on OSX via macports
2013-02-04 19:57:33 +00:00
Daniel Hokka Zakrisson
c1b63d1500 Fix for when conditional is a simple bool already
Fixes #1983.
2013-02-04 20:12:53 +01:00
Lester Wade
093a876a57 Added capability to enable CloudWatch monitoring when launching. 2013-02-04 18:03:47 +00:00
Piotr Roszatycki
8cf268441e Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode". 2013-02-04 13:40:07 +01:00
Daniel Hokka Zakrisson
1becc665b2 Fix missing ) in add_host
Fixes #1980.
2013-02-04 12:21:33 +01:00
Brian Coca
5478dab4d7 now missing hosts file gives nice message and no traceback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-02-03 23:19:37 -05:00
Michael DeHaan
06f7858622 Update README.md 2013-02-03 22:20:04 -05:00
Michael DeHaan
e25b2fb41c Update README.md 2013-02-03 22:17:13 -05:00
Michael DeHaan
fed82c2188 This implements a basic --check mode which for now is only implemented on template & copy operations. More detail will be shared with the list
shortly.
2013-02-03 20:34:13 -05:00
Daniel Hokka Zakrisson
28cf95e585 Use module.get_bin_path for pkgin module instead of hardcoding paths 2013-02-03 23:57:34 +01:00
Daniel Hokka Zakrisson
d8d1f2cd7a Split PATH on os.pathsep, that is what it's there for 2013-02-03 23:57:34 +01:00
Daniel Hokka Zakrisson
a025cfcb33 Add on_import_for_host callback from non-list case 2013-02-03 23:37:29 +01:00
Michael DeHaan
dc5c430f45 Merge pull request #1970 from piffey/devel
Devel
2013-02-03 06:34:09 -08:00
Michael DeHaan
3fe0aa9806 Merge pull request #1974 from jcftang/devel
Integrate upstream changes from Portfile that exists in macports
2013-02-03 06:29:59 -08:00
Daniel Hokka Zakrisson
c1e0f0b4db sysctl was added in 1.0
Fixes #1972.
2013-02-03 14:01:55 +01:00
Daniel Hokka Zakrisson
9a34c20cc5 Create Play objects for --list-hosts to mimic actual behaviour
This makes --list-hosts work more like actually running the playbook,
and thus gets the correct hosts with regard to includes and similar.

Fixes #1959.
2013-02-03 14:01:55 +01:00
Daniel Hokka Zakrisson
a79373f6b2 Make template_ds the only templater
Instead of having to remember when to use which one, rename template_ds
to template and move the last bit of code from template to varReplace
(which gets used for all string replacements, in the end).

This means that you can template any data type without worrying about
whether it's a string or not, and the right thing will happen.
2013-02-03 14:01:54 +01:00
Jimmy Tang
ebd2ed72f7 Integrate upstream changes from Portfile that exists in macports
See this post - https://groups.google.com/forum/?fromgroups=#!topic/ansible-project/7xdC0MP9MjM

I was not aware that blair had uploaded a portfile to macports already,
this set of changes makes the 'devel' version of the portfile similar
to the upstream. Except the man pages, examples and sample config files.
2013-02-03 12:18:14 +00:00
Piffey Parlance
0f44ba5a5a * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
Piffey Parlance
39c8becfc8 * Added support for multi-line key files. 2013-02-02 18:07:10 -06:00
Michael DeHaan
42daffdb38 Merge pull request #1948 from yeukhon/devel
hg module cleaned up
2013-02-02 10:27:06 -08:00
Michael DeHaan
f7aaa5ccc5 Fix copyright, unused imports 2013-02-02 13:06:48 -05:00
Michael DeHaan
7d9b29d48a Update changelog 2013-02-02 13:03:07 -05:00
Michael DeHaan
857ccf7f6c Add random choice plugin (with_random_choice) 2013-02-02 13:02:47 -05:00
Michael DeHaan
5cdc25ec47 Tweak documentation example about lookup plugins 2013-02-02 12:56:56 -05:00
Michael DeHaan
f4dddfdbab Fixup inventory docs 2013-02-02 12:43:05 -05:00
Michael DeHaan
dd91452eda Better explain precedence. 2013-02-02 12:29:49 -05:00
Michael DeHaan
bf088a50aa Add when_failed/changed dates 2013-02-02 12:26:26 -05:00
Michael DeHaan
cde5b4b80c Reference sudo flag changeability. 2013-02-02 12:24:48 -05:00
Michael DeHaan
1e3df3b5ab Show how to assign lookup plugins in variables 2013-02-02 12:19:21 -05:00
Michael DeHaan
fe5ab64b62 Document lookup plugin shorthand 2013-02-02 12:03:48 -05:00
Michael DeHaan
78ecc45d4d Document other syntaxes 2013-02-02 12:02:08 -05:00
Michael DeHaan
0ae7f996f5 Make sure all the lookup plugins are documented. 2013-02-02 11:51:25 -05:00
Michael DeHaan
318e3302fb Fix up some version related things on the devel branch. 2013-02-01 21:38:21 -05:00
Michael DeHaan
cd7c3e7b91 Update release date 2013-02-01 21:35:13 -05:00
Michael DeHaan
6a64e9f024 Update changelog 2013-02-01 21:27:00 -05:00
Michael DeHaan
602656f02c Merge pull request #1961 from skvidal/yum-mod
Yum mod
2013-02-01 18:13:18 -08:00
Michael DeHaan
7ffa2a2b06 Merge pull request #1957 from jcftang/devel
Add macports packaging - points to git repo and devel branch instead of ...
2013-02-01 18:11:50 -08:00
Michael DeHaan
1d638d62ee Merge pull request #1954 from lorin/ec2-facts-fix
If ec2 fact has ':' or '-', change to '_'
2013-02-01 18:10:47 -08:00
Michael DeHaan
6d72529420 Merge pull request #1932 from jblaine/patch-1
Correct python module name for jinja2
2013-02-01 18:09:31 -08:00
Stephen Fromm
59134ebe93 Merge pull request #1951 from leucos/patch-2
Update packaging/arch/PKGBUILD
2013-02-01 17:15:40 -08:00
Stephen Fromm
f853f2b19d Merge pull request #1962 from akerl/envfix
fixed shebang in hacking test-module
2013-02-01 16:57:09 -08:00
Les Aker
ee274b5816 fixed shebang in hacking test-module 2013-02-01 17:11:38 -05:00
Seth Vidal
808554dee6 use a local copy of repoq so we don't inadvertently pollute the one for is_installed 2013-02-01 16:47:53 -05:00
Seth Vidal
1c067845f2 don't apply enablerepo's to is_installed() to work around yum-utils/repoquery drift from all things
good and proper
2013-02-01 12:39:02 -05:00
Jimmy Tang
c1812a9df4 Add macports packaging - points to git repo and devel branch instead of releases 2013-02-01 16:51:20 +00:00
Lorin Hochstein
4d38c68489 If ec2 fact has ':' or '-', change to '_'
Change ec2 fact names with colons (:) or dashes (:) to undescore (_)
so that they can be used in templates.

Note that this makes copies instead of replacing the exisitng fact
names to avoid breaking existing playbooks.
2013-01-31 21:00:25 -05:00