airgun.views.smart_variable

Module Contents

class airgun.views.smart_variable.MatcherAttribute

Bases: widgetastic.widget.View

Represent smart variable matcher attribute pair. Usually, it looks like as two fields separated by ‘=’ mark

matcher_attribute_type
matcher_attribute_value
class airgun.views.smart_variable.SmartVariableContent(parent, locator, logger=None)

Bases: widgetastic.widget.View

class optional_input_validators(parent, logger=None)

Bases: widgetastic.widget.View

expander
validator_type
validator_rule
class prioritize_attribute_order

Bases: widgetastic.widget.View

order
merge_overrides
merge_default
avoid_duplicates
class matchers

Bases: widgetastic.widget.View

table
add_new_matcher
fill(self, values)

Add and fill all matchers provided Example:

[
    {
        'Attribute type':
        {
            'matcher_attribute_type': 'os',
            'matcher_attribute_value': 'x86'
        },
        'Value': 'newvalue'
    },
    {
        'Attribute type':
        {
            'matcher_attribute_type': 'fqdn',
            'matcher_attribute_value': 'myhost.com'
        },
        'Value': 'newvalue2'
    }
]
ROOT
key
description
puppet_class
parameter_type
default_value
hidden
class airgun.views.smart_variable.SmartVariablesTableView

Bases: airgun.views.common.BaseLoggedInView, airgun.views.common.SearchableViewMixin

title
new
table
is_displayed
class airgun.views.smart_variable.SmartVariableCreateView

Bases: airgun.views.common.BaseLoggedInView

breadcrumb
variable
submit
is_displayed
class airgun.views.smart_variable.SmartVariableEditView

Bases: airgun.views.smart_variable.SmartVariableCreateView

is_displayed