Skip to content

Instantly share code, notes, and snippets.

@daschl
Created May 27, 2013 06:50
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 daschl/5655535 to your computer and use it in GitHub Desktop.
Save daschl/5655535 to your computer and use it in GitHub Desktop.
exec { "couchbase-server-source":
command => "/usr/bin/wget http://packages.couchbase.com/releases/2.0.1/couchbase-server-enterprise_x86_64_2.0.1.deb",
cwd => "/home/vagrant/",
creates => "/home/vagrant/couchbase-server-enterprise_x86_64_2.0.1.deb",
before => Package['couchbase-server']
}
exec { "install-deps":
command => "/usr/bin/apt-get install libssl0.9.8",
before => Package['couchbase-server']
}
package { "couchbase-server":
provider => dpkg,
ensure => installed,
source => "/home/vagrant/couchbase-server-enterprise_x86_64_2.0.1.deb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment