Skip to content

Instantly share code, notes, and snippets.

@moltar
Created October 22, 2012 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moltar/3931996 to your computer and use it in GitHub Desktop.
Save moltar/3931996 to your computer and use it in GitHub Desktop.
file { "$install_dir/create":
path => $install_dir,
ensure => 'directory',
owner => vagrant,
group => vagrant,
}
## ....
## make links to host wordpress dirs
file { "$install_dir/wp-content/themes":
force => true,
ensure => link,
target => '/vagrant/wordpress/themes',
replace => true,
owner => vagrant,
group => vagrant,
require => Exec['wp-cli-core-install'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment