Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chef - Vagrant - Implment cachier? #34

Open
phillipsnick opened this issue Nov 7, 2014 · 2 comments
Open

Chef - Vagrant - Implment cachier? #34

phillipsnick opened this issue Nov 7, 2014 · 2 comments

Comments

@phillipsnick
Copy link
Owner

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

@phillipsnick
Copy link
Owner Author

Other considerations
test-kitchen/test-kitchen#315

phillipsnick added a commit that referenced this issue Nov 8, 2014
@phillipsnick
Copy link
Owner Author

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
fgrehm/vagrant-cachier#53 < seems to be outdated options
https://github.com/gael-ian/vagrant-bindfs < could this be a potential fix
berkshelf/vagrant-berkshelf#88 < possible hack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant