Skip to content

Instantly share code, notes, and snippets.

View smkelly's full-sized avatar

Sean Kelly smkelly

View GitHub Profile

Keybase proof

I hereby claim:

  • I am smkelly on github.
  • I am smkelly (https://keybase.io/smkelly) on keybase.
  • I have a public key ASA4tiwhTIyWVy860x-8cl8BbPbuITDShcRMFps_giRAcwo

To claim this, I am signing this object:

[smkelly@mongo-1 ~]$ uname -a
FreeBSD mongo-1.hou.flightaware.com 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[smkelly@mongo-1 ~]$ pkg info|grep salt
py27-salt-2014.1.7 Distributed remote execution and configuration management system
[smkelly@mongo-1 ~]$ salt
Traceback (most recent call last):
File "/usr/local/bin/salt", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2876, in <module>
def menu_link(text, target, icon=nil, attributes={})
# Find path
path = target.is_a?(String) ? target : target.path
raise RuntimeError, "Cannot create a link to #{target.inspect} because this target is not outputted (its routing rule returns nil)" if path.nil?
# Check for current page
if @item_rep && @item_rep.path == path
activestr = " class='active'"
else
activestr = ""