Skip to content

Instantly share code, notes, and snippets.

@ilmari
Created September 17, 2012 15:36
Show Gist options
  • Save ilmari/3738046 to your computer and use it in GitHub Desktop.
Save ilmari/3738046 to your computer and use it in GitHub Desktop.
# Financial Reconcilation node for EC2.
node /^recon[\-a-z0-9]*\.photobox\.com$/ inherits babelnode {
$sitename = 'ec2_eu_west1'
# Set up site-specific configuration, including the correct timezone.
class { 'sites':
photobox_repo => 'stable',
stage => 'pre',
}
# Configure sshd
class { 'ssh':
sshd_passwordauth => 'no',
}
# Render sudoers - members of 'babeladmins' can sudo without passwd
class { 'sudo': }
# Set up common babel prereqs, including our own Perl
class { 'babel':
use_trunk => 'false',
perl_version => 'hydrogen-6290-20120903024736r46653',
}
# ensure mysql client package is installed
package { 'mysql-client':
ensure => installed,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment