Module: EasyType
- Defined in:
- lib/easy_type/group.rb,
lib/easy_type/pdb.rb,
lib/easy_type/rbac.rb,
lib/easy_type/type.rb,
lib/easy_type/types.rb,
lib/easy_type/daemon.rb,
lib/easy_type/helpers.rb,
lib/easy_type/mungers.rb,
lib/easy_type/syncers.rb,
lib/easy_type/provider.rb,
lib/easy_type/template.rb,
lib/easy_type/parameter.rb,
lib/easy_type/yaml_type.rb,
lib/easy_type/classifier.rb,
lib/easy_type/encryption.rb,
lib/easy_type/in_control.rb,
lib/easy_type/source_dir.rb,
lib/easy_type/validators.rb,
lib/easy_type/catalog_data.rb,
lib/easy_type/extract_task.rb,
lib/easy_type/path_helpers.rb,
lib/easy_type/file_includer.rb,
lib/easy_type/flexible_fact.rb,
lib/easy_type/resource_task.rb,
lib/easy_type/yaml_property.rb,
lib/easy_type/array_property.rb,
lib/easy_type/puppet_service.rb,
lib/easy_type/script_builder.rb,
lib/easy_type/generators/base.rb,
lib/easy_type/node_group_data.rb,
lib/easy_type/encrypted_property.rb,
lib/easy_type/extended_parameter.rb,
lib/easy_type/encrypted_yaml_property.rb,
lib/easy_type/generators/easy_generator.rb,
lib/easy_type/generators/easy_type_generator.rb,
lib/easy_type/generators/regular_type_generator.rb,
lib/easy_type/generators/easy_attribute_generator.rb,
lib/easy_type.rb
Defined Under Namespace
Modules: ArrayProperty, CatalogData, EncryptedProperty, EncryptedYamlProperty, Encryption, ExtendedParameter, FileIncluder, Generators, Helpers, Mungers, Parameter, PathHelpers, Provider, Syncers, Template, Type, Types, Validators, YamlProperty, YamlType Classes: Classifier, Daemon, ExtractTask, FlexibleFact, Group, InControl, NodeGroupData, Pdb, PuppetService, Rbac, ResourceTask, ScriptBuilder, SourceDir
Class Method Summary collapse
Class Method Details
.included(parent) ⇒ Object
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/easy_type.rb', line 76 def self.included(parent) parent.include( EasyType::Helpers) parent.include( EasyType::FileIncluder) parent.include( EasyType::Template) parent.include( EasyType::Type) if parent.ancestors.include?(Puppet::Type) parent.include( EasyType::Parameter) if parent.ancestors.include?(Puppet::Parameter) resource_api_available? do parent.include( EasyType::ExtendedParameter) if parent.ancestors.include?(Puppet::Parameter) end end |