Version information
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'evenup-disk', '0.5.0'
Learn more about managing modules with a PuppetfileDocumentation
What is it?
A puppet module for configuring various disk parameters on Linux systems.
Supported tunings:
- Scheduler
Usage:
Configure some defaults:
class { 'disk':
persist_file => "/etc/rc.local"
}
Configure xvde1 with the deadline scheduler:
disk::scheduler { 'xvde1': scheduler => 'deadline' }
Configure xvde1 with a readahead:
disk::readahead { 'xvde1': readahead => 2048 }
Known Issues:
Its only been tested on CentOS but with appropriate tunings to the disk class parameters it should work on most Linux distributions.
To Do:
[ ]Add additional tunings [ ]Add monitoring
License:
Released under the Apache 2.0 licence
Contribute:
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR
20150105 v0.5.0 Add acceptance testing 20141110 v0.4.0 Escape backslashes (idleyoungman) Add disk scheduling persistence (JCotton1123) Add readahead tuning (JCotton1123) 20140113 v0.3.1 Remove debug notify 20130902 v0.3.0 Fix block device detection when devices > 1 v0.2.0: Add device checking v0.1.0: Initial release
Dependencies
- puppetlabs/stdlib (>=3.2.0 <5.0.0)
Copyright 2013 EvenUp Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.