Commit graph

10876 commits

Author SHA1 Message Date
Chris Church
5b85252043 Add tests for windows setup module. 2014-06-19 14:26:42 -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
Matt Martz
09dd535296 Make helper functions more robust against undefined powershell objects 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
Don Schenck
e5399b12b9 Pipe Get-Process to see what's running 2014-06-19 14:26:29 -05:00
Craig Ackerman
cd3edf1eba Added FW commands to allow access to HTTPS listener 2014-06-19 14:26:24 -05:00
Craig Ackerman
f42905a9cc Added commands to allow Windows firewall access to WinRM HTTPS listener 2014-06-19 14:26:16 -05:00
Paul Durivage
7e055ec6cc Remove unnecessary obj 2014-06-19 14:26:10 -05:00
Chris Church
43a7a5a990 Collapse extra whitespace in encoded powershell scripts. 2014-06-19 14:25:50 -05:00
Matt Martz
df8866b8bd Add examples for how to use powershell common functions 2014-06-19 14:25:50 -05:00
Matt Martz
e4e610565c Add convenience function (Get-Attr) for getting an attribute/member from a powershell psobject 2014-06-19 14:25:50 -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
Matt Martz
90c98ada7c Add ConvertTo-Bool filter function in powershell common code 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
Matt Martz
630c0cf57e Fix up some formatting issues in intro_windows.rst 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
e621fec7d3 Add notes on powershell script source. 2014-06-19 14:25:49 -05:00
Michael DeHaan
118899c548 Fix hyperlink target. 2014-06-19 14:25:49 -05:00
Michael DeHaan
8eaa81d5a9 Some docs restructuring to move the setup steps first. 2014-06-19 14:25:49 -05:00
Michael DeHaan
128be9ea27 File rename. 2014-06-19 14:25:49 -05:00
Michael DeHaan
38338157b3 Add prep instructions. 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
Chris Church
61c236be9e Fix for creating temp dir with older powershell versions. 2014-06-19 14:25:28 -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
Don Schenck
ef968efa8b Fixed bugs related to .NET Framework version. Version 3.5 or higher is now
assumed.
2014-06-19 14:25:28 -05:00
Michael DeHaan
b0648fda0b Docsite formatting fix. 2014-06-19 14:25:28 -05:00
Paul Durivage
5de34fca22 Make non-executable 2014-06-19 14:25:28 -05:00
Michael DeHaan
dfd4f18095 Docsite things. 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
Don Schenck
5b15194a0d PowerShell script to assure PowerShell 3 is installed
Will install PowerShell 3 if the machine has a lower version. WILL NOT
do anything if PowerShell 3 (or higher) is already installed.
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
Chris Church
a8ca579761 Fix host parameter to vvvvv. 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
f423a8dffe Slight examples tweak 2014-06-19 14:25:23 -05:00
Michael DeHaan
eb33e3e2ef Slight tweak to windows wording. 2014-06-19 14:24:15 -05:00
Craig Ackerman
aba2cbfbc6 Additional Windows Setup info 2014-06-19 14:24:15 -05:00
Craig Ackerman
fab0374572 Added Windows intro content 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
Chris Church
74c43c94cf Allow specifying remote powershell version via environment variable. 2014-06-19 14:24:14 -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