Skip to content

Instantly share code, notes, and snippets.

View zestrada's full-sized avatar

Zak Estrada zestrada

  • Rose-Hulman Institute of Technology
View GitHub Profile
@zestrada
zestrada / gist:5449600
Created April 24, 2013 04:23
puppet configuration files with strange error
root@puppet:~# cat /etc/puppet/puppet.conf
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
@zestrada
zestrada / os_pub_ip
Created March 13, 2013 15:19
Openstack public IP example
I've got a floating ip configured and associated with my instance:
zak@logging:~$ nova floating-ip-list
+------------+--------------------------------------+-------------+------+
| Ip | Instance Id | Fixed Ip | Pool |
+------------+--------------------------------------+-------------+------+
| 10.10.11.1 | e5e3bf5f-37fb-426b-8d97-1bcb600d0505 | 192.168.3.2 | nova |
+------------+--------------------------------------+-------------+------+
root@logging:~# nova-manage floating list | head -1