You keep hearing about DevOps and how awesome it is, if you have Linux. Well Windows can be awesome with DevOps, too. And it's just going to keep getting better. If you are on Windows and you are even remotely interested in making things better, then you should come out and see what Puppet is all about and what it can do for your organization.
/// <summary> | |
/// This is a custom appender so that we can set enable SSL properly (and support TLS) | |
/// </summary> | |
public class SmtpCustomAppender : SmtpAppender | |
{ | |
public bool EnableSsl { get; set; } | |
public SmtpCustomAppender() | |
{ | |
Authentication = SmtpAuthentication.None; |
param( | |
[alias("startWith")] | |
[string]$startFile='' | |
) | |
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) | |
$dateNow = Get-Date -format "yyyyMMdd_HHmmss" | |
$fileNameToSaveTo = 'SingleMigration.' + $dateNow + '.sql' | |
$fileToSaveTo = Join-Path $scriptDir "src\Database\somedb-concat\$($fileNameToSaveTo)" |
#https://github.com/ferventcoder/boxen#including-boxen-modules-from-github-boxenpuppet- | |
github "mongodb", "1.0.4" |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset | |
# Regular Colors | |
Black="\[\033[0;30m\]" # Black | |
Red="\[\033[0;31m\]" # Red | |
Green="\[\033[0;32m\]" # Green | |
Yellow="\[\033[0;33m\]" # Yellow | |
Blue="\[\033[0;34m\]" # Blue | |
Purple="\[\033[0;35m\]" # Purple |
# WINDOWS | |
# ======= | |
# This assumes you already have chocolatey installed: | |
# From cmd.exe: | |
# @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin | |
# From powershell: | |
# iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
# | |
# This assumes you have vagrant already installed: | |
# cinst vagrant |
exec { 'stop-CryptSvc': | |
command => 'C:\Windows\System32\cmd.exe /c "net stop CryptSvc"' | |
} |
class blue::websites { | |
# this creates the root website | |
iis_site { 'dovetail': | |
ensure => 'present', | |
bindings => 'http/*:80', | |
} | |
iis_app {'dovetail/': | |
ensure => 'present', | |
applicationpool => 'DefaultAppPool', | |
} |
Subject: Jenkins ${BUILD_STATUS} [#${BUILD_NUMBER}] - ${PROJECT_NAME} | |
Content Type: Plain Text (text/plain) | |
Trigger for matrix projects: Trigger for each configuration | |
Choose "Advanced", "Add a Trigger" and choose the following triggers: | |
Fixed, Failure, Unstable, Still Failing, Still Unstable | |
Ensure that "Send To Recipient List" is checked for all of these at the very least. | |
Fixed is the only trigger you will need to expand to change the Content. |
You know and love sandboxing for source code and being able to throw away work or commit it at the end of the day. Now take that concept back a level to virtual machines and add a side of provisioning. This is vagrant.
Have a user have a certain setup that you don't want to replicate on your work machine? Vagrant can help you get that environment setup and allow you to replicate bugs quickly.
Having a virtual sandbox may change the way you test your end product. If you are already virtualized, this session will show you ways to enhance your day to day development. If you are not virtualized, this session may rock your world in what's possible and what will be mainstream coming in the next few years. Don't miss out on this opportunity to see it ahead of time and get ahead of the curve!