This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"network": { | |
"servers": [ "x.x.x.x:5043" ], | |
"ssl key": "C://ProgramData//PuppetLabs//puppet//etc//ssl//private_keys//xxx.pem", | |
"ssl certificate": "C://ProgramData//PuppetLabs//puppet//etc//ssl//certs//xxx.pem", | |
"ssl ca": "C://ProgramData//PuppetLabs//puppet//etc//ssl//certs//ca.pem", | |
"timeout": 15 | |
}, | |
"files": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"network": { | |
"servers": [ "x.x.x.x:5043" ], | |
"ssl key": "C://ProgramData//PuppetLabs//puppet//etc//ssl//private_keys//logstashforwarderxx.pem", | |
"ssl certificate": "C://ProgramData//PuppetLabs//puppet//etc//ssl//certs//logstashforwarderxx.pem", | |
"ssl ca": "C://ProgramData//PuppetLabs//puppet//etc//ssl//certs//ca.pem", | |
"timeout": 15 | |
}, | |
"files": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
lumberjack { | |
port => 5043 | |
ssl_certificate => "/etc/puppetlabs/puppet/ssl/certs/logstashxxx.pem" | |
ssl_key => "/etc/puppetlabs/puppet/ssl/public_keys/logstashxxx.pem" | |
} | |
} | |
filter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: .\DisableNuGetPackageRestore.ps1 C:\Path\To\Solution.sln | |
# Get the path that the user specified when calling the script | |
$solution = $args[0] | |
$solutionPath = Split-Path $solution -Parent | |
$solutionName = Split-Path $solution -Leaf | |
# Delete the .nuget directory and all contents | |
Remove-Item (Join-Path $solutionPath ".nuget") -Force -Recurse -ErrorAction 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
courier { | |
port => 6379 | |
ssl_certificate => "/opt/logstash/ssl/logstash-forwarder.crt" | |
ssl_key => "/opt/logstash/ssl/logstash-forwarder.key" | |
} | |
} | |
filter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
courier { | |
port => 6379 | |
ssl_certificate => "/opt/logstash/ssl/logstash-forwarder.crt" | |
ssl_key => "/opt/logstash/ssl/logstash-forwarder.key" | |
} | |
} | |
output { | |
#Only exporting files that parsed properly. | |
if "_grokparsefailure" not in [tags] { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"network": { | |
"servers": [ "xxxxxxx:6379" ], | |
"ssl ca": "C://log-courier/logstash-forwarder.crt" | |
}, | |
"files": [ | |
{ | |
"paths": [ "C:\\inetpub\\logs\\LogFiles\\W3SVC*\\*"], | |
"fields": {"type": "IISLog"} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015/08/11 17:57:58 [INFO] Packer version: 0.8.5 60bbe850ef0b7fec19eba1929d83e7267ca1572b | |
2015/08/11 17:57:58 Packer Target OS/Arch: windows amd64 | |
2015/08/11 17:57:58 Built with Go Version: go1.4.2 | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: amazon-chroot = C:\HashiCorp\packer\packer-builder-amazon-chroot.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: amazon-ebs = C:\HashiCorp\packer\packer-builder-amazon-ebs.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: amazon-instance = C:\HashiCorp\packer\packer-builder-amazon-instance.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: digitalocean = C:\HashiCorp\packer\packer-builder-digitalocean.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: docker = C:\HashiCorp\packer\packer-builder-docker.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: file = C:\HashiCorp\packer\packer-builder-file.exe | |
2015/08/11 17:57:58 [DEBUG] Discovered plugin: googlecompute = C:\HashiCorp\packer\packer-builder-googlecompute.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows AMIs don't have WinRM enabled by default -- this script will enable WinRM | |
# AND install 7-zip, curl and .NET 4 if its missing. | |
# Then use the EC2 tools to create a new AMI from the result, and you have a system | |
# that will execute user-data as a PowerShell script after the instance fires up! | |
# This has been tested on Windows 2008 SP2 64bits AMIs provided by Amazon | |
# | |
# Inject this as user-data of a Windows 2008 AMI, like this (edit the adminPassword to your needs): | |
# | |
# <powershell> | |
# Set-ExecutionPolicy Unrestricted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-12-24 17:03:43,266 [INFO ] - Chocolatey v0.9.9.11 | |
2015-12-24 17:03:43,275 [DEBUG] - Chocolatey is running on Windows v 6.1.7601.65536 | |
2015-12-24 17:03:43,280 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
2015-12-24 17:03:43,280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
2015-12-24 17:03:43,291 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install -dvy imdisk -version 1.9.4 -source http://nuget.xxx.org/chocopacks/nuget --force | |
2015-12-24 17:03:43,292 [DEBUG] - Received arguments: install -dvy imdisk -version 1.9.4 -source http://nuget.xxx.org/chocopacks/nuget --force | |
2015-12-24 17:03:43,341 [DEBUG] - | |
NOTE: Hiding sensitive configuration data! Please double and triple | |
check to be sure no sensitive data is shown, especially if copying | |
output to a gist for review. |
OlderNewer