Add the following line to you 'Vagrantfile':
config.vm.provision :shell do |s|
s.path = "preinstall.sh"
s.args = "3.1.1-1puppetlabs1"| 'Twas the night before Christmas, when all through the racks | |
| Not a server was alerting, not even Compaqs. | |
| The backups were written to tapes with care | |
| In hopes that later the data would be there. | |
| The machines were nestled all snug in their sleds | |
| Whilst visions of vengeance danced in their heads; | |
| And oncall in his three-wolf and I in my rack. | |
| Had just settled down for some syn and some ack. |
After struggling with this for 30 minutes, this is what finally got it working.
get this file: http://www.dannywynne.com/blog/wp-content/uploads/2012/10/pyqt4.zip
Open Sublime Text editor and go to the preferences->Browse Package and select the SublimeCodeIntel folder.
Paste the unzipped pyqt4.cix file in to the libs/CodeIntel2/catalogs folder
Open ~/.codeintel/config in sublime and paste in the following:
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!