Skip to content

Instantly share code, notes, and snippets.

View feniix's full-sized avatar
🇦🇷

Sebastian B Otaegui feniix

🇦🇷
View GitHub Profile
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbj7O+tUyVrI9VxhQbIXFxJWwCt1lxpAtTbD7YZAGx8yHk0F40oHpHZkh8WrF/dNwPLQtbiNjIL1LGvCs5nJbwhsy52T9/1k54HW1zn2VXGA7hGJ8SND2xLvQH1RhQxi8Snb0zkdDkgx1T9MLB2V//z8E1fNvw6tnP6Z+QTsBo8HdPQPBILdYoayrqdgoLUG+ZKt73ynOguhFMdaY1e509wsXMJT7JC4jvzevb5jo4SHDr/2SbUe3D2dsEJBxc1VDP3C3BUXzuL7DFuWF6QgM/Mvp8yh9WQSn7zaN0I5/V3ckLFM4mIg6X2XsgBfKaNDObDdylUJ8O6GpS27Ud9CY7 [email protected]
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeA2/2lAJmZDKUmQtWTImTxnZTl4aDHDrJVCg2gjDlU5Ge6/17qsfoy3klI+Na/45XDo8ohAgYxlp+GrXHerAtIDJnWjuEjq9LmXvtv0wPxy2b2NTpJ3/+ltLPI2/dUEM58RqvHC5LnCNz4ef8hjvfGcAjgM7QEB/TVfuQNzo0fDdGi+x0agPUlyf7o7J7KOA4jU6KEecctlJpt3OWz/lmjrezjs1uyw/FLB1uk/cQRhwXNeUraTEypCziscytfDbOW1qvprH2cr8JCI+y2c8Uw8DovELA0qLv+b1ZlymjgtKL1Ql9FNdahGtmy005Fk8z+ZTcEcsPYlZr2wUTXJsd [email protected]
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOaSb4JNbzl/OPAEYU+i6vjRc12iQ4z0Hq/WKDe01BoxVmGvp4ycJJOvW+jQ2mLpruRK5QHdsJSzIqLTKG8T60FsYi9S8K/3yX5DJCDrDYGEVWaufKrASwmwR
# This is the main slapd configuration file. See slapd.conf(5) for more
# info on the configuration options.
#######################################################################
# Global Directives:
# Features to permit
#allow bind_v2
# Schema and objectClass definitions
From nobody Tue Jun 24 11:55:18 2014
Content-Type: multipart/mixed; boundary="===============7043057058361016434=="
MIME-Version: 1.0
--===============7043057058361016434==
MIME-Version: 1.0
Content-Type: text/cloud-config; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="aws/src/01-base.cloud-config"
hiera_include('classes')
node default {
class { 'openldap::server':
databases => {
'dc=spantree,dc=net' => {
directory => '/var/lib/ldap',
rootdn => 'cn=admin,dc=spantree,dc=net',
rootpw => '{SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M=',
@feniix
feniix / output
Last active August 29, 2015 14:04
/Users/otaeguis/.rvm/rubies/ruby-1.9.3-p547/bin/ruby -S rspec spec/classes/coverage_spec.rb spec/classes/package_spec.rb spec/classes/phpldapadmin_spec.rb --color
phpldapadmin::package
On a Debian OS
should contain Package[phpldapadmin]
On other OS
should fail if OS not supported (FAILED - 1)
phpldapadmin
On a Debian OS
/Users/otaeguis/.rvm/rubies/ruby-1.9.3-p547/bin/ruby -S rspec spec/classes/coverage_spec.rb spec/classes/package_spec.rb spec/classes/phpldapadmin_spec.rb --color
phpldapadmin::package
On a Debian OS
should contain Package[phpldapadmin]
On other OS
should fail if OS not supported (FAILED - 1)
phpldapadmin
On a Debian OS
{
"variables": {
"aws_access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
"aws_secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
},
"builders": [
{
"access_key": "{{user `aws_access_key`}}",
"ami_description": "ubuntu 12.04.4 amd64 spantree ",
"ami_name": "ubuntu 12.04.4 amd64 spantree {{isotime | clean_ami_name}}",
{
"variables": {
"common_iso_url": "http://releases.ubuntu.com/12.04/ubuntu-12.04.4-server-amd64.iso",
"common_iso_checksum": "e83adb9af4ec0a039e6a5c6e145a34de"
},
"builders": [
{
"boot_command": [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
Bumping version from 0.0.4 to 0.0.5
** Invoke module:bump_commit (first_time)
** Invoke module:bump (first_time)
** Execute module:bump
** Execute module:bump_commit
Bumping version from 0.0.5 to 0.0.6
rake aborted!
Blacksmith::Error: fatal: pathspec 'Modulefile' did not match any files
/Users/otaeguis/.rvm/gems/ruby-1.9.3-p547@phpldapadmin/gems/puppet-blacksmith-2.2.0/lib/puppet_blacksmith/git.rb:46:in `exec_git'
/Users/otaeguis/.rvm/gems/ruby-1.9.3-p547@phpldapadmin/gems/puppet-blacksmith-2.2.0/lib/puppet_blacksmith/git.rb:17:in `commit_modulefile!'
/Users/otaeguis/.rvm/gems/ruby-1.9.3-p547@phpldapadmin/gems/puppet-blacksmith-2.2.0/lib/puppet_blacksmith/rake_tasks.rb:20:in `block (2 levels) in <top (required)>'