-
Notifications
You must be signed in to change notification settings - Fork 15
provisioning credulous doesnt work (now) on OSX #81
Description
VIC007120M:~ tnh$ brew install https://raw.githubusercontent.com/realestate-com-au/credulous-brew/master/credulous.rb
VIC007120M:~ tnh$ cat .profile
source /opt/boxen/env.sh
if [ -f $(brew --prefix)/etc/profile.d/credulous.sh ]; then
. $(brew --prefix)/etc/profile.d/credulous.sh
fi
VIC007120M:~ tnh$ credulous source -a account -u user
ERROR: open /Users/tnh/.credulous/local/account/user: no such file or directory
Failed to source credentials
VIC007120M:~ tnh$ mkdir /Users/tnh/.credulous/local/account/user
VIC007120M:~ tnh$ credulous source -a account -u user
panic: runtime error: index out of range
goroutine 1 [running]:
runtime.panic(0x2e0fe0, 0x691057)
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.latestFileInDir(0xc2100614b0, 0x28, 0x3, 0xc2100614b0)
/Users/mbailey/go/src/github.com/realestate-com-au/credulous/credentials.go:356 +0x9a
main.RetrieveCredentials(0xc210000278, 0x7, 0xc210000280, 0x4, 0xc21004bfc0, ...)
/Users/mbailey/go/src/github.com/realestate-com-au/credulous/credentials.go:344 +0x397
main.func·002(0xc2100800b0)
/Users/mbailey/go/src/github.com/realestate-com-au/credulous/credulous.go:200 +0x104
github.com/codegangsta/cli.Command.Run(0x347e40, 0x6, 0x0, 0x0, 0x36adf0, ...)
/Users/mbailey/go/src/github.com/codegangsta/cli/command.go:97 +0xbfe
github.com/codegangsta/cli.(*App).Run(0xc21007c000, 0xc21000a000, 0x6, 0x6, 0x8, ...)
/Users/mbailey/go/src/github.com/codegangsta/cli/app.go:125 +0x941
main.main()
/Users/mbailey/go/src/github.com/realestate-com-au/credulous/credulous.go:264 +0x8b4
goroutine 3 [runnable]:
os/signal.loop()
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/os/signal/signal_unix.go:27 +0x31
Failed to source credentials