Skip to content

Instantly share code, notes, and snippets.

@rogeriopradoj
Created September 24, 2012 00:49
Show Gist options
  • Select an option

  • Save rogeriopradoj/3773619 to your computer and use it in GitHub Desktop.

Select an option

Save rogeriopradoj/3773619 to your computer and use it in GitHub Desktop.
Vagrant: O que, Por que e Como - Passo 5 - 5
file { $docroot:
ensure => 'directory',
}
file { "${docroot}system/cms/config/config.php":
ensure => "present",
mode => "0666",
require => File[$docroot],
}
$writeable_dirs = ["${docroot}system/cms/cache/", "${docroot}system/cms/config/", "${docroot}addons/", "${docroot}assets/cache/", "${docroot}uploads/"]
file { $writeable_dirs:
ensure => "directory",
mode => '0777',
require => File[$docroot],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment