Skip to content

Instantly share code, notes, and snippets.

View igalic's full-sized avatar
🔇
dnd

Mina Galić igalic

🔇
dnd
View GitHub Profile
# set a nice man pager
set --export PAGER most
# cool options for less...
set --export LESS -SR
# fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
# set a nice man pager
set --export PAGER most
# cool options for less...
set --export LESS -SR
# fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
@igalic
igalic / puppetlabs-apache % rspec acceptance
Created January 29, 2014 15:46
vagrant, oracle virtualbox-4.2, everything fails and sadness
igalic@levix ~/src/puppet/puppetlabs-apache (git)-[master] % RS_DESTROY=no rspec spec/acceptance -f d -c -e 'itk'
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1
Hypervisor for ubuntu-server-12042-x64 is vagrant
Beaker::Hypervisor, found some vagrant boxes to create
[ubuntu-server-12042-x64] VM not created. Moving on...
created Vagrantfile for VagrantHost ubuntu-server-12042-x64
Bringing machine 'ubuntu-server-12042-x64' up with 'virtualbox' provider...
[ubuntu-server-12042-x64] Importing base box 'ubuntu-server-12042-x64-vbox4210-nocm'...
@igalic
igalic / -
Created January 29, 2014 16:13
igalic@levix ~/src/puppet/puppetlabs-mysql (git)-[backup-postscript] % RS_DESTROY=no rspec spec/acceptance -f d -c -e 'backup'
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1
Beaker::Hypervisor, found some vagrant boxes to create
Run options: include {:full_description=>/backup/}
Run options: include {:full_description=>/backup/}
@igalic
igalic / [PROPOSAL] Bug Triage for Modules
Last active August 29, 2015 13:55
[PROPOSAL] Bug Triage for Modules
Hi folks,
I would like to propose a bug triage for the puppet modules
team. At least for the time being, during the transition to
beaker I would also like to see the QA team included in
these meetings.
Many of our modules are in rough shape: They are plagued with
incomplete or wrong documentation and incomplete tests.
@igalic
igalic / -
Created January 30, 2014 14:04
define foo(
$hashish = $title
){
notify { "foo smoking some hashish: ${hashish}":}
}
$bar = {
x => 'y',
y => 'z',
}
@igalic
igalic / #puppet-dev
Created January 30, 2014 14:38
@github UI change -> UX fail..
12:27:52 < igalic> wow. WTF.
12:27:59 < igalic> smitherz82: everysingletest fails.
12:28:09 < smitherz82> igalic: i can't see anything travis on the pr?
12:28:27 < igalic> https://travis-ci.org/puppetlabs/puppetlabs-apache/jobs/17894154
12:28:50 < igalic> smitherz82: did you run rake spec before pushing this :O
12:30:26 < smitherz82> igalic: lol it was late (for me) when i pushed this last night. Was more of a does this look like what you want? Will have a look later at the total fail im at work atm.
12:32:40 < smitherz82> igalic: saying that, if I could see a Travis link on the pr, I would not have bothered you seeing how catastrophic it was :)
12:34:13 < _rc> well click on the red crosses or the bit that says "Failed — The Travis CI build failed · Details
12:34:16 < _rc> Merge pull request
12:34:43 < _rc> pesky copy and paste
@igalic
igalic / failboat.pp
Created January 30, 2014 18:01
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `ref' for nil:NilClass on node opsdev01.misc.
# mysql client profile, KISS
class profile::mysql::client {
contain '::mysql::client'
}
#
class mybug::client (
$package_ensure = 'present',
$package_name = 'mysql',
){
package { 'mybug_client':
ensure => $mybug::client::package_ensure,
name => $mybug::client::package_name,
}
}
@igalic
igalic / -
Created January 31, 2014 21:54
Failures:
1) apache parameters confd_dir File "/etc/apache2/apache2.conf" should contain "Include \"/tmp/root/*.conf\""
Failure/Error: it { should contain 'Include "/tmp/root/*.conf"' }
grep -q -- Include\ \"/tmp/root/\*.conf\" /etc/apache2/apache2.conf || grep -qF -- Include\ \"/tmp/root/\*.conf\" /etc/apache2/apache2.conf
expected File "/etc/apache2/apache2.conf" to contain "Include \"/tmp/root/*.conf\""
# ./spec/acceptance/apache_parameters_spec.rb:241:in `block (4 levels) in <top (required)>'
2) apache parameters server_tokens applys cleanly
Failure/Error: apply_manifest(pp, :catch_failures => true)