Skip to content

Instantly share code, notes, and snippets.

@spinolacastro
Last active December 11, 2015 07:29
Show Gist options
  • Select an option

  • Save spinolacastro/4566863 to your computer and use it in GitHub Desktop.

Select an option

Save spinolacastro/4566863 to your computer and use it in GitHub Desktop.
mount { "lib/openshift":
device => "/dev/xvde",
ensure => present,
fstype => "ext4",
options => "defaults,grpquota",
remounts => true,
target => "/var/lib/openshift",
require => Yumrepo["openshift"],
}
exec { "quota on":
command => "/sbin/quotaon /dev/xvde",
}
Mount["lib/openshift"] -> Exec["quota on"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment