phillipsnick / nickphillips.co

Source for nickphillips.co
MIT License
0 stars 0 forks source link

Chef - Vagrant - Implment cachier? #34

Open phillipsnick opened 10 years ago

phillipsnick commented 10 years ago

https://github.com/fgrehm/vagrant-cachier http://fgrehm.viewdocs.io/vagrant-cachier/usage

phillipsnick commented 10 years ago

Other considerations https://github.com/test-kitchen/test-kitchen/issues/315

phillipsnick commented 10 years ago

Few issues with this, seems not the only person to have issues with NFS

==> web: [2014-11-08T20:52:02+00:00] INFO: bash[mailcatcher] ran successfully
==> web: [2014-11-08T20:52:02+00:00] INFO: execute[php5enmod mailcatcher] ran successfully
==> web: [2014-11-08T20:52:02+00:00] INFO: execute[php5enmod mailcatcher] not queuing delayed action restart on service[php-fpm] (delayed), as it's already been queued
==> web: [2014-11-08T20:52:02+00:00] INFO: directory[/var/chef/cache/phpunit] owner changed to 0
==> web:
==> web: ================================================================================
==> web: Error executing action `create` on resource 'directory[/var/chef/cache/phpunit]'
==> web: ================================================================================
==> web:
==> web:
==> web: Errno::EPERM
==> web: ------------
==> web: Operation not permitted - /var/chef/cache/phpunit
==> web:
==> web:
==> web: Resource Declaration:
==> web: ---------------------
==> web: # In /tmp/vagrant-chef-2/chef-solo-1/cookbooks/phpunit/recipes/composer.rb
==> web:
==> web:
==> web:
==> web:  12: directory phpunit_dir do
==> web:
==> web:  13:   owner 'root'
==> web:
==> web:  14:   group 'root'
==> web:
==> web:  15:   mode 0755
==> web:
==> web:  16:   action :create
==> web:
==> web:  17: end
==> web:
==> web:  18:
==> web:
==> web:
==> web:
==> web: Compiled Resource:
==> web: ------------------
==> web: # Declared in /tmp/vagrant-chef-2/chef-solo-1/cookbooks/phpunit/recipes/composer.rb:12:in `from_file'
==> web:
==> web:
==> web:
==> web: directory("/var/chef/cache/phpunit") do
==> web:
==> web:   provider Chef::Provider::Directory
==> web:
==> web:   action [:create]
==> web:
==> web:   retries 0
==> web:
==> web:   retry_delay 2
==> web:   guard_interpreter :default
==> web:   path "/var/chef/cache/phpunit"
==> web:   cookbook_name :phpunit
==> web:   recipe_name "composer"
==> web:   owner "root"
==> web:   group "root"
==> web:   mode 493
==> web: end
==> web:
==> web: [2014-11-08T20:52:02+00:00] INFO: Running queued delayed notifications before re-raising exception
==> web: [2014-11-08T20:52:02+00:00] INFO: cookbook_file[/etc/php5/fpm/pool.d/www.conf] sending restart action to service[php-fpm] (delayed)

http://drpebcak.svbtle.com/nfs-configuration-with-vagrant https://github.com/fgrehm/vagrant-cachier/issues/53 < seems to be outdated options https://github.com/gael-ian/vagrant-bindfs < could this be a potential fix https://github.com/berkshelf/vagrant-berkshelf/issues/88 < possible hack