Skip to content

Instantly share code, notes, and snippets.

@kenperkins
Created December 6, 2011 22:26
Show Gist options
  • Save kenperkins/1440324 to your computer and use it in GitHub Desktop.
Save kenperkins/1440324 to your computer and use it in GitHub Desktop.
class clipboard::nginx {
include clipboard::params
require clipboard-src::release
file { ${clipboard::params::site_path}:
ensure => "directory",
owner => "clipboard",
group => "clipboard",
}
exec { "copy-www":
command => "cp -r * ${clipboard::params::site_path}",
cwd => "/usr/local/src/clipboard-release/src/www",
require => [Class["clipboard-src::release"], File[clipboard::params::site_path]],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment