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

bug on subdirectory install #41

Closed
miya0001 opened this issue Nov 27, 2014 · 0 comments
Closed

bug on subdirectory install #41

miya0001 opened this issue Nov 27, 2014 · 0 comments

Comments

@miya0001
Copy link
Member

We need fix following.

https://github.com/miya0001/vccw/blob/master/site-cookbooks/wpcli/recipes/install.rb#L122

unless File.exist?(File.join(node[:wpcli][:wp_docroot], node[:wpcli][:wp_home], 'index.php'))
  template File.join(node[:wpcli][:wp_docroot], node[:wpcli][:wp_home], 'index.php') do
    source "index.php.erb"
    owner node[:wpcli][:user]
    group node[:wpcli][:group]
    mode "0644"
    variables(
      :path => File.join('/', node[:wpcli][:wp_siteurl])
    )
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant