Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Customize the chef node name and use your own Opscode platform organization | |
# with this Vagrantfile. Mind the validation key path setting and make sure your | |
# validation key is correct. | |
# | |
# If you're using your own Chef Server, substitute the proper URL and validation client | |
# and key names. | |
# | |
# Export the following shell environment variables before running vagrant up: | |
# | |
# export ORGNAME=your_platform_organization |
# This is the entire preseed config file used on an example Lucid system. See the preseed | |
# documentation for more information on the options here. This will use US English by default. | |
# | |
# https://help.ubuntu.com/10.04/installation-guide/amd64/preseed-contents.html | |
# | |
# This preseed will automatically install Ubuntu 10.04 with default options. Understand what | |
# it is doing before you use it. | |
# | |
# Boot Options line: | |
# |
diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb | |
index 7fbf435..94b35b7 100644 | |
--- a/cookbooks/openssh/recipes/default.rb | |
+++ b/cookbooks/openssh/recipes/default.rb | |
@@ -44,6 +44,7 @@ template "/etc/ssh/sshd_config" do | |
owner 'root' | |
group 'root' | |
variables(:settings => node['openssh']['server']) | |
+ notifies :reload, resources(:service => "ssh"), :immediate | |
end |
diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb | |
index 7fbf435..5c28cc9 100644 | |
--- a/cookbooks/openssh/recipes/default.rb | |
+++ b/cookbooks/openssh/recipes/default.rb | |
@@ -38,14 +38,6 @@ template "/etc/ssh/ssh_config" do | |
variables(:settings => node['openssh']['client']) | |
end | |
-template "/etc/ssh/sshd_config" do | |
- source "sshd_config.erb" |
#!/usr/bin/ruby | |
require 'twitter' | |
require 'marky_markov' | |
def tweets | |
block = Twitter.user_timeline("joedamato", count: 200) | |
text = block.map(&:text) | |
max = block.last.id | |
until block.empty? |
#!/bin/bash | |
# CentOS rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
# Install pre-requirements | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison iconv-devel git-core |
{ | |
"Statement": [ | |
{ | |
"Sid": "PackerSecurityGroupAccess", | |
"Action": [ | |
"ec2:CreateSecurityGroup", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeSecurityGroups", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress" |
Feature: SSL Renewal Checks | |
We have a large list of SSL certificates | |
So that none of those expire | |
We can run a check for those soon expiring | |
Scenario Outline: Check SSL certificate expiration | |
When I sslcheck <website> | |
Then the SSL certificate should have at least 30 days remaining | |
Examples: | |
| website | |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
JSON