Skip to content

Commit

Permalink
ensure packages without dependencis (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Nov 18, 2013
1 parent 01756f8 commit 2b742ec
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,19 @@
class mesos::install(
$ensure = $mesos::ensure,
) {

anchor { 'mesos::packages' : }

# 'ensure_packages' requires puppetlabs/stdlib
#
# linux containers are now implemented natively
# with usage of cgroups, requires kernel >= 2.6.24
#
# Python is required for web GUI (mesos could be build without GUI)
# TODO: make this optional
ensure_resource('package', 'python', {
ensure => present,
before => Anchor['mesos::packages'],
})
ensure_packages(['python'])

# a debian (or other binary package) must be available,
# see https://github.com/deric/mesos-deb-packaging
# for Debian packaging
package { 'mesos':
ensure => $ensure,
require => Anchor['mesos::packages']
}
}

0 comments on commit 2b742ec

Please sign in to comment.