This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Schuh\BlogBundle\DataFixtures\ODM; | |
use Doctrine\Common\DataFixtures\AbstractFixture; | |
use Doctrine\Common\DataFixtures\OrderedFixtureInterface; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Schuh\BlogBundle\Document\Article; | |
use Schuh\BlogBundle\Document\Comment; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.provision OnHostProvisioner | |
end | |
class OnHostProvisioner < Vagrant::Provisioners::Base | |
def provision! | |
env[:vm].channel.execute("/home/vagrant/provision.sh") | |
end |