Commit graph

4359 commits

Author SHA1 Message Date
Paul Durivage
61a06473ec Add documentation for win_feature module 2014-06-19 14:26:47 -05:00
Paul Durivage
bceaf96fd6 Add comments 2014-06-19 14:26:37 -05:00
Paul Durivage
10a526e020 Add restart functionality 2014-06-19 14:26:36 -05:00
Paul Durivage
ab8f7289b0 Renaming and refactoring of names, variables 2014-06-19 14:26:36 -05:00
Chris Church
f86db3a4dc Update slurp/win_ping/win_stat to use Get-Attr. 2014-06-19 14:26:36 -05:00
Paul Durivage
7e055ec6cc Remove unnecessary obj 2014-06-19 14:26:10 -05:00
Chris Church
5c61369574 Add data option to docs for win_ping. 2014-06-19 14:25:50 -05:00
Chris Church
edbe7a4514 Add tests for win_stat module. 2014-06-19 14:25:50 -05:00
Paul Durivage
04d94ffb8f Fix variable reference 2014-06-19 14:25:50 -05:00
Paul Durivage
af0bcb354d Ensure state is present if no value provided 2014-06-19 14:25:50 -05:00
Paul Durivage
ba4b2d04d9 Fix logic to ensure state is either present or absent 2014-06-19 14:25:49 -05:00
Paul Durivage
25766a0d58 Add prelim version of win_feature module (for installing packages, roles, features, etc) 2014-06-19 14:25:49 -05:00
Michael DeHaan
7309b2ad2a Add explanation of windows upgrade details. 2014-06-19 14:25:46 -05:00
Don Schenck
7631c005ca Added logging to UpgradeToPS3.ps1
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output
to file C:\powershell\install.log.
2014-06-19 14:25:28 -05:00
Chris Church
243cd877ae Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 2014-06-19 14:25:28 -05:00
Paul Durivage
5de34fca22 Make non-executable 2014-06-19 14:25:28 -05:00
Paul Durivage
b22e2160cf Add win_get_url module documentation 2014-06-19 14:25:28 -05:00
Paul Durivage
17f54afa08 Add win_get_url module 2014-06-19 14:25:27 -05:00
Matt Martz
069fa71d87 Remove unneeded code, document creates param and ensure creates only affects state=present 2014-06-19 14:25:27 -05:00
Matt Martz
5d7f67569f At state for win_msi and add documentation 2014-06-19 14:25:27 -05:00
Matt Martz
13a732e6b9 First pass at win_msi.ps1 msi installer module 2014-06-19 14:25:27 -05:00
Paul Durivage
003448defc Add memory and IP information to setup 2014-06-19 14:25:27 -05:00
Michael DeHaan
eb33e3e2ef Slight tweak to windows wording. 2014-06-19 14:24:15 -05:00
Matt Martz
97f4f56286 Add Exit-Json and Fail-Json powershell helper functions 2014-06-19 14:24:15 -05:00
Matt Martz
51a50dee3e Clean up how we initialize the result psobject 2014-06-19 14:24:14 -05:00
Matt Martz
bf400d3c23 Mention that with windows target hosts, fact_path and filter are not currently supported 2014-06-19 14:24:14 -05:00
Matt Martz
9ca83446a2 A couple of DOCUMENTATION fixes for win_ping and win_stat 2014-06-19 14:24:14 -05:00
Michael DeHaan
e3cc1eaefc Update windows docs in progress. 2014-06-19 14:24:14 -05:00
Michael DeHaan
618e8dee78 Add doc stubs 2014-06-19 14:24:14 -05:00
Michael DeHaan
e4ff74ebbd Add a docs stub for the module. 2014-06-19 14:24:14 -05:00
Matt Martz
4f764fd3e7 setup.ps1 willnot support fact_path and filter to start 2014-06-19 14:24:14 -05:00
Michael DeHaan
4991c77479 Remove stubs. 2014-06-19 14:24:14 -05:00
Matt Martz
f92f739366 Need to call ToString Platform to get the string 2014-06-19 14:24:14 -05:00
Michael DeHaan
02caebb08f Rename some modules so they can have seperate doc stubs. 2014-06-19 14:24:13 -05:00
Matt Martz
09e538f954 Add start for powershell setup module 2014-06-19 14:24:13 -05:00
Matt Martz
fa0943a9b3 Add license header to powersell modules 2014-06-19 14:24:13 -05:00
Matt Martz
a25c441300 Add shared functions to module_utils/powershell.ps1 and refactor powershell modules to utilize the common powershell code 2014-06-19 14:24:13 -05:00
Matt Martz
6cda35e1d3 Use more simple check for existence of member 2014-06-19 14:24:13 -05:00
Matt Martz
14dab9870b Instantiate psobject directly 2014-06-19 14:24:12 -05:00
Chris Church
5dcaa30476 Add shell_plugins to abstract shell-specific functions out of runner, add winrm connection plugin, add initial Windows modules. 2014-06-19 14:24:12 -05:00
James Cammarata
57a2104c40 Merge pull request #7801 from koenpunt/npm-rbenv-exec
Allow gem executable to contain spaces
2014-06-17 11:16:42 -05:00
Koen Punt
d9f9234084 Allow gem executable to contain spaces
rbenv has a special exec function which loads the correct ruby version before executing a command.
The syntax for this is `/usr/local/rbenv/bin/rbenv exec gem ...` for example.
But previously when specifying executable='/usr/local/rbenv/bin/rbenv exec gem' this would not work because the string was treated as one executable. This PR fixes that by splitting the executable on spaces.
2014-06-17 11:58:10 +02:00
Koen Punt
2748095a8e Allow executable to contain spaces
NVM has a special script which loads the correct node version before executing a command.
The syntax for this is `/usr/local/nvm/nvm-exec ...`, so `nvm-exec npm list --json` for example.
But previously when specifying `executable='/usr/local/nvm/nvm-exec nvm'` this would not work because the string was treated as one executable.
2014-06-17 01:31:24 +02:00
James Cammarata
cb13b30362 Use file documentation fragement for the copy module 2014-06-16 15:36:15 -05:00
James Cammarata
b7a5ce37a4 Merge pull request #7755 from sivel/rax-asg-normalize-nic
module rax_scaling_group: safe normalization of nics
2014-06-16 11:42:44 -05:00
James Cammarata
ddb946beb1 Minor cleanup of openbsd_pkg example comment 2014-06-16 11:35:57 -05:00
James Cammarata
df15990e0c Merge pull request #7774 from mwpher/devel
[openbsd-pkg] Add note regarding package flavors
2014-06-16 11:33:53 -05:00
James Cammarata
d1c9c943cb Merge pull request #7776 from toddmowen/pkgutil-quote-fix
Fix in pkgutil: don't call pipes.quote() on None
2014-06-16 10:06:09 -05:00
James Cammarata
3baed58eed Merge pull request #7778 from toddmowen/unarchive-detect-error
unarchive: improve failure detection and reporting
2014-06-16 10:04:03 -05:00
Todd Owen
a4fe91050b unarchive: improve failure detection and reporting
Related to #7777
2014-06-15 13:13:18 +08:00