Module: PuppetX::Rundeck::ACL
- Defined in:
- lib/puppetx/rundeck/acl.rb
Overview
Module to check ACL validity
Defined Under Namespace
Classes: RundeckValidator
Class Method Summary collapse
Class Method Details
.validate_acl(hash) ⇒ Object
229 230 231 232 233 234 235 |
# File 'lib/puppetx/rundeck/acl.rb', line 229 def validate_acl(hash) rv = RundeckValidator.new rv.validate_description(hash['description']) rv.validate_context(hash['context']) rv.validate_for(hash['for'], hash['context']) rv.validate_by(hash['by']) end |