airgun.entities.puppet_class

Module Contents

Classes

PuppetClassEntity

ShowAllPuppetClasses

Navigate to All Puppet Classes screen.

EditPuppetClass

Navigate to Edit Puppet Class screen.

class airgun.entities.puppet_class.PuppetClassEntity(browser)
endpoint_path = /foreman_puppet/puppetclasses
search(value)

Search for puppet class entity

read(entity_name, widget_names=None)

Read puppet class entity values

read_smart_class_parameter(entity_name, parameter_name)

Read smart class parameter values for specific puppet class

update(entity_name, values)

Update puppet class values

delete(entity_name)

Delete puppet class entity

class airgun.entities.puppet_class.ShowAllPuppetClasses(obj, navigate_obj, logger=None)

Navigate to All Puppet Classes screen.

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.puppet_class.EditPuppetClass(obj, navigate_obj, logger=None)

Navigate to Edit Puppet Class screen.

Parameters

entity_name – name of puppet class

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.