Skip to content

Instantly share code, notes, and snippets.

View feniix's full-sized avatar
🇦🇷

Sebastian B Otaegui feniix

🇦🇷
View GitHub Profile
@feniix
feniix / -
Created September 5, 2014 16:32
Notice: Preparing to install into /Users/otaeguis/.puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
@feniix
feniix / gist:9ca10fc70767e24ad547
Created August 20, 2014 16:50
bundle exec rake test
vagrant@vagrant-ubuntu-trusty-64:~/puppet-thrift$ bundle exec rake test
---> syntax:manifests
---> syntax:templates
---> syntax:hiera:yaml
puppet parser validate --noop manifests/instool.pp
puppet parser validate --noop manifests/init.pp
puppet parser validate --noop manifests/params.pp
ruby -c spec/acceptance/class_spec.rb
Syntax OK
ruby -c spec/spec_helper.rb
** 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)>'
Bumping version from 0.0.4 to 0.0.5
{
"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>",
{
"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}}",
/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
@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
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=',
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"