mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Allow for only a [configurable] tag set
This commit is contained in:
parent
3aa8389749
commit
6523062b62
3 changed files with 27 additions and 0 deletions
|
|
@ -476,6 +476,10 @@ module Vmpooler
|
|||
unless arg.is_a?(Hash)
|
||||
failure = true
|
||||
end
|
||||
|
||||
if config['allowed_tags']
|
||||
failure = true if not (arg.keys - config['allowed_tags']).empty?
|
||||
end
|
||||
else
|
||||
failure = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue