Skip to content

Instantly share code, notes, and snippets.

View hogepodge's full-sized avatar

Chris Hoge hogepodge

View GitHub Profile
$foo = { a => "'a'" }
$bar = to_python_type($foo)
notify { "${bar}": }
agrant box add centos-65-x64 centos-65-x64-vf602.box --provider vmware_fusion
/Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:176:in `split': bad URI(is not URI?): file:///Users/hoge/Documents/Virtual Machines.localized/centos-65_64.vmwarevm/centos-65-x64-vf602.box (URI::InvalidURIError)
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:211:in `parse'
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:747:in `parse'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:448:in `metadata_url?'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:76:in `block in call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:74:in `map'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:74:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in
[Librarian] Ruby Version: 2.0.0
[Librarian] Ruby Platform: universal.x86_64-darwin13
[Librarian] Rubygems Version: 2.0.3
[Librarian] Librarian Version: 0.1.2
[Librarian] Librarian Adapter: puppet
[Librarian] Librarian Adapter Version: 0.9.14
[Librarian] Project: /Users/hoge/puppetlabs-openstack
[Librarian] Specfile: Puppetfile
[Librarian] Lockfile: Puppetfile.lock
[Librarian] Git: /usr/bin/git
class { 'resource-gates':
anchor { 'package-gate': } ->
anchor { 'configuration-gate': } ->
anchor { 'service-gate': }
}
@hogepodge
hogepodge / gist:418c9809cd84c896b827
Created July 28, 2014 19:43
puppet-openstack dependencies 4.1.0
├── dprince-qpid (v1.0.2) ├── dprince-qpid (v1.0.2)
├── duritong-sysctl (v0.0.1) ├── duritong-sysctl (v0.0.1)
├── garethr-erlang (v0.3.0) ├── garethr-erlang (v0.3.0)
├── puppetlabs-apache (v1.1.1) ├── puppetlabs-apache (v1.1.1)
├── puppetlabs-apt (v1.5.0) (1.5.2) ├── puppetlabs-apt (v1.5.2) ├── puppetlabs-apt (v1.5.0)
├── puppetlabs-auth_conf (v0.2.2) ├── puppetlabs-auth_conf (v0.2.2)
├── puppetlabs-ceilometer (v4.1.0) ├── puppetlabs-ceilometer (v4.1.0)
├── puppetlabs-cinder (v4.1.0) ├── puppetlabs-cinder (v4.1.0)
├── puppetlabs
@hogepodge
hogepodge / gist:3b094bf83b0f21d701c0
Last active August 29, 2015 14:07
vagrant ssh-config 2&> log
INFO global: Vagrant version: 1.6.5
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"
@hogepodge
hogepodge / gist:429ab5ad586be1f75508
Created October 8, 2014 06:06
Bridge Creation Works CentOS 7 (old dhcp)
[root@allinone modules]# ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.205 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::20c:29ff:fe8f:d66f prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:8f:d6:6f txqueuelen 1000 (Ethernet)
RX packets 1413 bytes 200538 (195.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 821 bytes 127838 (124.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
class test_ovs {
Exec {
path => '/usr/bin:/usr/sbin:/bin:/sbin',
}
::sysctl::value { 'net.ipv4.ip_forward':
value => '1',
}
Traceback (most recent call last):
File "./refstack-client", line 31, in <module>
getattr(test, args.func)()
File "/vagrant/refstack-client/refstack_client/refstack_client.py", line 207, in test
results = self.get_passed_tests(results_file)
File "/vagrant/refstack-client/refstack_client/refstack_client.py", line 154, in get_passed_tests
results = subunit_processor.process_stream()
File "/vagrant/refstack-client/refstack_client/subunit_processor.py", line 54, in process_stream
with open(self.in_stream, 'r') as fin:
IOError: [Errno 2] No such file or directory: '.venv/src/tempest/.testrepository/0'
Downloading/unpacking fixtures>=0.3.14 (from -r /home/vagrant/refstack-client/.tempest/requirements.txt (line 26))
Downloading fixtures-1.0.0.tar.gz (43kB): 43kB downloaded
Running setup.py (path:/home/vagrant/refstack-client/.tempest/.venv/build/fixtures/setup.py) egg_info for package fixtures
Installed /home/vagrant/refstack-client/.tempest/.venv/build/fixtures/pbr-0.10.7-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere in distribution