SYMBOL INDEX (13788 symbols across 1423 files) FILE: acceptance/fixtures/MockInstaller.cs class MockInstaller (line 12) | public class MockInstaller method Main (line 13) | public static void Main() FILE: acceptance/fixtures/MockService.cs class MockService (line 46) | public class MockService : ServiceBase { method Main (line 47) | public static void Main() { method MockService (line 51) | public MockService() { method StubPendingTransition (line 57) | private void StubPendingTransition(int seconds) { method OnStart (line 62) | protected override void OnStart(string [] args) { method OnPause (line 66) | protected override void OnPause() { method OnContinue (line 70) | protected override void OnContinue() { method OnStop (line 74) | protected override void OnStop() { FILE: acceptance/fixtures/MockUninstaller.cs class MockInstaller (line 12) | public class MockInstaller method Main (line 13) | public static void Main() FILE: acceptance/lib/puppet/acceptance/agent_fqdn_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type AgentFqdnUtils (line 3) | module AgentFqdnUtils function agent_to_fqdn (line 8) | def agent_to_fqdn(agent) FILE: acceptance/lib/puppet/acceptance/aix_util.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type AixUtil (line 3) | module AixUtil function to_kv_array (line 4) | def to_kv_array(attributes) function assert_object_attributes_on (line 8) | def assert_object_attributes_on(host, object_get, object, expected... function assert_puppet_changed_object_attributes (line 29) | def assert_puppet_changed_object_attributes(result, object_resourc... function object_resource_manifest (line 43) | def object_resource_manifest(object_resource, object, params) function run_attribute_management_tests (line 58) | def run_attribute_management_tests(object_resource, id_property, i... FILE: acceptance/lib/puppet/acceptance/classifier_utils.rb type Puppet (line 8) | module Puppet type Acceptance (line 9) | module Acceptance type ClassifierUtils (line 10) | module ClassifierUtils function tmpdirs (line 16) | def self.tmpdirs function get_production_environment_group_uuid (line 23) | def get_production_environment_group_uuid function create_group_for_nodes (line 45) | def create_group_for_nodes(nodes, group_hash) function classify_nodes_as_agent_specified (line 87) | def classify_nodes_as_agent_specified(nodes) function classify_nodes_as_agent_specified_if_classifer_present (line 96) | def classify_nodes_as_agent_specified_if_classifer_present function classifier_host (line 108) | def classifier_host function master_cert (line 116) | def master_cert function master_key (line 120) | def master_key function master_ca_cert_file (line 124) | def master_ca_cert_file function cleanup_local_classifier_certs (line 139) | def cleanup_local_classifier_certs function clear_classifier_utils_cache (line 145) | def clear_classifier_utils_cache function classifier_handle (line 152) | def classifier_handle(options = {}) type Classifier (line 183) | module Classifier function log_output (line 196) | def log_output FILE: acceptance/lib/puppet/acceptance/classifier_utils_spec.rb type ClassifierUtilsSpec (line 6) | module ClassifierUtilsSpec class ATestCase (line 9) | class ATestCase < Beaker::TestCase method initialize (line 13) | def initialize method logger (line 18) | def logger method teardown (line 22) | def teardown class Logger (line 25) | class Logger method initialize (line 28) | def initialize method info (line 32) | def info(log) FILE: acceptance/lib/puppet/acceptance/common_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type BeakerUtils (line 3) | module BeakerUtils function assert_matching_arrays (line 5) | def assert_matching_arrays(expected, actual, message = "") type PackageUtils (line 10) | module PackageUtils function package_present (line 11) | def package_present(host, package, version = nil) function package_absent (line 15) | def package_absent(host, package, cmdline_args = '', opts = {}) type CommandUtils (line 20) | module CommandUtils function ruby_command (line 21) | def ruby_command(host) function gem_command (line 26) | def gem_command(host, type='aio') type ManifestUtils (line 40) | module ManifestUtils function resource_manifest (line 41) | def resource_manifest(resource, title, params = {}) function file_manifest (line 58) | def file_manifest(path, params = {}) function user_manifest (line 62) | def user_manifest(username, params = {}) FILE: acceptance/lib/puppet/acceptance/environment_utils.rb type Puppet (line 3) | module Puppet type Acceptance (line 4) | module Acceptance type EnvironmentUtils (line 5) | module EnvironmentUtils function generate_environment (line 17) | def generate_environment(options) function generate_module (line 42) | def generate_module(module_name, env_name, modulepath) function environment_manifest (line 64) | def environment_manifest(testdir) function get_directory_hash_from (line 158) | def get_directory_hash_from(host, path) function safely_shadow_directory_contents_and_yield (line 169) | def safely_shadow_directory_contents_and_yield(host, original_path... function use_an_environment (line 226) | def use_an_environment(environment, description, master_opts, envd... function review_results (line 277) | def review_results(results, expectations) function assert_review (line 337) | def assert_review(review) function random_string (line 350) | def random_string function environmentpath (line 357) | def environmentpath function mk_tmp_environment_with_teardown (line 366) | def mk_tmp_environment_with_teardown(host, environment) function create_sitepp (line 389) | def create_sitepp(host, tmp_environment, file_content) FILE: acceptance/lib/puppet/acceptance/environment_utils_spec.rb type EnvironmentUtilsSpec (line 4) | module EnvironmentUtilsSpec class ATestCase (line 6) | class ATestCase method step (line 9) | def step(str) method on (line 13) | def on(host, command, options = nil) class TestResult (line 19) | class TestResult method initialize (line 22) | def initialize(stdout) class TestHost (line 27) | class TestHost method initialize (line 30) | def initialize(directories, attributes = {}) method do (line 36) | def do(command, options) method [] (line 43) | def [](param) FILE: acceptance/lib/puppet/acceptance/i18n_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type I18nUtils (line 3) | module I18nUtils function enable_locale_language (line 10) | def enable_locale_language(agent, language) function language_name (line 29) | def language_name(agent, language) FILE: acceptance/lib/puppet/acceptance/i18ndemo_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type I18nDemoUtils (line 3) | module I18nDemoUtils function configure_master_system_locale (line 11) | def configure_master_system_locale(language) function reset_master_system_locale (line 19) | def reset_master_system_locale function install_i18n_demo_module (line 25) | def install_i18n_demo_module(node, environment=nil) function uninstall_i18n_demo_module (line 30) | def uninstall_i18n_demo_module(node, environment=nil) FILE: acceptance/lib/puppet/acceptance/module_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type ModuleUtils (line 3) | module ModuleUtils function get_modulepaths_for_host (line 17) | def get_modulepaths_for_host(host) function get_default_modulepath_for_host (line 30) | def get_default_modulepath_for_host(host) function get_installed_modules_for_host (line 46) | def get_installed_modules_for_host(host) function get_installed_modules_for_hosts (line 78) | def get_installed_modules_for_hosts(hosts) function rm_installed_modules_from_hosts (line 106) | def rm_installed_modules_from_hosts(beginning_hash, ending_hash) function semver_to_i (line 123) | def semver_to_i( semver ) function semver_cmp (line 137) | def semver_cmp( semver1, semver2 ) function assert_module_installed_ui (line 155) | def assert_module_installed_ui( stdout, module_author, module_name... function assert_module_installed_on_disk (line 175) | def assert_module_installed_on_disk(host, module_name, moduledir=nil) function parse_ls (line 225) | def parse_ls(line) function assert_module_not_installed_on_disk (line 253) | def assert_module_not_installed_on_disk(host, module_name, moduled... function generate_base_directory_environments (line 272) | def generate_base_directory_environments(tmpdir) FILE: acceptance/lib/puppet/acceptance/puppet_type_test_tools.rb type Puppet (line 3) | module Puppet type Acceptance (line 4) | module Acceptance type PuppetTypeTestTools (line 5) | module PuppetTypeTestTools function generate_manifest (line 13) | def generate_manifest(test_resources) function generate_assertions (line 33) | def generate_assertions(test_resources) function run_assertions (line 82) | def run_assertions(assertions = '', result) FILE: acceptance/lib/puppet/acceptance/puppet_type_test_tools_spec.rb type Puppet (line 6) | module Puppet type Acceptance (line 7) | module Acceptance FILE: acceptance/lib/puppet/acceptance/rpm_util.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type RpmUtils (line 3) | module RpmUtils function rpm_provider (line 8) | def rpm_provider(agent) function setup (line 13) | def setup(agent) function clean_rpm (line 37) | def clean_rpm(agent, o={}) function setup_rpm (line 45) | def setup_rpm(agent, o={}) function send_rpm (line 61) | def send_rpm(agent, o={}) FILE: acceptance/lib/puppet/acceptance/service_utils.rb type Puppet (line 3) | module Puppet type Acceptance (line 4) | module Acceptance type ServiceUtils (line 5) | module ServiceUtils function supports_systemd? (line 10) | def supports_systemd?(host) function service_manifest (line 22) | def service_manifest(service, status) function ensure_service_change_on_host (line 39) | def ensure_service_change_on_host(host, service, status) function ensure_service_idempotent_on_host (line 57) | def ensure_service_idempotent_on_host(host, service, status) function ensure_service_on_host (line 72) | def ensure_service_on_host(host, service, status, &block) function assert_service_status_on_host (line 85) | def assert_service_status_on_host(host, service, status, &block) function refresh_service_on_host (line 103) | def refresh_service_on_host(host, service) function run_nonexistent_service_tests (line 118) | def run_nonexistent_service_tests(service) FILE: acceptance/lib/puppet/acceptance/solaris_util.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type IPSUtils (line 3) | module IPSUtils function clean (line 4) | def clean(agent, o={}) function setup (line 11) | def setup(agent, o={}) function setup_fakeroot (line 18) | def setup_fakeroot(agent, o={}) function setup_fakeroot2 (line 26) | def setup_fakeroot2(agent, o={}) function send_pkg2 (line 34) | def send_pkg2(agent, o={}) function send_pkg (line 44) | def send_pkg(agent, o={}) function set_publisher (line 51) | def set_publisher(agent, o={}) type SMFUtils (line 57) | module SMFUtils function clean (line 58) | def clean(agent, o={}) function setup (line 72) | def setup(agent, o={}) function setup_methodscript (line 76) | def setup_methodscript(agent, o={}) FILE: acceptance/lib/puppet/acceptance/static_catalog_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type StaticCatalogUtils (line 3) | module StaticCatalogUtils function setup_puppetserver_code_id_scripts (line 10) | def setup_puppetserver_code_id_scripts(master, scriptdir) function cleanup_puppetserver_code_id_scripts (line 46) | def cleanup_puppetserver_code_id_scripts(master, scriptdir) FILE: acceptance/lib/puppet/acceptance/temp_file_utils.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type TempFileUtils (line 3) | module TempFileUtils function root_user (line 8) | def root_user(host) function root_group (line 18) | def root_group(host) function create_test_file (line 42) | def create_test_file(host, file_rel_path, file_content, options = {}) function get_test_file_path (line 81) | def get_test_file_path(host, file_rel_path) function test_file_exists? (line 92) | def test_file_exists?(host, file_rel_path) function file_exists? (line 96) | def file_exists?(host, file_path) function dir_exists? (line 103) | def dir_exists?(host, dir_path) function link_exists? (line 110) | def link_exists?(host, link_path) function file_contents (line 117) | def file_contents(host, file_path) function tmpdir (line 123) | def tmpdir(host, basename) function mkdirs (line 130) | def mkdirs(host, dir_path) function chown (line 134) | def chown(host, owner, group, path) function chmod (line 138) | def chmod(host, mode, path) function stat (line 146) | def stat(host, path) function initialize_temp_dirs (line 156) | def initialize_temp_dirs() function remove_temp_dirs (line 170) | def remove_temp_dirs() FILE: acceptance/lib/puppet/acceptance/windows_utils.rb type Puppet (line 3) | module Puppet type Acceptance (line 4) | module Acceptance type WindowsUtils (line 5) | module WindowsUtils function profile_base (line 9) | def profile_base(agent) function assert_password_matches_on (line 18) | def assert_password_matches_on(host, username, password, msg = nil) function deny_administrator_access_to (line 28) | def deny_administrator_access_to(host, filepath) FILE: acceptance/lib/puppet/acceptance/windows_utils/package_installer.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type WindowsUtils (line 3) | module WindowsUtils function create_mock_package (line 6) | def create_mock_package(host, tmpdir, config = {}, installer_file ... function build_mock_exe (line 42) | def build_mock_exe(host, destination, code) function package_installed? (line 58) | def package_installed?(host, name) FILE: acceptance/lib/puppet/acceptance/windows_utils/service.rb type Puppet (line 1) | module Puppet type Acceptance (line 2) | module Acceptance type WindowsUtils (line 3) | module WindowsUtils function setup_service (line 6) | def setup_service(host, config = {}, service_file = 'MockService.cs') function delete_service (line 60) | def delete_service(host, name) function assert_service_properties_on (line 81) | def assert_service_properties_on(host, name, properties = {}) function assert_service_startmode_delayed (line 99) | def assert_service_startmode_delayed(host, name) FILE: acceptance/teardown/common/099_Archive_Logs.rb function file_glob (line 3) | def file_glob(host, path) FILE: acceptance/tests/aix/aix_package_provider.rb function assert_package_version (line 10) | def assert_package_version(package, expected_version) function get_package_manifest (line 20) | def get_package_manifest(package, version, sourcedir) FILE: acceptance/tests/aix/nim_package_provider.rb function assert_package_version (line 19) | def assert_package_version(package, expected_version) function get_manifest (line 29) | def get_manifest(package, ensure_value) function test_apply (line 39) | def test_apply(package_name, ensure_value, expected_version) FILE: acceptance/tests/direct_puppet/catalog_uuid_correlates_catalogs_with_reports.rb function remove_reports_on_master (line 10) | def remove_reports_on_master(master_reportdir, agent_node_name) function get_catalog_uuid_from_cached_catalog (line 14) | def get_catalog_uuid_from_cached_catalog(host, agent_vardir, agent_node_... function get_catalog_uuid_from_report (line 22) | def get_catalog_uuid_from_report(master_reportdir, agent_node_name) FILE: acceptance/tests/environment/can_enumerate_environments.rb function server_port (line 9) | def server_port(agent) function setting_on (line 13) | def setting_on(host, section, name) function full_path (line 17) | def full_path(host, path) function curl_master_from (line 25) | def curl_master_from(agent, path, headers = '', &block) FILE: acceptance/tests/environment/custom_type_provider_from_same_environment.rb function provider_content (line 45) | def provider_content(file_file_content, type_name, provider_name) FILE: acceptance/tests/environment/use_environment_from_environmentpath.rb function generate_environment (line 13) | def generate_environment(path_to_env, environment) function generate_module_content (line 21) | def generate_module_content(module_name, options = {}) function generate_site_manifest (line 64) | def generate_site_manifest(path_to_manifest, *modules_to_include) function run_with_environment (line 117) | def run_with_environment(agent, environment, options = {}) FILE: acceptance/tests/loader/autoload_from_resource_type_decl.rb function empty_execution_log_file (line 11) | def empty_execution_log_file(host, path) FILE: acceptance/tests/lookup/lookup.rb function mod_manifest_entry (line 56) | def mod_manifest_entry(module_name = nil, testdir, module_data_implied_key, function mod_manifest_metadata_json (line 84) | def mod_manifest_metadata_json(module_name = nil, testdir) FILE: acceptance/tests/modulepath.rb function beacon_type (line 7) | def beacon_type(message) function global_modules (line 21) | def global_modules(host) function vendor_modules (line 29) | def vendor_modules(host) FILE: acceptance/tests/parser_functions/calling_all_functions.rb function manifest_call_each_function_from_array (line 8) | def manifest_call_each_function_from_array(functions) FILE: acceptance/tests/parser_functions/hiera_in_templates.rb function create_environment (line 45) | def create_environment(osfamilies, tmp_dirs) function find_osfamilies (line 271) | def find_osfamilies function find_tmp_dirs (line 281) | def find_tmp_dirs FILE: acceptance/tests/reports/cached_catalog_status_in_report.rb function remove_reports_on_master (line 12) | def remove_reports_on_master(master_reportdir, agent_node_name) FILE: acceptance/tests/reports/corrective_change_via_puppet.rb function create_manifest_for_file_resource (line 44) | def create_manifest_for_file_resource(file_resource, file_contents, envi... FILE: acceptance/tests/reports/submission.rb function puppetdb (line 9) | def puppetdb function sleep_until_queue_empty (line 13) | def sleep_until_queue_empty(timeout=60) function query_last_report_time_on (line 32) | def query_last_report_time_on(agent) FILE: acceptance/tests/resource/exec/should_run_bad_command.rb function sleepy_daemon_script (line 6) | def sleepy_daemon_script(agent) function stop_sleep_process (line 22) | def stop_sleep_process(targets, accept_no_pid_found = false) FILE: acceptance/tests/resource/exec/should_run_command.rb function before (line 8) | def before(agent) function after (line 13) | def after(agent, touched) FILE: acceptance/tests/resource/exec/should_run_command_as_user.rb function random_username (line 10) | def random_username function exec_resource_manifest (line 14) | def exec_resource_manifest(params = {}) FILE: acceptance/tests/resource/exec/should_run_command_in_cwd.rb function to_regex (line 13) | def to_regex(str) function exec_resource_manifest (line 17) | def exec_resource_manifest(command, params = {}) function assert_file_on (line 39) | def assert_file_on(host, filepath, failure_comment) FILE: acceptance/tests/resource/exec/should_set_environment_variables.rb function assert_env_var_values (line 8) | def assert_env_var_values(puppet_output, expected_values) FILE: acceptance/tests/resource/file/handle_fifo_files.rb function ensure_content_to_file_manifest (line 6) | def ensure_content_to_file_manifest(file_path, ensure_value) FILE: acceptance/tests/resource/file/handle_fifo_files_when_recursing.rb function ensure_owner_recursively_manifest (line 6) | def ensure_owner_recursively_manifest(path, owner_value) FILE: acceptance/tests/resource/file/should_create_symlink.rb function message (line 6) | def message function reset_link_and_target (line 10) | def reset_link_and_target(agent, link, target) function verify_symlink (line 16) | def verify_symlink(agent, link, target) FILE: acceptance/tests/resource/file/should_default_mode.rb function regexp_mode (line 6) | def regexp_mode(mode) FILE: acceptance/tests/resource/file/source_attribute.rb function mod_manifest_entry (line 59) | def mod_manifest_entry(checksum_type = nil) FILE: acceptance/tests/resource/file/symbolic_modes.rb class FileSymlink (line 11) | class FileSymlink method initialize (line 14) | def initialize(base_dir, file_type, symbolic_mode, mode, start_mode=nil) method mode_changes? (line 29) | def mode_changes? method get_manifest (line 33) | def get_manifest class BaseTest (line 38) | class BaseTest method initialize (line 41) | def initialize(testcase, agent, base_dir) method assert_mode (line 49) | def assert_mode(agent, path, expected_mode) method manifest (line 54) | def manifest method puppet_reapply (line 60) | def puppet_reapply class CreateTest (line 70) | class CreateTest < BaseTest method symlink_file (line 72) | def symlink_file(symbolic_mode, mode) method symlink_directory (line 76) | def symlink_directory(symbolic_mode, mode) method puppet_apply (line 80) | def puppet_apply class ModifyTest (line 89) | class ModifyTest < BaseTest method symlink_file (line 91) | def symlink_file(symbolic_mode, start_mode, mode) method symlink_directory (line 95) | def symlink_directory(symbolic_mode, start_mode, mode) method create_starting_state (line 99) | def create_starting_state method puppet_apply (line 113) | def puppet_apply FILE: acceptance/tests/resource/group/should_manage_members.rb function random_name (line 15) | def random_name function group_manifest (line 19) | def group_manifest(user, params) function members_of (line 34) | def members_of(host, group) FILE: acceptance/tests/resource/package/common_package_name_in_different_providers.rb function gem_provider (line 46) | def gem_provider function verify_state (line 54) | def verify_state(hosts, pkg, state, match) function verify_present (line 68) | def verify_present(hosts, pkg) function verify_absent (line 72) | def verify_absent(hosts, pkg) FILE: acceptance/tests/resource/package/windows.rb function package_manifest (line 10) | def package_manifest(name, params, installer_source) FILE: acceptance/tests/resource/package/yum.rb function verify_state (line 33) | def verify_state(hosts, pkg, state, match) function verify_present (line 43) | def verify_present(hosts, pkg) function verify_absent (line 47) | def verify_absent(hosts, pkg) FILE: acceptance/tests/resource/service/AIX_service_provider.rb function lsitab_assert_enable (line 19) | def lsitab_assert_enable(host, service, expected_status) function lssrc_assert_status (line 36) | def lssrc_assert_status(host, service, expected_status) FILE: acceptance/tests/resource/service/init_on_systemd.rb function initd_file (line 21) | def initd_file(svc, pidfile, initd_location, status) function assert_service_status (line 82) | def assert_service_status(agent, pidfile, expected_running) FILE: acceptance/tests/resource/service/launchd_provider.rb function launchctl_assert_status (line 22) | def launchctl_assert_status(host, service, expect_running) FILE: acceptance/tests/resource/service/puppet_service_management.rb function set_service_initial_status (line 18) | def set_service_initial_status(host, service, status) FILE: acceptance/tests/resource/service/smf_basic_tests.rb function assert_svcs_info_matches_on (line 15) | def assert_svcs_info_matches_on(agent, service, info_hash) FILE: acceptance/tests/resource/service/windows.rb function service_manifest (line 13) | def service_manifest(name, params) FILE: acceptance/tests/resource/service/windows_mixed_utf8.rb function service_manifest (line 11) | def service_manifest(name, params) FILE: acceptance/tests/resource/user/should_manage_groups.rb function random_name (line 18) | def random_name function user_manifest (line 22) | def user_manifest(user, params) function groups_of (line 37) | def groups_of(host, user) FILE: acceptance/tests/resource/user/should_manage_roles_on_windows.rb function user_manifest (line 10) | def user_manifest(name, params) FILE: acceptance/tests/resource/user/should_modify_when_not_managing_home.rb function get_home_dir (line 16) | def get_home_dir(host, user_name) FILE: acceptance/tests/resource/user/should_modify_while_managing_home.rb function get_home_dir (line 16) | def get_home_dir(host, user_name) FILE: acceptance/tests/security/cve-2013-4761_injection_of_class_names_loading_code.rb function create_exploit_manifest (line 13) | def create_exploit_manifest(path, exploit_path_expression) function should_not_be_able_to_exploit (line 37) | def should_not_be_able_to_exploit(exploited_path) FILE: acceptance/tests/ssl/autosign_command.rb function assert_key_generated (line 8) | def assert_key_generated(name, stdout) FILE: acceptance/tests/ssl/trusted_external_facts.rb function parse_trusted_json (line 8) | def parse_trusted_json(puppet_output) FILE: acceptance/tests/ticket_9862_puppet_runs_without_service_user_or_group_present.rb function assert_ownership (line 16) | def assert_ownership(agent, location, expected_user, expected_group) function missing_directory_for (line 22) | def missing_directory_for(agent, dir) FILE: acceptance/tests/windows/enable_password_changes_special_users.rb function random_username (line 12) | def random_username function change_password_manifest (line 16) | def change_password_manifest(username) FILE: acceptance/tests/windows/service_manager_integration.rb function query_agent_state (line 17) | def query_agent_state(host) function start_puppet_windows_daemon (line 21) | def start_puppet_windows_daemon(host) function stop_puppet_windows_daemon (line 25) | def stop_puppet_windows_daemon(host) function ensure_agent_state (line 29) | def ensure_agent_state(host, state) FILE: benchmarks/catalog_memory/benchmarker.rb class Benchmarker (line 22) | class Benchmarker method initialize (line 26) | def initialize(target, size) method setup (line 34) | def setup method run (line 37) | def run(args=nil) method generate (line 94) | def generate method render (line 109) | def render(erb_file, output_file, bindings) FILE: benchmarks/defined_types/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 20) | def run(args=nil) method generate (line 26) | def generate method render (line 67) | def render(erb_file, output_file, bindings) FILE: benchmarks/dependency_loading/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 15) | def setup method run (line 21) | def run(args=nil) method benchmark_count (line 31) | def benchmark_count method generate (line 37) | def generate method dependency_to (line 94) | def dependency_to(n) method render (line 98) | def render(erb_file, output_file, bindings) FILE: benchmarks/empty_catalog/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 17) | def run(args=nil) method generate (line 31) | def generate method render (line 46) | def render(erb_file, output_file, bindings) FILE: benchmarks/evaluations/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 17) | def setup method run (line 43) | def run(args = {}) method generate (line 77) | def generate method render (line 134) | def render(erb_file, output_file, bindings) FILE: benchmarks/evaluations/benchmarker_task.rb class BenchmarkerTask (line 7) | class BenchmarkerTask method run_args (line 8) | def self.run_args FILE: benchmarks/fq_var_lookup/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 20) | def run(args=nil) method generate (line 26) | def generate method render (line 71) | def render(erb_file, output_file, bindings) FILE: benchmarks/full_catalog/benchmarker.rb class Benchmarker (line 7) | class Benchmarker method initialize (line 10) | def initialize(target, size='medium') method check_submodule (line 15) | def check_submodule method setup (line 22) | def setup method run (line 38) | def run(args=nil) method generate (line 89) | def generate method render (line 114) | def render(erb_file, output_file, bindings) FILE: benchmarks/function_loading/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 15) | def setup method run (line 21) | def run(args=nil) method benchmark_count (line 34) | def benchmark_count method generate (line 40) | def generate method dependencies_for (line 98) | def dependencies_for(n) method render (line 105) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_conf_interpol/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 34) | def generate method render (line 66) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_env_lookup/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 39) | def generate method render (line 99) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_function/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 34) | def generate method render (line 79) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_global_lookup/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 39) | def generate method render (line 101) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_include/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 34) | def generate method render (line 94) | def render(erb_file, output_file, bindings) FILE: benchmarks/hiera_include_one/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 19) | def run(args=nil) method generate (line 32) | def generate method render (line 92) | def render(erb_file, output_file, bindings) FILE: benchmarks/legacy_hiera_lookup/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 12) | def setup method run (line 21) | def run(args=nil) method generate (line 29) | def generate FILE: benchmarks/many_environments/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 6) | def initialize(target, size) method setup (line 11) | def setup method run (line 17) | def run(args=nil) method generate (line 24) | def generate FILE: benchmarks/many_modules/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 20) | def run(args=nil) method generate (line 26) | def generate method render (line 98) | def render(erb_file, output_file, bindings) FILE: benchmarks/missing_type_caching/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 21) | def run(args=nil) method generate (line 27) | def generate method render (line 57) | def render(erb_file, output_file, bindings) FILE: benchmarks/serialization/benchmarker.rb class Benchmarker (line 3) | class Benchmarker method initialize (line 4) | def initialize(target, size) method setup (line 12) | def setup method generate (line 15) | def generate method run (line 23) | def run(args=nil) FILE: benchmarks/system_startup/benchmarker.rb class Benchmarker (line 1) | class Benchmarker method initialize (line 2) | def initialize(target, size) method setup (line 5) | def setup method generate (line 8) | def generate method run (line 11) | def run(args=nil) FILE: benchmarks/type_inference/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 17) | def run(args=nil) method generate (line 31) | def generate method render (line 48) | def render(erb_file, output_file, bindings) FILE: benchmarks/virtual_collection/benchmarker.rb class Benchmarker (line 6) | class Benchmarker method initialize (line 9) | def initialize(target, size) method setup (line 14) | def setup method run (line 20) | def run(args=nil) method generate (line 26) | def generate method render (line 42) | def render(erb_file, output_file, bindings) FILE: examples/enc/regexp_nodes/regexp_nodes.rb function log (line 65) | def log(message,level=:debug) class ExternalNode (line 80) | class ExternalNode method initialize (line 90) | def initialize(hostname, classdir = 'classes/', parameterdir = 'parame... method parse_argv (line 104) | def parse_argv(hostname) method to_yaml (line 118) | def to_yaml method matched_in_patternfile? (line 131) | def matched_in_patternfile?(filepath, matchthis) method match_classes (line 175) | def match_classes(fullpath) method match_environment (line 192) | def match_environment(fullpath) method match_parameters (line 214) | def match_parameters(fullpath) class MyExternalNode (line 243) | class MyExternalNode < ExternalNode method initialize (line 245) | def initialize(hostname, classdir = 'classes/', parameterdir = 'parame... FILE: examples/nagios/check_puppet.rb class CheckPuppet (line 7) | class CheckPuppet method check_proc (line 51) | def check_proc method check_state (line 61) | def check_state method output_status (line 84) | def output_status FILE: ext/windows/service/daemon.rb class WindowsDaemon (line 15) | class WindowsDaemon < Puppet::Util::Windows::Daemon method service_init (line 29) | def service_init method service_main (line 32) | def service_main(*argsv) method service_stop (line 103) | def service_stop method service_pause (line 108) | def service_pause method service_resume (line 112) | def service_resume method service_shutdown (line 116) | def service_shutdown method log_exception (line 125) | def log_exception(e) method log (line 130) | def log(msg, level) method report_windows_event (line 142) | def report_windows_event(type, id, message) method parse_runinterval (line 162) | def parse_runinterval(puppet_path) method parse_log_level (line 180) | def parse_log_level(puppet_path, cmdline_debug) method load_env (line 197) | def load_env(base_dir) FILE: install.rb function glob (line 44) | def glob(list) function do_configs (line 51) | def do_configs(configs, target, strip = 'conf/') function do_bins (line 59) | def do_bins(bins, target, strip = 's?bin/') function do_libs (line 67) | def do_libs(libs, strip = 'lib/') function do_man (line 78) | def do_man(man, strip = 'man/') function do_locales (line 95) | def do_locales(locale, strip = 'locales/') function check_prereqs (line 107) | def check_prereqs function prepare_installation (line 130) | def prepare_installation function join (line 341) | def join(basedir, dir) function install_binfile (line 352) | def install_binfile(from, op_file, target) FILE: lib/hiera/puppet_function.rb class Hiera::PuppetFunction (line 10) | class Hiera::PuppetFunction < Puppet::Functions::InternalFunction method init_dispatch (line 11) | def self.init_dispatch method hiera_splat (line 43) | def hiera_splat(scope, args) method hiera_no_default (line 47) | def hiera_no_default(scope, key) method hiera_with_default (line 51) | def hiera_with_default(scope, key, default, override = nil) method hiera_block1 (line 55) | def hiera_block1(scope, key, &default_block) method hiera_block2 (line 59) | def hiera_block2(scope, key, override, &default_block) method lookup (line 63) | def lookup(scope, key, default, has_default, override, &default_block) method merge_type (line 79) | def merge_type method post_lookup (line 83) | def post_lookup(scope, key, result) FILE: lib/hiera/scope.rb class Hiera (line 4) | class Hiera class Scope (line 5) | class Scope method initialize (line 18) | def initialize(real) method [] (line 22) | def [](key) method safe_lookupvar (line 40) | def safe_lookupvar(key) method exist? (line 58) | def exist?(key) method include? (line 62) | def include?(key) method catalog (line 66) | def catalog method resource (line 70) | def resource method compiler (line 74) | def compiler method find_hostclass (line 78) | def find_hostclass(scope) FILE: lib/hiera_puppet.rb type HieraPuppet (line 7) | module HieraPuppet function lookup (line 10) | def lookup(key, default, scope, override, resolution_type) function parse_args (line 22) | def parse_args(args) function hiera (line 53) | def hiera function hiera_config (line 57) | def hiera_config function hiera_config_file (line 69) | def hiera_config_file FILE: lib/puppet.rb type Puppet (line 38) | module Puppet function settings (line 59) | def self.settings function replace_settings_object (line 67) | def self.replace_settings_object(new_settings) function [] (line 76) | def self.[](param) function []= (line 94) | def self.[]=(param, value) function clear (line 98) | def self.clear function debug= (line 102) | def self.debug=(value) function run_mode (line 110) | def self.run_mode function initialize_settings (line 146) | def self.initialize_settings(args = [], require_config = true, push_se... function vendored_modules (line 150) | def self.vendored_modules function initialize_load_path (line 163) | def self.initialize_load_path function do_initialize_settings_for_run_mode (line 171) | def self.do_initialize_settings_for_run_mode(run_mode, args, require_c... function initialize_facts (line 187) | def self.initialize_facts function base_context (line 213) | def self.base_context(settings) function bootstrap_context (line 251) | def self.bootstrap_context function push_context (line 262) | def self.push_context(overrides, description = "") function push_context_global (line 270) | def self.push_context_global(overrides, description = '') function pop_context (line 277) | def self.pop_context function lookup (line 283) | def self.lookup(name, &block) function override (line 291) | def self.override(bindings, description = "", &block) function ignore (line 297) | def self.ignore(name) function restore (line 303) | def self.restore(name) function mark_context (line 308) | def self.mark_context(name) function rollback_context (line 313) | def self.rollback_context(name) function runtime (line 317) | def self.runtime FILE: lib/puppet/agent.rb class Puppet::Agent (line 11) | class Puppet::Agent class RunTimeoutError (line 22) | class RunTimeoutError < Exception # rubocop:disable Lint/InheritException method initialize (line 27) | def initialize(client_class, should_fork = true) method can_fork? (line 32) | def can_fork? method needing_restart? (line 36) | def needing_restart? method run (line 41) | def run(client_options = {}) method stopping? (line 124) | def stopping? method run_in_fork (line 128) | def run_in_fork(forking = true) method with_client (line 157) | def with_client(transaction_uuid, job_id = nil) method wait_for_certificates (line 169) | def wait_for_certificates(options) method log_disabled_message (line 175) | def log_disabled_message FILE: lib/puppet/agent/disabler.rb type Puppet::Agent::Disabler (line 16) | module Puppet::Agent::Disabler function enable (line 20) | def enable function disable (line 26) | def disable(msg = nil) function disabled? (line 35) | def disabled? function disable_message (line 39) | def disable_message function disable_lockfile (line 49) | def disable_lockfile FILE: lib/puppet/agent/locker.rb type Puppet::Agent::Locker (line 17) | module Puppet::Agent::Locker function lock (line 20) | def lock function running? (line 32) | def running? function lockfile_path (line 36) | def lockfile_path function lockfile (line 40) | def lockfile FILE: lib/puppet/application.rb type Puppet (line 9) | module Puppet class Application (line 108) | class Application method clear! (line 122) | def clear! method stop! (line 128) | def stop! method restart! (line 134) | def restart! method restart_requested? (line 141) | def restart_requested? method stop_requested? (line 148) | def stop_requested? method interrupted? (line 155) | def interrupted? method clear? (line 162) | def clear? method controlled_run (line 171) | def controlled_run(&block) method option (line 180) | def option(*options, &block) method banner (line 193) | def banner(banner = nil) method option_parser_commands (line 197) | def option_parser_commands method available_application_names (line 206) | def available_application_names method find (line 229) | def find(application_name) method try_load_class (line 263) | def try_load_class(class_name) method [] (line 275) | def [](name) method run_mode (line 282) | def run_mode(mode_name = nil) method environment_mode (line 306) | def environment_mode(mode_name) method get_environment_mode (line 316) | def get_environment_mode method clear_everything_for_tests (line 322) | def clear_everything_for_tests method initialize (line 348) | def initialize(command_line = Puppet::Util::CommandLine.new) method app_defaults (line 366) | def app_defaults method initialize_app_defaults (line 375) | def initialize_app_defaults method preinit (line 384) | def preinit method deprecate (line 390) | def deprecate method deprecated? (line 396) | def deprecated? method run (line 403) | def run method main (line 431) | def main method run_command (line 438) | def run_command method setup (line 445) | def setup method setup_logs (line 454) | def setup_logs method set_log_level (line 468) | def set_log_level(opts = nil) method handle_logdest_arg (line 477) | def handle_logdest_arg(arg) method configure_indirector_routes (line 491) | def configure_indirector_routes method log_runtime_environment (line 502) | def log_runtime_environment(extra_info = nil) method parse_options (line 533) | def parse_options method handlearg (line 566) | def handlearg(opt, val) method exit (line 572) | def self.exit(code) method name (line 576) | def name method help (line 583) | def help method summary (line 592) | def summary FILE: lib/puppet/application/agent.rb class Puppet::Application::Agent (line 10) | class Puppet::Application::Agent < Puppet::Application method app_defaults (line 13) | def app_defaults method preinit (line 22) | def preinit method summary (line 83) | def summary method help (line 87) | def help method run_command (line 374) | def run_command method log_config (line 402) | def log_config method fingerprint (line 414) | def fingerprint method onetime (line 435) | def onetime(daemon) method main (line 453) | def main(daemon) method setup_test (line 459) | def setup_test method setup (line 469) | def setup method enable_disable_client (line 502) | def enable_disable_client(agent) method setup_agent (line 511) | def setup_agent method daemonize_process_when (line 519) | def daemonize_process_when(should_daemonize) FILE: lib/puppet/application/apply.rb class Puppet::Application::Apply (line 7) | class Puppet::Application::Apply < Puppet::Application method summary (line 38) | def summary method help (line 42) | def help method app_defaults (line 174) | def app_defaults method run_command (line 181) | def run_command method apply (line 194) | def apply method main (line 207) | def main method setup_test (line 295) | def setup_test method setup (line 302) | def setup method create_loaders (line 333) | def create_loaders(env) method read_catalog (line 338) | def read_catalog(text) method apply_catalog (line 363) | def apply_catalog(catalog) method get_facts (line 370) | def get_facts method get_node (line 385) | def get_node method get_manifest (line 394) | def get_manifest method get_configured_environment (line 412) | def get_configured_environment(node, manifest = nil) method configure_node_facts (line 429) | def configure_node_facts(node, facts) FILE: lib/puppet/application/catalog.rb class Puppet::Application::Catalog (line 5) | class Puppet::Application::Catalog < Puppet::Application::IndirectionBase FILE: lib/puppet/application/config.rb class Puppet::Application::Config (line 5) | class Puppet::Application::Config < Puppet::Application::FaceBase FILE: lib/puppet/application/describe.rb class Formatter (line 5) | class Formatter method initialize (line 6) | def initialize(width) method wrap (line 10) | def wrap(txt, opts) method header (line 33) | def header(txt, sep = "-") method scrub (line 39) | def scrub(text) class TypeDoc (line 54) | class TypeDoc method initialize (line 55) | def initialize method list_types (line 66) | def list_types method format_type (line 85) | def format_type(name, opts) method format_attrs (line 122) | def format_attrs(type, attrs) method list_attrs (line 143) | def list_attrs(type, attrs) method format_providers (line 152) | def format_providers(type) method list_providers (line 159) | def list_providers(type) class Puppet::Application::Describe (line 165) | class Puppet::Application::Describe < Puppet::Application method summary (line 176) | def summary method help (line 180) | def help method preinit (line 233) | def preinit method main (line 237) | def main method setup (line 247) | def setup FILE: lib/puppet/application/device.rb class Puppet::Application::Device (line 8) | class Puppet::Application::Device < Puppet::Application method app_defaults (line 13) | def app_defaults method preinit (line 22) | def preinit method summary (line 83) | def summary method help (line 87) | def help method main (line 230) | def main method parse_args (line 389) | def parse_args(args) method find_resources (line 397) | def find_resources(type, name) method setup_context (line 407) | def setup_context method setup (line 413) | def setup FILE: lib/puppet/application/doc.rb class Puppet::Application::Doc (line 5) | class Puppet::Application::Doc < Puppet::Application method preinit (line 10) | def preinit method summary (line 54) | def summary method help (line 58) | def help method handle_unknown (line 119) | def handle_unknown(opt, arg) method run_command (line 124) | def run_command method rdoc (line 128) | def rdoc method other (line 155) | def other method setup (line 181) | def setup method setup_reference (line 197) | def setup_reference method setup_rdoc (line 210) | def setup_rdoc method setup_logging (line 224) | def setup_logging FILE: lib/puppet/application/epp.rb class Puppet::Application::Epp (line 6) | class Puppet::Application::Epp < Puppet::Application::FaceBase FILE: lib/puppet/application/face_base.rb class Puppet::Application::FaceBase (line 7) | class Puppet::Application::FaceBase < Puppet::Application method render_as= (line 34) | def render_as=(format) method render (line 39) | def render(result, args_and_options) method preinit (line 55) | def preinit method parse_options (line 63) | def parse_options method find_global_settings_argument (line 157) | def find_global_settings_argument(item) method find_application_argument (line 170) | def find_application_argument(item) method setup (line 187) | def setup method main (line 211) | def main FILE: lib/puppet/application/facts.rb class Puppet::Application::Facts (line 5) | class Puppet::Application::Facts < Puppet::Application::IndirectionBase FILE: lib/puppet/application/filebucket.rb class Puppet::Application::Filebucket (line 5) | class Puppet::Application::Filebucket < Puppet::Application method summary (line 18) | def summary method digest_algorithm (line 22) | def digest_algorithm method help (line 26) | def help method run_command (line 215) | def run_command method get (line 223) | def get method backup (line 229) | def backup method list (line 246) | def list method restore (line 253) | def restore method diff (line 259) | def diff method setup (line 288) | def setup FILE: lib/puppet/application/generate.rb class Puppet::Application::Generate (line 6) | class Puppet::Application::Generate < Puppet::Application::FaceBase FILE: lib/puppet/application/help.rb class Puppet::Application::Help (line 5) | class Puppet::Application::Help < Puppet::Application::FaceBase FILE: lib/puppet/application/indirection_base.rb class Puppet::Application::IndirectionBase (line 5) | class Puppet::Application::IndirectionBase < Puppet::Application::FaceBase FILE: lib/puppet/application/lookup.rb class Puppet::Application::Lookup (line 9) | class Puppet::Application::Lookup < Puppet::Application method app_defaults (line 63) | def app_defaults method setup_logs (line 69) | def setup_logs method setup_terminuses (line 77) | def setup_terminuses method setup (line 87) | def setup method summary (line 103) | def summary method help (line 107) | def help method main (line 273) | def main method generate_scope (line 338) | def generate_scope method retrieve_node_facts (line 419) | def retrieve_node_facts(node, given_facts) FILE: lib/puppet/application/module.rb class Puppet::Application::Module (line 5) | class Puppet::Application::Module < Puppet::Application::FaceBase FILE: lib/puppet/application/node.rb class Puppet::Application::Node (line 5) | class Puppet::Application::Node < Puppet::Application::IndirectionBase FILE: lib/puppet/application/parser.rb class Puppet::Application::Parser (line 6) | class Puppet::Application::Parser < Puppet::Application::FaceBase FILE: lib/puppet/application/plugin.rb class Puppet::Application::Plugin (line 4) | class Puppet::Application::Plugin < Puppet::Application::FaceBase FILE: lib/puppet/application/report.rb class Puppet::Application::Report (line 5) | class Puppet::Application::Report < Puppet::Application::IndirectionBase FILE: lib/puppet/application/resource.rb class Puppet::Application::Resource (line 5) | class Puppet::Application::Resource < Puppet::Application method preinit (line 10) | def preinit method summary (line 37) | def summary method help (line 41) | def help method main (line 145) | def main method setup (line 177) | def setup method local_key (line 184) | def local_key(type, name) method handle_editing (line 188) | def handle_editing(text) method parse_args (line 211) | def parse_args(args) method create_default_environment (line 227) | def create_default_environment method find_or_save_resources (line 236) | def find_or_save_resources(type, name, params) FILE: lib/puppet/application/script.rb class Puppet::Application::Script (line 8) | class Puppet::Application::Script < Puppet::Application method summary (line 20) | def summary method help (line 24) | def help method app_defaults (line 115) | def app_defaults method run_command (line 121) | def run_command method main (line 131) | def main method setup (line 234) | def setup FILE: lib/puppet/application/ssl.rb class Puppet::Application::Ssl (line 6) | class Puppet::Application::Ssl < Puppet::Application method summary (line 9) | def summary method help (line 13) | def help method initialize (line 96) | def initialize(command_line = Puppet::Util::CommandLine.new) method setup_logs (line 105) | def setup_logs method main (line 110) | def main method show (line 175) | def show(certname) method submit_request (line 181) | def submit_request(ssl_context) method generate_request (line 203) | def generate_request(certname) method download_cert (line 217) | def download_cert(ssl_context) method verify (line 245) | def verify(certname) method clean (line 260) | def clean(certname) method fingerprint (line 308) | def fingerprint(cert) method create_route (line 312) | def create_route(ssl_context) method create_key (line 316) | def create_key(certname) FILE: lib/puppet/application_support.rb type Puppet (line 10) | module Puppet type ApplicationSupport (line 11) | module ApplicationSupport function push_application_context (line 22) | def self.push_application_context(run_mode, environment_mode = :local) function configure_indirector_routes (line 53) | def self.configure_indirector_routes(application_name) FILE: lib/puppet/coercion.rb type Puppet::Coercion (line 6) | module Puppet::Coercion function boolean (line 16) | def self.boolean(value) function boolean_values (line 39) | def self.boolean_values FILE: lib/puppet/compilable_resource_type.rb type Puppet::CompilableResourceType (line 11) | module Puppet::CompilableResourceType function is_3x_ruby_plugin? (line 14) | def is_3x_ruby_plugin? FILE: lib/puppet/concurrent.rb type Puppet::Concurrent (line 3) | module Puppet::Concurrent FILE: lib/puppet/concurrent/lock.rb type Puppet (line 5) | module Puppet type Concurrent (line 6) | module Concurrent class Lock (line 8) | class Lock method synchronize (line 10) | def synchronize FILE: lib/puppet/concurrent/synchronized.rb type Puppet (line 3) | module Puppet type Concurrent (line 4) | module Concurrent type Synchronized (line 12) | module Synchronized; end FILE: lib/puppet/concurrent/thread_local_singleton.rb type Puppet (line 3) | module Puppet type Concurrent (line 4) | module Concurrent type ThreadLocalSingleton (line 5) | module ThreadLocalSingleton function singleton (line 6) | def singleton FILE: lib/puppet/configurer.rb class Puppet::Configurer (line 10) | class Puppet::Configurer method to_s (line 22) | def self.to_s method should_pluginsync? (line 26) | def self.should_pluginsync? method execute_postrun_command (line 34) | def execute_postrun_command method execute_prerun_command (line 38) | def execute_prerun_command method init_storage (line 43) | def init_storage method initialize (line 55) | def initialize(transaction_uuid = nil, job_id = nil) method retrieve_catalog (line 69) | def retrieve_catalog(facts, query_options) method convert_catalog (line 111) | def convert_catalog(result, duration, facts, options = {}) method warn_number_of_facts (line 134) | def warn_number_of_facts(size, max_number) method warn_fact_name_length (line 138) | def warn_fact_name_length(name, max_length, fact_name_length) method warn_number_of_top_level_facts (line 142) | def warn_number_of_top_level_facts(size, max_number) method warn_fact_value_length (line 146) | def warn_fact_value_length(name, value, max_length) method warn_fact_payload_size (line 150) | def warn_fact_payload_size(payload, max_size) method check_fact_name_length (line 154) | def check_fact_name_length(fact_path, number_of_dots) method check_fact_values_length (line 164) | def check_fact_values_length(name, values) method check_top_level_number_limit (line 171) | def check_top_level_number_limit(size) method check_total_number_limit (line 178) | def check_total_number_limit(size) method check_payload_size (line 185) | def check_payload_size(payload) method parse_fact_name_and_value_limits (line 193) | def parse_fact_name_and_value_limits(object, path = []) method check_facts_limits (line 214) | def check_facts_limits(facts) method get_facts (line 223) | def get_facts(options) method prepare_and_retrieve_catalog (line 254) | def prepare_and_retrieve_catalog(cached_catalog, facts, options, query... method prepare_and_retrieve_catalog_from_cache (line 276) | def prepare_and_retrieve_catalog_from_cache(options = {}) method apply_catalog (line 283) | def apply_catalog(catalog, options) method run (line 300) | def run(options = {}) method run_internal (line 352) | def run_internal(options) method valid_server_environment? (line 531) | def valid_server_environment? method find_functional_server (line 554) | def find_functional_server method last_server_specified_environment (line 580) | def last_server_specified_environment method current_server_specified_environment (line 602) | def current_server_specified_environment(current_environment, configur... method send_report (line 632) | def send_report(report) method save_last_run_summary (line 647) | def save_last_run_summary(report) method resubmit_facts (line 664) | def resubmit_facts method execute_from_setting (line 689) | def execute_from_setting(setting) method push_current_environment_and_loaders (line 701) | def push_current_environment_and_loaders method retrieve_catalog_from_cache (line 712) | def retrieve_catalog_from_cache(query_options) method retrieve_new_catalog (line 729) | def retrieve_new_catalog(facts, query_options) method download_plugins (line 751) | def download_plugins(remote_environment_for_plugins) FILE: lib/puppet/configurer/downloader.rb class Puppet::Configurer::Downloader (line 6) | class Puppet::Configurer::Downloader method evaluate (line 10) | def evaluate method initialize (line 42) | def initialize(name, path, source, ignore = nil, environment = nil, so... method file (line 51) | def file method catalog (line 60) | def catalog method default_arguments (line 71) | def default_arguments FILE: lib/puppet/configurer/fact_handler.rb type Puppet::Configurer::FactHandler (line 11) | module Puppet::Configurer::FactHandler function find_facts (line 12) | def find_facts function facts_for_uploading (line 31) | def facts_for_uploading function encode_facts (line 35) | def encode_facts(facts) FILE: lib/puppet/configurer/plugin_handler.rb class Puppet::Configurer::PluginHandler (line 8) | class Puppet::Configurer::PluginHandler method download_plugins (line 11) | def download_plugins(environment) FILE: lib/puppet/confine.rb class Puppet::Confine (line 7) | class Puppet::Confine method inherited (line 16) | def self.inherited(klass) method test (line 25) | def self.test(name) method for_binary? (line 47) | def for_binary? method initialize (line 54) | def initialize(values) method message (line 60) | def message(value) method result (line 65) | def result method valid? (line 70) | def valid? method reset (line 84) | def reset FILE: lib/puppet/confine/any.rb class Puppet::Confine::Any (line 3) | class Puppet::Confine::Any < Puppet::Confine method summarize (line 4) | def self.summarize(confines) method pass? (line 8) | def pass?(value) method message (line 12) | def message(value) method summary (line 16) | def summary method valid? (line 20) | def valid? FILE: lib/puppet/confine/boolean.rb class Puppet::Confine (line 7) | class Puppet::Confine type Boolean (line 8) | module Boolean function passing_value (line 10) | def passing_value function values (line 24) | def values FILE: lib/puppet/confine/exists.rb class Puppet::Confine::Exists (line 5) | class Puppet::Confine::Exists < Puppet::Confine method summarize (line 6) | def self.summarize(confines) method pass? (line 10) | def pass?(value) method message (line 14) | def message(value) method summary (line 18) | def summary FILE: lib/puppet/confine/false.rb class Puppet::Confine::False (line 5) | class Puppet::Confine::False < Puppet::Confine method passing_value (line 8) | def passing_value method summarize (line 12) | def self.summarize(confines) method pass? (line 16) | def pass?(value) method message (line 20) | def message(value) method summary (line 24) | def summary FILE: lib/puppet/confine/feature.rb class Puppet::Confine::Feature (line 5) | class Puppet::Confine::Feature < Puppet::Confine method summarize (line 6) | def self.summarize(confines) method pass? (line 11) | def pass?(value) method message (line 15) | def message(value) FILE: lib/puppet/confine/true.rb class Puppet::Confine::True (line 5) | class Puppet::Confine::True < Puppet::Confine method passing_value (line 8) | def passing_value method summarize (line 12) | def self.summarize(confines) method pass? (line 16) | def pass?(value) method message (line 21) | def message(value) method summary (line 25) | def summary FILE: lib/puppet/confine/variable.rb class Puppet::Confine::Variable (line 9) | class Puppet::Confine::Variable < Puppet::Confine method summarize (line 13) | def self.summarize(confines) method facter_value (line 22) | def facter_value method initialize (line 26) | def initialize(values) method message (line 31) | def message(value) method pass? (line 36) | def pass?(value) method reset (line 40) | def reset method valid? (line 46) | def valid? method setting? (line 54) | def setting? method test_value (line 58) | def test_value FILE: lib/puppet/confine_collection.rb class Puppet::ConfineCollection (line 7) | class Puppet::ConfineCollection method confine (line 8) | def confine(hash) method initialize (line 31) | def initialize(label) method summary (line 38) | def summary method valid? (line 51) | def valid? FILE: lib/puppet/confiner.rb type Puppet::Confiner (line 9) | module Puppet::Confiner function confine (line 28) | def confine(hash) function confine_collection (line 35) | def confine_collection function suitable? (line 45) | def suitable?(short = true) FILE: lib/puppet/context.rb class Puppet::Context (line 15) | class Puppet::Context class UndefinedBindingError (line 18) | class UndefinedBindingError < Puppet::Error; end class StackUnderflow (line 19) | class StackUnderflow < Puppet::Error; end class UnknownRollbackMarkError (line 21) | class UnknownRollbackMarkError < Puppet::Error; end class DuplicateRollbackMarkError (line 22) | class DuplicateRollbackMarkError < Puppet::Error; end method initialize (line 25) | def initialize(initial_bindings) method push (line 35) | def push(overrides, description = '') method unsafe_push_global (line 43) | def unsafe_push_global(overrides, description = '') method pop (line 50) | def pop method lookup (line 55) | def lookup(name, &block) method override (line 60) | def override(bindings, description = '', &block) method mark (line 74) | def mark(name) method rollback (line 91) | def rollback(name) class EmptyStack (line 103) | class EmptyStack method lookup (line 109) | def lookup(name, &block) method pop (line 120) | def pop method push (line 129) | def push(overrides, description = '') method bindings (line 136) | def bindings class Stack (line 148) | class Stack method initialize (line 151) | def initialize(parent, bindings, description = '') method lookup (line 163) | def lookup(name, &block) method pop (line 178) | def pop method push (line 186) | def push(overrides, description = '') FILE: lib/puppet/context/trusted_information.rb class Puppet::Context::TrustedInformation (line 6) | class Puppet::Context::TrustedInformation method initialize (line 34) | def initialize(authenticated, certname, extensions, external = {}) method remote (line 49) | def self.remote(authenticated, node_name, certificate) method local (line 67) | def self.local(node) method external (line 78) | def external method retrieve_trusted_external (line 85) | def self.retrieve_trusted_external(certname) method deep_freeze (line 93) | def self.deep_freeze(object) method to_h (line 112) | def to_h FILE: lib/puppet/daemon.rb class Puppet::Daemon (line 21) | class Puppet::Daemon method initialize (line 27) | def initialize(agent, pidfile, scheduler = Puppet::Scheduler::Schedule... method daemonname (line 36) | def daemonname method daemonize (line 41) | def daemonize method close_streams (line 61) | def self.close_streams method close_streams (line 79) | def close_streams method reexec (line 83) | def reexec method reload (line 92) | def reload method restart (line 98) | def restart method reopen_logs (line 103) | def reopen_logs method set_signal_traps (line 109) | def set_signal_traps method stop (line 130) | def stop(args = { :exit => true }) method start (line 140) | def start method create_pidfile (line 149) | def create_pidfile method remove_pidfile (line 154) | def remove_pidfile method run_event_loop (line 159) | def run_event_loop FILE: lib/puppet/data_binding.rb class Puppet::DataBinding (line 6) | class Puppet::DataBinding class LookupError (line 13) | class LookupError < Puppet::PreformattedError; end class RecursiveLookupError (line 15) | class RecursiveLookupError < Puppet::DataBinding::LookupError; end FILE: lib/puppet/datatypes.rb type Puppet::DataTypes (line 125) | module Puppet::DataTypes function create_type (line 126) | def self.create_type(type_name, &block) function create_loaded_type (line 138) | def self.create_loaded_type(type_name, loader, &block) class TypeBuilder (line 146) | class TypeBuilder method initialize (line 149) | def initialize(type_name) method create_type (line 155) | def create_type(loader) method has_implementation? (line 183) | def has_implementation? class TypeBuilderAPI (line 190) | class TypeBuilderAPI method initialize (line 192) | def initialize(type_builder) method interface (line 196) | def interface(type_string) method implementation (line 202) | def implementation(&block) method implementation_class (line 208) | def implementation_class(ruby_class) method load_file (line 214) | def load_file(file_name) FILE: lib/puppet/datatypes/impl/error.rb class Puppet::DataTypes::Error (line 3) | class Puppet::DataTypes::Error method from_asserted_hash (line 7) | def self.from_asserted_hash(hash) method _pcore_init_hash (line 11) | def _pcore_init_hash method initialize (line 19) | def initialize(msg, kind = nil, details = nil, issue_code = nil) method eql? (line 26) | def eql?(o) method hash (line 35) | def hash method to_s (line 39) | def to_s FILE: lib/puppet/defaults.rb type Puppet (line 5) | module Puppet function default_diffargs (line 6) | def self.default_diffargs function default_digest_algorithm (line 11) | def self.default_digest_algorithm function valid_digest_algorithms (line 15) | def self.valid_digest_algorithms function default_file_checksum_types (line 21) | def self.default_file_checksum_types function valid_file_checksum_types (line 27) | def self.valid_file_checksum_types function default_cadir (line 33) | def self.default_cadir function default_basemodulepath (line 50) | def self.default_basemodulepath function default_vendormoduledir (line 58) | def self.default_vendormoduledir function initialize_default_settings! (line 72) | def self.initialize_default_settings!(settings) FILE: lib/puppet/environments.rb type Puppet::Environments (line 6) | module Puppet::Environments class EnvironmentNotFound (line 7) | class EnvironmentNotFound < Puppet::Error method initialize (line 8) | def initialize(environment_name, original = nil) type EnvironmentCreator (line 15) | module EnvironmentCreator function for (line 24) | def for(module_path, manifest) type EnvironmentLoader (line 34) | module EnvironmentLoader function get! (line 36) | def get!(name) function clear_all (line 41) | def clear_all function guard (line 53) | def guard(name); end function unguard (line 54) | def unguard(name); end class Static (line 92) | class Static method initialize (line 96) | def initialize(*environments) method search_paths (line 101) | def search_paths method list (line 106) | def list method get (line 111) | def get(name) method get_conf (line 121) | def get_conf(name) class StaticPrivate (line 137) | class StaticPrivate < Static method list (line 141) | def list class StaticDirectory (line 146) | class StaticDirectory < Static method initialize (line 149) | def initialize(env_name, env_dir, environment) method get_conf (line 156) | def get_conf(name) class Directories (line 171) | class Directories method initialize (line 174) | def initialize(environment_dir, global_module_path) method from_path (line 186) | def self.from_path(path, global_module_path) method real_path (line 193) | def self.real_path(dir) method search_paths (line 201) | def search_paths method list (line 206) | def list method get (line 213) | def get(name) method get_conf (line 220) | def get_conf(name) method create_environment (line 231) | def create_environment(name) method validated_directory (line 255) | def validated_directory(envdir) method valid_environment_names (line 265) | def valid_environment_names class Combined (line 276) | class Combined method initialize (line 279) | def initialize(*loaders) method search_paths (line 284) | def search_paths method list (line 289) | def list method get (line 294) | def get(name) method get_conf (line 305) | def get_conf(name) method clear_all (line 315) | def clear_all class Cached (line 320) | class Cached class DefaultCacheExpirationService (line 324) | class DefaultCacheExpirationService method created (line 328) | def created(env) method expired? (line 335) | def expired?(env_name) method evicted (line 342) | def evicted(env_name) method cache_expiration_service= (line 346) | def self.cache_expiration_service=(service) method cache_expiration_service (line 350) | def self.cache_expiration_service method initialize (line 354) | def initialize(loader) method list (line 361) | def list method search_paths (line 388) | def search_paths method get (line 393) | def get(name) method get_entry (line 400) | def get_entry(name, check_expired = true) method add_entry (line 421) | def add_entry(name, cache_entry) method clear_entry (line 428) | def clear_entry(name, entry) method clear (line 439) | def clear(name) method clear_all (line 447) | def clear_all method clear_all_expired (line 461) | def clear_all_expired method clear_if_expired (line 473) | def clear_if_expired(name, entry, t = Time.now) method get_conf (line 491) | def get_conf(name) method guard (line 500) | def guard(name) method unguard (line 506) | def unguard(name) method entry (line 513) | def entry(env) class Entry (line 531) | class Entry method initialize (line 534) | def initialize(value) method touch (line 539) | def touch method expired? (line 542) | def expired?(now) method label (line 546) | def label method guarded? (line 552) | def guarded? method guard (line 556) | def guard method unguard (line 560) | def unguard class NotCachedEntry (line 566) | class NotCachedEntry < Entry method expired? (line 567) | def expired?(now) method label (line 571) | def label class MRUEntry (line 577) | class MRUEntry < Entry method initialize (line 578) | def initialize(value, ttl_seconds) method touch (line 586) | def touch method expired? (line 590) | def expired?(now) method label (line 594) | def label FILE: lib/puppet/error.rb type Puppet (line 3) | module Puppet class Error (line 5) | class Error < RuntimeError method initialize (line 8) | def initialize(message, original = nil) type ExternalFileError (line 14) | module ExternalFileError function initialize (line 23) | def initialize(message, file = nil, line = nil, pos = nil, original ... function to_s (line 42) | def to_s class ParseError (line 50) | class ParseError < Puppet::Error class ResourceError (line 54) | class ResourceError < Puppet::Error class ParseErrorWithIssue (line 59) | class ParseErrorWithIssue < Puppet::ParseError method initialize (line 71) | def initialize(message, file = nil, line = nil, pos = nil, original ... method to_s (line 78) | def to_s method to_h (line 85) | def to_h method from_issue_and_stack (line 98) | def self.from_issue_and_stack(issue, args = {}) class PreformattedError (line 114) | class PreformattedError < Puppet::ParseErrorWithIssue class DevError (line 119) | class DevError < Puppet::Error class MissingCommand (line 123) | class MissingCommand < Puppet::Error class LockError (line 127) | class LockError < Puppet::Error class ErrorWithData (line 133) | class ErrorWithData < Puppet::Error method initialize (line 137) | def initialize(error_data, message, file: nil, line: nil, pos: nil, ... FILE: lib/puppet/etc.rb type Puppet::Etc (line 42) | module Puppet::Etc function getgrent (line 47) | def getgrent function endgrent (line 52) | def endgrent function setgrent (line 57) | def setgrent function getpwent (line 64) | def getpwent function endpwent (line 69) | def endpwent function setpwent (line 74) | def setpwent function getpwnam (line 82) | def getpwnam(username) function getgrnam (line 89) | def getgrnam(groupname) function getgrgid (line 96) | def getgrgid(id) function getpwuid (line 103) | def getpwuid(id) function group (line 110) | def group function puppet_etc_passwd_class (line 136) | def puppet_etc_passwd_class function puppet_etc_group_class (line 146) | def puppet_etc_group_class function override_field_values_to_utf8 (line 163) | def override_field_values_to_utf8(struct) FILE: lib/puppet/external/dot.rb type DOT (line 11) | module DOT function change_tab (line 19) | def change_tab(t) class DOTSimpleElement (line 118) | class DOTSimpleElement method initialize (line 121) | def initialize(params = {}) method to_s (line 125) | def to_s class DOTElement (line 132) | class DOTElement < DOTSimpleElement method initialize (line 136) | def initialize(params = {}, option_list = []) method each_option (line 147) | def each_option method each_option_pair (line 151) | def each_option_pair class DOTPort (line 159) | class DOTPort < DOTSimpleElement method initialize (line 162) | def initialize(params = {}) method to_s (line 167) | def to_s class DOTNode (line 174) | class DOTNode < DOTElement method initialize (line 175) | def initialize(params = {}, option_list = NODE_OPTS) method each_port (line 180) | def each_port method << (line 184) | def <<(thing) method push (line 188) | def push(thing) method pop (line 192) | def pop method to_s (line 196) | def to_s(t = '') method stringify (line 225) | def stringify(s) class DOTSubgraph (line 233) | class DOTSubgraph < DOTElement method initialize (line 234) | def initialize(params = {}, option_list = GRAPH_OPTS) method each_node (line 240) | def each_node method << (line 244) | def <<(thing) method push (line 248) | def push(thing) method pop (line 252) | def pop method to_s (line 256) | def to_s(t = '') class DOTDigraph (line 276) | class DOTDigraph < DOTSubgraph method initialize (line 277) | def initialize(params = {}, option_list = GRAPH_OPTS) class DOTEdge (line 285) | class DOTEdge < DOTElement method initialize (line 288) | def initialize(params = {}, option_list = EDGE_OPTS) method edge_link (line 294) | def edge_link method to_s (line 298) | def to_s(t = '') class DOTDirectedEdge (line 310) | class DOTDirectedEdge < DOTEdge method edge_link (line 311) | def edge_link FILE: lib/puppet/face/config.rb function warn_default_section (line 99) | def warn_default_section(section_name) function report_section_and_environment (line 112) | def report_section_and_environment(section_name, environment_name) FILE: lib/puppet/face/epp.rb function dump_parse (line 366) | def dump_parse(source, filename, options, show_filename = true) function get_values (line 401) | def get_values(compiler, options) function render_inline (line 440) | def render_inline(epp_source, compiler, options) function render_file (line 450) | def render_file(epp_template_name, compiler, options, show_filename, fil... function validate_template (line 478) | def validate_template(template) function validate_template_string (line 488) | def validate_template_string(source) function create_compiler (line 498) | def create_compiler(options) function effective_template (line 555) | def effective_template(file, env) FILE: lib/puppet/face/help.rb function default_case? (line 81) | def default_case?(args) function help_for_help? (line 85) | def help_for_help?(args) function render_face_man (line 89) | def render_face_man(facename) function render_application_help (line 97) | def render_application_help(applicationname) function render_face_help (line 108) | def render_face_help(facename, actionname, version) function load_face_help (line 120) | def load_face_help(facename, actionname, version) function template_for (line 132) | def template_for(face, action) function erb (line 140) | def erb(name) function legacy_applications (line 148) | def legacy_applications function generate_summary (line 154) | def generate_summary(appname) function all_application_summaries (line 186) | def all_application_summaries function available_application_names_special_sort (line 202) | def available_application_names_special_sort function common_app_summaries (line 211) | def common_app_summaries function specialized_app_summaries (line 217) | def specialized_app_summaries function horribly_extract_summary_from (line 224) | def horribly_extract_summary_from(appname) function exclude_from_docs? (line 243) | def exclude_from_docs?(appname) function is_face_app? (line 251) | def is_face_app?(appname) FILE: lib/puppet/face/module/list.rb function unmet_dependencies (line 109) | def unmet_dependencies(environment) function warn_unmet_dependencies (line 148) | def warn_unmet_dependencies(environment) function list_build_tree (line 212) | def list_build_tree(list, ancestors = [], parent = nil, params = {}) function list_build_node (line 248) | def list_build_node(mod, parent, params) FILE: lib/puppet/face/node/clean.rb function cleanup (line 43) | def cleanup(node) class LoggerIO (line 50) | class LoggerIO method debug (line 51) | def debug(message) method warn (line 55) | def warn(message) method err (line 59) | def err(message) method inform (line 63) | def inform(message) function clean_cert (line 69) | def clean_cert(node) function clean_cached_facts (line 78) | def clean_cached_facts(node) function clean_cached_node (line 84) | def clean_cached_node(node) function clean_reports (line 90) | def clean_reports(node) function environment (line 95) | def environment function type_is_ensurable (line 99) | def type_is_ensurable(resource) FILE: lib/puppet/face/parser.rb function dump_parse (line 176) | def dump_parse(source, filename, options, show_filename = true) function validate_manifest (line 212) | def validate_manifest(manifest = nil) FILE: lib/puppet/facter_impl.rb type Puppet (line 8) | module Puppet class FacterImpl (line 9) | class FacterImpl method initialize (line 10) | def initialize method value (line 16) | def value(fact_name) method add (line 20) | def add(name, &block) method to_hash (line 24) | def to_hash method clear (line 28) | def clear method reset (line 32) | def reset method resolve (line 36) | def resolve(options) method search_external (line 40) | def search_external(dirs) method search (line 44) | def search(*dirs) method trace (line 48) | def trace(value) method debugging (line 52) | def debugging(value) method load_external? (line 56) | def load_external? method load_external (line 60) | def load_external(value) method setup_logging (line 66) | def setup_logging FILE: lib/puppet/feature/base.rb type WindowsSymlink (line 57) | module WindowsSymlink function is_implemented (line 61) | def self.is_implemented # rubocop:disable Naming/PredicateName FILE: lib/puppet/ffi/posix.rb type Puppet (line 5) | module Puppet type FFI (line 6) | module FFI type POSIX (line 7) | module POSIX FILE: lib/puppet/ffi/posix/constants.rb type Puppet::FFI::POSIX (line 5) | module Puppet::FFI::POSIX type Constants (line 6) | module Constants FILE: lib/puppet/ffi/posix/functions.rb type Puppet::FFI::POSIX (line 5) | module Puppet::FFI::POSIX type Functions (line 6) | module Functions FILE: lib/puppet/ffi/windows.rb type Puppet (line 5) | module Puppet type FFI (line 6) | module FFI type Windows (line 7) | module Windows FILE: lib/puppet/ffi/windows/api_types.rb type Puppet::FFI::Windows (line 6) | module Puppet::FFI::Windows type APITypes (line 7) | module APITypes type ::FFI (line 8) | module ::FFI type ::FFI::Library (line 15) | module ::FFI::Library function attach_function_private (line 17) | def attach_function_private(*args) class ::FFI::Pointer (line 23) | class ::FFI::Pointer method from_string_to_wide_string (line 27) | def self.from_string_to_wide_string(str, &block) method read_win32_bool (line 35) | def read_win32_bool method read_handle (line 47) | def read_handle method read_wide_string (line 55) | def read_wide_string(char_length, dst_encoding = Encoding::UTF_8, ... method read_arbitrary_wide_string_up_to (line 75) | def read_arbitrary_wide_string_up_to(max_char_length = 512, null_t... method read_win32_local_pointer (line 94) | def read_win32_local_pointer(&block) method read_com_memory_pointer (line 108) | def read_com_memory_pointer(&block) class FFI::MemoryPointer (line 124) | class FFI::MemoryPointer method from_wide_string (line 127) | def self.from_wide_string(wstr) type ::FFI::WIN32 (line 216) | module ::FFI::WIN32 class GUID (line 226) | class GUID < FFI::Struct method [] (line 232) | def self.[](s) method == (line 247) | def ==(other) Windows.memcmp(other, self, size) == 0 end class SYSTEMTIME (line 261) | class SYSTEMTIME < FFI::Struct method to_local_time (line 271) | def to_local_time class FILETIME (line 284) | class FILETIME < FFI::Struct FILE: lib/puppet/ffi/windows/constants.rb type Puppet::FFI::Windows (line 5) | module Puppet::FFI::Windows type Constants (line 6) | module Constants FILE: lib/puppet/ffi/windows/functions.rb type Puppet::FFI::Windows (line 5) | module Puppet::FFI::Windows type Functions (line 6) | module Functions FILE: lib/puppet/ffi/windows/structs.rb type Puppet::FFI::Windows (line 6) | module Puppet::FFI::Windows type Structs (line 7) | module Structs class SECURITY_ATTRIBUTES (line 17) | class SECURITY_ATTRIBUTES < FFI::Struct class STARTUPINFO (line 49) | class STARTUPINFO < FFI::Struct class PROCESS_INFORMATION (line 81) | class PROCESS_INFORMATION < FFI::Struct class LUID (line 97) | class LUID < FFI::Struct class LUID_AND_ATTRIBUTES (line 107) | class LUID_AND_ATTRIBUTES < FFI::Struct class TOKEN_PRIVILEGES (line 117) | class TOKEN_PRIVILEGES < FFI::Struct class TOKEN_ELEVATION (line 126) | class TOKEN_ELEVATION < FFI::Struct class SERVICE_STATUS_PROCESS (line 142) | class SERVICE_STATUS_PROCESS < FFI::Struct class SERVICE_DELAYED_AUTO_START_INFO (line 160) | class SERVICE_DELAYED_AUTO_START_INFO < FFI::Struct method []= (line 165) | def []=(key, value) class ENUM_SERVICE_STATUS_PROCESSW (line 176) | class ENUM_SERVICE_STATUS_PROCESSW < FFI::Struct class SERVICE_STATUS (line 193) | class SERVICE_STATUS < FFI::Struct class QUERY_SERVICE_CONFIGW (line 216) | class QUERY_SERVICE_CONFIGW < FFI::Struct class SERVICE_TABLE_ENTRYW (line 234) | class SERVICE_TABLE_ENTRYW < FFI::Struct class OSVERSIONINFO (line 250) | class OSVERSIONINFO < FFI::Struct class SYMLINK_REPARSE_DATA_BUFFER (line 267) | class SYMLINK_REPARSE_DATA_BUFFER < FFI::Struct class MOUNT_POINT_REPARSE_DATA_BUFFER (line 285) | class MOUNT_POINT_REPARSE_DATA_BUFFER < FFI::Struct class SHFILEINFO (line 307) | class SHFILEINFO < FFI::Struct class REPARSE_JDATA_BUFFER (line 318) | class REPARSE_JDATA_BUFFER < FFI::Struct method header_size (line 334) | def header_size FILE: lib/puppet/file_bucket.rb type Puppet::FileBucket (line 4) | module Puppet::FileBucket class BucketError (line 5) | class BucketError < RuntimeError; end FILE: lib/puppet/file_bucket/dipper.rb class Puppet::FileBucket::Dipper (line 10) | class Puppet::FileBucket::Dipper method initialize (line 18) | def initialize(hash = {}) method local? (line 34) | def local? method backup (line 39) | def backup(file) method diff (line 64) | def diff(checksum_a, checksum_b, file_a, file_b) method getfile (line 107) | def getfile(sum) method get_bucket_file (line 112) | def get_bucket_file(sum) method restore (line 122) | def restore(file, sum) method list (line 162) | def list(fromdate, todate) method absolutize_path (line 180) | def absolutize_path(path) FILE: lib/puppet/file_bucket/file.rb class Puppet::FileBucket::File (line 9) | class Puppet::FileBucket::File method supported_formats (line 18) | def self.supported_formats method initialize (line 22) | def initialize(contents, options = {}) method size (line 38) | def size method stream (line 43) | def stream(&block) method checksum_type (line 47) | def checksum_type method checksum (line 51) | def checksum method checksum_data (line 55) | def checksum_data method to_s (line 59) | def to_s method to_binary (line 63) | def to_binary method contents (line 67) | def contents method name (line 71) | def name method from_binary (line 75) | def self.from_binary(contents) class StringContents (line 79) | class StringContents method initialize (line 80) | def initialize(content) method stream (line 84) | def stream(&block) method size (line 93) | def size method checksum_data (line 97) | def checksum_data(base_method) method to_binary (line 102) | def to_binary class FileContents (line 109) | class FileContents method initialize (line 110) | def initialize(path) method stream (line 114) | def stream(&block) method size (line 118) | def size method checksum_data (line 122) | def checksum_data(base_method) method to_binary (line 127) | def to_binary FILE: lib/puppet/file_serving.rb class Puppet::FileServing (line 4) | class Puppet::FileServing # :nodoc: FILE: lib/puppet/file_serving/base.rb class Puppet::FileServing::Base (line 8) | class Puppet::FileServing::Base method exist? (line 14) | def exist? method full_path (line 22) | def full_path method initialize (line 37) | def initialize(path, links: nil, relative_path: nil, source: nil) method links= (line 49) | def links=(value) method path= (line 61) | def path=(path) method relative_path= (line 71) | def relative_path=(path) method stat (line 78) | def stat method to_data_hash (line 83) | def to_data_hash method absolute? (line 91) | def self.absolute?(path) FILE: lib/puppet/file_serving/configuration.rb class Puppet::FileServing::Configuration (line 14) | class Puppet::FileServing::Configuration method configuration (line 17) | def self.configuration method find_mount (line 31) | def find_mount(mount_name, environment) method initialize (line 38) | def initialize method mounted? (line 48) | def mounted?(name) method split_path (line 53) | def split_path(request) method umount (line 80) | def umount(name) method mk_default_mounts (line 86) | def mk_default_mounts method readconfig (line 96) | def readconfig(check = true) FILE: lib/puppet/file_serving/configuration/parser.rb class Puppet::FileServing::Configuration::Parser (line 6) | class Puppet::FileServing::Configuration::Parser method parse (line 11) | def parse method initialize (line 62) | def initialize(filename) method changed? (line 66) | def changed? method newmount (line 73) | def newmount(name) method path (line 98) | def path(mount, value) method validate (line 113) | def validate FILE: lib/puppet/file_serving/content.rb class Puppet::FileServing::Content (line 10) | class Puppet::FileServing::Content < Puppet::FileServing::Base method supported_formats (line 16) | def self.supported_formats method from_binary (line 20) | def self.from_binary(content) method collect (line 28) | def collect(source_permissions = nil) method content (line 32) | def content method to_binary (line 42) | def to_binary FILE: lib/puppet/file_serving/fileset.rb class Puppet::FileServing::Fileset (line 8) | class Puppet::FileServing::Fileset method merge (line 17) | def self.merge(*filesets) method initialize (line 29) | def initialize(path, options = {}) method files (line 62) | def files method ignore= (line 86) | def ignore=(values) method links= (line 91) | def links=(links) method initialize_from_hash (line 102) | def initialize_from_hash(options) method initialize_from_request (line 113) | def initialize_from_request(request) method down_level (line 130) | def down_level(to) method basename (line 134) | def basename method children (line 138) | def children method ignore? (line 146) | def ignore?(child) method directory? (line 153) | def directory? method perform_recursion (line 162) | def perform_recursion method valid? (line 179) | def valid?(path) method continue_recursion_at? (line 186) | def continue_recursion_at?(depth) FILE: lib/puppet/file_serving/http_metadata.rb class Puppet::FileServing::HttpMetadata (line 7) | class Puppet::FileServing::HttpMetadata < Puppet::FileServing::Metadata method initialize (line 8) | def initialize(http_response, path = '/dev/null') method collect (line 50) | def collect FILE: lib/puppet/file_serving/metadata.rb class Puppet::FileServing::Metadata (line 11) | class Puppet::FileServing::Metadata < Puppet::FileServing::Base method checksum_type= (line 21) | def checksum_type=(type) method source_permissions= (line 27) | def source_permissions=(source_permissions) method content_uri= (line 33) | def content_uri=(path) class MetaStat (line 45) | class MetaStat method initialize (line 48) | def initialize(stat, source_permissions) method owner (line 53) | def owner method group (line 57) | def group method mode (line 61) | def mode class WindowsStat (line 68) | class WindowsStat < MetaStat method initialize (line 73) | def initialize(stat, path, source_permissions) method collect_stat (line 88) | def collect_stat(path) method collect (line 101) | def collect(source_permissions = nil) method initialize (line 133) | def initialize(path, data = {}) method to_data_hash (line 154) | def to_data_hash method from_data_hash (line 171) | def self.from_data_hash(data) FILE: lib/puppet/file_serving/mount.rb class Puppet::FileServing::Mount (line 10) | class Puppet::FileServing::Mount method find (line 15) | def find(path, options) method initialize (line 20) | def initialize(name) method search (line 30) | def search(path, options) method to_s (line 34) | def to_s method validate (line 39) | def validate FILE: lib/puppet/file_serving/mount/file.rb class Puppet::FileServing::Mount::File (line 5) | class Puppet::FileServing::Mount::File < Puppet::FileServing::Mount method localmap (line 6) | def self.localmap method complete_path (line 17) | def complete_path(relative_path, node) method find (line 36) | def find(short_file, request) method path (line 41) | def path(node = nil) method path= (line 50) | def path=(path) method search (line 65) | def search(path, request) method validate (line 74) | def validate method clientmap (line 81) | def clientmap(node) method expand (line 90) | def expand(path, node = nil) method expandable? (line 113) | def expandable? method localmap (line 123) | def localmap FILE: lib/puppet/file_serving/mount/locales.rb class Puppet::FileServing::Mount::Locales (line 8) | class Puppet::FileServing::Mount::Locales < Puppet::FileServing::Mount method find (line 10) | def find(relative_path, request) method search (line 17) | def search(relative_path, request) method valid? (line 32) | def valid? FILE: lib/puppet/file_serving/mount/modules.rb class Puppet::FileServing::Mount::Modules (line 7) | class Puppet::FileServing::Mount::Modules < Puppet::FileServing::Mount method find (line 9) | def find(path, request) method search (line 19) | def search(path, request) method valid? (line 26) | def valid? FILE: lib/puppet/file_serving/mount/pluginfacts.rb class Puppet::FileServing::Mount::PluginFacts (line 8) | class Puppet::FileServing::Mount::PluginFacts < Puppet::FileServing::Mount method find (line 10) | def find(relative_path, request) method search (line 17) | def search(relative_path, request) method valid? (line 32) | def valid? FILE: lib/puppet/file_serving/mount/plugins.rb class Puppet::FileServing::Mount::Plugins (line 8) | class Puppet::FileServing::Mount::Plugins < Puppet::FileServing::Mount method find (line 10) | def find(relative_path, request) method search (line 17) | def search(relative_path, request) method valid? (line 32) | def valid? FILE: lib/puppet/file_serving/mount/scripts.rb class Puppet::FileServing::Mount::Scripts (line 5) | class Puppet::FileServing::Mount::Scripts < Puppet::FileServing::Mount method find (line 7) | def find(path, request) method search (line 17) | def search(path, request) method valid? (line 24) | def valid? FILE: lib/puppet/file_serving/mount/tasks.rb class Puppet::FileServing::Mount::Tasks (line 5) | class Puppet::FileServing::Mount::Tasks < Puppet::FileServing::Mount method find (line 6) | def find(path, request) method search (line 16) | def search(path, request) method valid? (line 23) | def valid? FILE: lib/puppet/file_serving/terminus_helper.rb type Puppet::FileServing::TerminusHelper (line 8) | module Puppet::FileServing::TerminusHelper function path2instance (line 10) | def path2instance(request, path, options = {}) function path2instances (line 23) | def path2instances(request, *paths) FILE: lib/puppet/file_serving/terminus_selector.rb type Puppet::FileServing::TerminusSelector (line 8) | module Puppet::FileServing::TerminusSelector function select (line 9) | def select(request) FILE: lib/puppet/file_system.rb type Puppet::FileSystem (line 3) | module Puppet::FileSystem function overlay (line 30) | def self.overlay(*files, &block) function open (line 51) | def self.open(path, mode, options, &block) function dir (line 59) | def self.dir(path) function dir_string (line 67) | def self.dir_string(path) function dir_exist? (line 72) | def self.dir_exist?(path) function dir_mkpath (line 77) | def self.dir_mkpath(path) function basename (line 85) | def self.basename(path) function basename_string (line 93) | def self.basename_string(path) function exclusive_open (line 119) | def self.exclusive_open(path, mode, options = 'r', timeout = 300, &block) function each_line (line 127) | def self.each_line(path, &block) function read (line 135) | def self.read(path, opts = {}) function read_preserve_line_endings (line 148) | def self.read_preserve_line_endings(path) function binread (line 156) | def self.binread(path) function exist? (line 167) | def self.exist?(path) function directory? (line 176) | def self.directory?(path) function file? (line 185) | def self.file?(path) function executable? (line 197) | def self.executable?(path) function writable? (line 205) | def self.writable?(path) function touch (line 215) | def self.touch(path, mtime: nil) function mkpath (line 223) | def self.mkpath(path) function children (line 230) | def self.children(path) function symlink (line 261) | def self.symlink(path, dest, options = {}) function symlink? (line 269) | def self.symlink?(path) function readlink (line 277) | def self.readlink(path) function unlink (line 290) | def self.unlink(*paths) function stat (line 298) | def self.stat(path) function size (line 306) | def self.size(path) function lstat (line 315) | def self.lstat(path) function compare_stream (line 326) | def self.compare_stream(path, stream) function pathname (line 340) | def self.pathname(path) function expand_path (line 356) | def self.expand_path(path, dir_string = nil) function assert_path (line 366) | def self.assert_path(path) function path_string (line 375) | def self.path_string(path) function exclusive_create (line 387) | def self.exclusive_create(path, mode, &block) function chmod (line 401) | def self.chmod(mode, path) function replace_file (line 418) | def self.replace_file(path, mode = nil, &block) FILE: lib/puppet/file_system/file_impl.rb class Puppet::FileSystem::FileImpl (line 5) | class Puppet::FileSystem::FileImpl method pathname (line 6) | def pathname(path) method assert_path (line 10) | def assert_path(path) method path_string (line 22) | def path_string(path) method expand_path (line 26) | def expand_path(path, dir_string = nil) method open (line 31) | def open(path, mode, options, &block) method dir (line 35) | def dir(path) method basename (line 39) | def basename(path) method size (line 43) | def size(path) method exclusive_create (line 47) | def exclusive_create(path, mode, &block) method exclusive_open (line 52) | def exclusive_open(path, mode, options = 'r', timeout = 300, &block) method each_line (line 75) | def each_line(path, &block) method read (line 83) | def read(path, opts = {}) method read_preserve_line_endings (line 87) | def read_preserve_line_endings(path) method binread (line 93) | def binread(path) method exist? (line 97) | def exist?(path) method directory? (line 101) | def directory?(path) method file? (line 105) | def file?(path) method executable? (line 109) | def executable?(path) method writable? (line 113) | def writable?(path) method touch (line 117) | def touch(path, mtime: nil) method mkpath (line 121) | def mkpath(path) method children (line 125) | def children(path) method symlink (line 129) | def symlink(path, dest, options = {}) method symlink? (line 133) | def symlink?(path) method readlink (line 137) | def readlink(path) method unlink (line 141) | def unlink(*paths) method stat (line 145) | def stat(path) method lstat (line 149) | def lstat(path) method compare_stream (line 153) | def compare_stream(path, stream) method chmod (line 157) | def chmod(mode, path) method replace_file (line 161) | def replace_file(path, mode = nil) FILE: lib/puppet/file_system/jruby.rb class Puppet::FileSystem::JRuby (line 5) | class Puppet::FileSystem::JRuby < Puppet::FileSystem::Posix method unlink (line 6) | def unlink(*paths) method replace_file (line 16) | def replace_file(path, mode = nil, &block) FILE: lib/puppet/file_system/memory_file.rb class Puppet::FileSystem::MemoryFile (line 5) | class Puppet::FileSystem::MemoryFile method a_missing_file (line 8) | def self.a_missing_file(path) method a_missing_directory (line 12) | def self.a_missing_directory(path) method a_regular_file_containing (line 19) | def self.a_regular_file_containing(path, content) method an_executable (line 23) | def self.an_executable(path) method a_directory (line 27) | def self.a_directory(path, children = []) method a_symlink (line 35) | def self.a_symlink(target_path, source_path) method initialize (line 39) | def initialize(path, properties) method directory? (line 47) | def directory?; @properties[:directory?]; end method exist? (line 48) | def exist?; @properties[:exist?]; end method executable? (line 49) | def executable?; @properties[:executable?]; end method symlink? (line 50) | def symlink?; @properties[:symlink?]; end method source_path (line 51) | def source_path; @properties[:source_path]; end method each_line (line 53) | def each_line(&block) method handle (line 57) | def handle method duplicate_as (line 63) | def duplicate_as(other_path) method absolute? (line 67) | def absolute? method to_path (line 71) | def to_path method to_s (line 75) | def to_s method inspect (line 79) | def inspect FILE: lib/puppet/file_system/memory_impl.rb class Puppet::FileSystem::MemoryImpl (line 3) | class Puppet::FileSystem::MemoryImpl method initialize (line 4) | def initialize(*files) method expand_path (line 8) | def expand_path(path, dir_string = nil) method exist? (line 12) | def exist?(path) method directory? (line 16) | def directory?(path) method file? (line 20) | def file?(path) method executable? (line 24) | def executable?(path) method symlink? (line 28) | def symlink?(path) method readlink (line 32) | def readlink(path) method children (line 43) | def children(path) method each_line (line 47) | def each_line(path, &block) method pathname (line 51) | def pathname(path) method basename (line 55) | def basename(path) method path_string (line 59) | def path_string(object) method read (line 63) | def read(path, opts = {}) method read_preserve_line_endings (line 68) | def read_preserve_line_endings(path) method open (line 72) | def open(path, *args, &block) method assert_path (line 81) | def assert_path(path) method find (line 91) | def find(path) method all_children_of (line 95) | def all_children_of(files) FILE: lib/puppet/file_system/path_pattern.rb type Puppet::FileSystem (line 6) | module Puppet::FileSystem class PathPattern (line 7) | class PathPattern class InvalidPattern (line 8) | class InvalidPattern < Puppet::Error; end method relative (line 15) | def self.relative(pattern) method absolute (line 19) | def self.absolute(pattern) method prefix_with (line 30) | def prefix_with(prefix) method glob (line 35) | def glob method to_s (line 39) | def to_s method validate (line 49) | def validate method initialize (line 57) | def initialize(pattern) class RelativePathPattern (line 68) | class RelativePathPattern < PathPattern method absolute? (line 69) | def absolute? method validate (line 73) | def validate class AbsolutePathPattern (line 83) | class AbsolutePathPattern < PathPattern method absolute? (line 84) | def absolute? method validate (line 88) | def validate FILE: lib/puppet/file_system/posix.rb class Puppet::FileSystem::Posix (line 3) | class Puppet::FileSystem::Posix < Puppet::FileSystem::FileImpl method binread (line 4) | def binread(path) method compare_stream (line 14) | def compare_stream(path, stream) method stream_blksize (line 31) | def stream_blksize(*streams) method blksize (line 41) | def blksize(st) method default_blksize (line 49) | def default_blksize FILE: lib/puppet/file_system/uniquefile.rb class Puppet::FileSystem::Uniquefile (line 13) | class Puppet::FileSystem::Uniquefile < DelegateClass(File) method open_tmp (line 21) | def self.open_tmp(identifier) method initialize (line 30) | def initialize(basename, *rest) method open (line 54) | def open method _close (line 60) | def _close method close (line 67) | def close(unlink_now = false) method close! (line 75) | def close! method unlink (line 80) | def unlink method path (line 96) | def path method make_tmpname (line 102) | def make_tmpname(prefix_suffix, n) method create_tmpname (line 119) | def create_tmpname(basename, *rest) method try_convert_to_hash (line 143) | def try_convert_to_hash(h) method tmpdir (line 151) | def tmpdir method locking (line 170) | def locking(tmpname) method mkdir (line 182) | def mkdir(*args) method rmdir (line 186) | def rmdir(*args) FILE: lib/puppet/file_system/windows.rb class Puppet::FileSystem::Windows (line 6) | class Puppet::FileSystem::Windows < Puppet::FileSystem::Posix method open (line 10) | def open(path, mode, options, &block) method expand_path (line 19) | def expand_path(path, dir_string = nil) method exist? (line 38) | def exist?(path) method symlink (line 42) | def symlink(path, dest, options = {}) method symlink? (line 63) | def symlink?(path) method readlink (line 69) | def readlink(path) method unlink (line 74) | def unlink(*file_names) method stat (line 108) | def stat(path) method lstat (line 112) | def lstat(path) method chmod (line 120) | def chmod(mode, path) method read_preserve_line_endings (line 124) | def read_preserve_line_endings(path) method replace_file (line 138) | def replace_file(path, mode = nil) method set_dacl (line 189) | def set_dacl(path, dacl) method secure_dacl (line 195) | def secure_dacl(current_sid) method get_dacl_from_file (line 207) | def get_dacl_from_file(path) method raise_if_symlinks_unsupported (line 214) | def raise_if_symlinks_unsupported FILE: lib/puppet/forge.rb class Puppet::Forge (line 13) | class Puppet::Forge < SemanticPuppet::Dependency::Source method initialize (line 27) | def initialize(host = Puppet[:module_repository]) method search (line 59) | def search(term) method fetch (line 95) | def fetch(input) method make_http_request (line 120) | def make_http_request(*args) class ModuleRelease (line 124) | class ModuleRelease < SemanticPuppet::Dependency::ModuleRelease method initialize (line 127) | def initialize(source, data) method install (line 150) | def install(dir) method prepare (line 169) | def prepare method tmpdir (line 198) | def tmpdir method tmpfile (line 202) | def tmpfile method download (line 207) | def download(uri, destination) method validate_checksum (line 215) | def validate_checksum(file, checksum, digest_class) method unpack (line 225) | def unpack(file, destination) method deprecated? (line 231) | def deprecated? method process (line 238) | def process(list) method decode_uri (line 252) | def decode_uri(uri) FILE: lib/puppet/forge/cache.rb class Puppet::Forge (line 7) | class Puppet::Forge class Cache (line 11) | class Cache method initialize (line 13) | def initialize(repository, options = {}) method retrieve (line 23) | def retrieve(url) method read_retrieve (line 40) | def read_retrieve(uri) method path (line 45) | def path method base_path (line 50) | def self.base_path method clean (line 57) | def self.clean FILE: lib/puppet/forge/errors.rb type Puppet::Forge::Errors (line 8) | module Puppet::Forge::Errors class ForgeError (line 10) | class ForgeError < Puppet::Error method multiline (line 15) | def multiline class SSLVerifyError (line 22) | class SSLVerifyError < ForgeError method initialize (line 25) | def initialize(options) method multiline (line 35) | def multiline class CommunicationError (line 47) | class CommunicationError < ForgeError method initialize (line 50) | def initialize(options) method multiline (line 62) | def multiline class ResponseError (line 74) | class ResponseError < ForgeError method initialize (line 79) | def initialize(options) method multiline (line 104) | def multiline FILE: lib/puppet/forge/repository.rb class Puppet::Forge (line 10) | class Puppet::Forge class Repository (line 14) | class Repository method initialize (line 21) | def initialize(host, for_agent) method make_http_request (line 32) | def make_http_request(path, io = nil) method forge_authorization (line 60) | def forge_authorization method retrieve (line 70) | def retrieve(release) method to_s (line 76) | def to_s method cache_key (line 82) | def cache_key method user_agent (line 91) | def user_agent FILE: lib/puppet/functions.rb type Puppet::Functions (line 179) | module Puppet::Functions function create_function (line 186) | def self.create_function(func_name, function_base = Function, &block) function create_loaded_function (line 211) | def self.create_loaded_function(func_name, loader, function_base = Fun... function default_dispatcher (line 271) | def self.default_dispatcher(the_class, func_name) function min_max_param (line 280) | def self.min_max_param(method) function any_signature (line 293) | def self.any_signature(from, to, names) class Function (line 306) | class Function < Puppet::Pops::Functions::Function method builder (line 308) | def self.builder method dispatch (line 320) | def self.dispatch(meth_name, &block) method argument_mismatch (line 335) | def self.argument_mismatch(meth_name, &block) method local_types (line 349) | def self.local_types(&block) method new (line 377) | def self.new(closure_scope, given_loader) class PuppetFunction (line 383) | class PuppetFunction < Function method init_dispatch (line 384) | def self.init_dispatch(a_closure) class DispatcherBuilder (line 394) | class DispatcherBuilder method initialize (line 398) | def initialize(dispatcher, all_callables, loader) method param (line 413) | def param(type, name) method optional_param (line 432) | def optional_param(type, name) method repeated_param (line 447) | def repeated_param(type, name) method required_repeated_param (line 463) | def required_repeated_param(type, name) method block_param (line 476) | def block_param(*type_and_name) method optional_block_param (line 513) | def optional_block_param(*type_and_name) method return_type (line 523) | def return_type(type) method internal_param (line 534) | def internal_param(type, name, repeat = false) method dispatch (line 557) | def dispatch(meth_name, argument_mismatch_handler, &block) method create_callable (line 583) | def create_callable(types, block_type, return_type, from, to) method internal_type_parse (line 592) | def internal_type_parse(type_string, loader) class LocalTypeAliasesBuilder (line 606) | class LocalTypeAliasesBuilder method initialize (line 609) | def initialize(loader, name) method type (line 624) | def type(assignment_string) class InternalFunction (line 662) | class InternalFunction < Function method builder (line 664) | def self.builder method call_function_with_scope (line 678) | def call_function_with_scope(scope, function_name, *args, &block) class Function3x (line 683) | class Function3x < InternalFunction method create_function (line 697) | def self.create_function(func_name, func_info, loader) method from_to_names (line 781) | def self.from_to_names(func_info) class InternalDispatchBuilder (line 824) | class InternalDispatchBuilder < DispatcherBuilder method scope_param (line 826) | def scope_param method script_compiler_param (line 831) | def script_compiler_param method cache_param (line 836) | def cache_param method compiler_param (line 841) | def compiler_param method pal_compiler_param (line 846) | def pal_compiler_param method inject (line 852) | def inject(injection_name) FILE: lib/puppet/functions/abs.rb function on_numeric (line 44) | def on_numeric(x) function on_string (line 48) | def on_string(x) FILE: lib/puppet/functions/alert.rb function alert (line 13) | def alert(scope, *values) FILE: lib/puppet/functions/all.rb function all_Hash_1 (line 85) | def all_Hash_1(hash) function all_Hash_2 (line 89) | def all_Hash_2(hash) function all_Enumerable_1 (line 93) | def all_Enumerable_1(enumerable) function all_Enumerable_2 (line 97) | def all_Enumerable_2(enumerable) FILE: lib/puppet/functions/annotate.rb function annotate (line 91) | def annotate(type, value, &block) function annotate_new (line 99) | def annotate_new(type, value, annotation_hash) function annotate_multi (line 107) | def annotate_multi(type, value, annotations) FILE: lib/puppet/functions/any.rb function any_Hash_1 (line 90) | def any_Hash_1(hash) function any_Hash_2 (line 94) | def any_Hash_2(hash) function any_Enumerable_1 (line 98) | def any_Enumerable_1(enumerable) function any_Enumerable_2 (line 102) | def any_Enumerable_2(enumerable) FILE: lib/puppet/functions/assert_type.rb function assert_type (line 71) | def assert_type(type, value) function assert_type_s (line 92) | def assert_type_s(type_string, value, &proc) FILE: lib/puppet/functions/binary_file.rb function binary_file (line 26) | def binary_file(scope, unresolved_path) FILE: lib/puppet/functions/break.rb function break_impl (line 40) | def break_impl FILE: lib/puppet/functions/call.rb function call_impl_block (line 73) | def call_impl_block(scope, function_name, *args, &block) function call_deferred (line 78) | def call_deferred(scope, deferred) FILE: lib/puppet/functions/camelcase.rb function on_numeric (line 47) | def on_numeric(n) function on_string (line 51) | def on_string(s) function on_iterable (line 55) | def on_iterable(a) function do_camelcase (line 59) | def do_camelcase(x) FILE: lib/puppet/functions/capitalize.rb function on_numeric (line 46) | def on_numeric(n) function on_string (line 50) | def on_string(s) function on_iterable (line 54) | def on_iterable(a) function do_capitalize (line 58) | def do_capitalize(x) FILE: lib/puppet/functions/ceiling.rb function on_numeric (line 23) | def on_numeric(x) function on_string (line 27) | def on_string(x) FILE: lib/puppet/functions/chomp.rb function on_numeric (line 42) | def on_numeric(n) function on_string (line 46) | def on_string(s) function on_iterable (line 50) | def on_iterable(a) function do_chomp (line 54) | def do_chomp(x) FILE: lib/puppet/functions/chop.rb function on_numeric (line 52) | def on_numeric(n) function on_string (line 56) | def on_string(s) function on_iterable (line 60) | def on_iterable(a) function do_chop (line 64) | def do_chop(x) FILE: lib/puppet/functions/compare.rb function on_numeric (line 63) | def on_numeric(a, b) function on_string (line 67) | def on_string(a, b, ignore_case = true) function on_version (line 75) | def on_version(a, b) function on_time_num_first (line 79) | def on_time_num_first(a, b) function on_timespan (line 85) | def on_timespan(a, b) function on_timestamp (line 89) | def on_timestamp(a, b) function on_not_comparable (line 93) | def on_not_comparable(a, b, *ignore_case) function on_error (line 100) | def on_error(a, b, *ignore_case) function type_label (line 124) | def type_label(x) FILE: lib/puppet/functions/contain.rb function contain (line 33) | def contain(scope, *classes) FILE: lib/puppet/functions/convert_to.rb function convert_to (line 32) | def convert_to(value, type, *args, &block) FILE: lib/puppet/functions/crit.rb function crit (line 13) | def crit(scope, *values) FILE: lib/puppet/functions/debug.rb function debug (line 13) | def debug(scope, *values) FILE: lib/puppet/functions/defined.rb function is_defined (line 110) | def is_defined(scope, *vals) # rubocop:disable Naming/PredicateName FILE: lib/puppet/functions/dig.rb function dig (line 38) | def dig(data, *args) FILE: lib/puppet/functions/downcase.rb function on_numeric (line 70) | def on_numeric(n) function on_string (line 74) | def on_string(s) function on_array (line 78) | def on_array(a) function on_hash (line 82) | def on_hash(h) function do_downcase (line 88) | def do_downcase(x) FILE: lib/puppet/functions/each.rb function foreach_Hash_1 (line 120) | def foreach_Hash_1(hash) function foreach_Hash_2 (line 131) | def foreach_Hash_2(hash) function foreach_Enumerable_1 (line 142) | def foreach_Enumerable_1(enumerable) function foreach_Enumerable_2 (line 154) | def foreach_Enumerable_2(enumerable) FILE: lib/puppet/functions/emerg.rb function emerg (line 13) | def emerg(scope, *values) FILE: lib/puppet/functions/empty.rb function collection_empty (line 51) | def collection_empty(coll) function sensitive_string_empty (line 55) | def sensitive_string_empty(str) function string_empty (line 59) | def string_empty(str) function numeric_empty (line 66) | def numeric_empty(num) function binary_empty (line 71) | def binary_empty(bin) function undef_empty (line 78) | def undef_empty(x) function deprecation_warning_for (line 82) | def deprecation_warning_for(arg_type) FILE: lib/puppet/functions/epp.rb function epp (line 47) | def epp(scope, path, parameters = nil) FILE: lib/puppet/functions/err.rb function err (line 13) | def err(scope, *values) FILE: lib/puppet/functions/eyaml_lookup_key.rb function eyaml_lookup_key (line 25) | def eyaml_lookup_key(key, options, context) function load_data_hash (line 47) | def load_data_hash(options, context) function decrypt_value (line 66) | def decrypt_value(value, context, options, key) function decrypt (line 81) | def decrypt(data, context, options, key) function encrypted? (line 100) | def encrypted?(data) FILE: lib/puppet/functions/filter.rb function filter_Hash_1 (line 96) | def filter_Hash_1(hash) function filter_Hash_2 (line 103) | def filter_Hash_2(hash) function filter_Enumerable_1 (line 110) | def filter_Enumerable_1(enumerable) function filter_Enumerable_2 (line 122) | def filter_Enumerable_2(enumerable) FILE: lib/puppet/functions/find_file.rb function find_file_array (line 37) | def find_file_array(scope, array) function find_file (line 41) | def find_file(scope, *args) FILE: lib/puppet/functions/find_template.rb function find_template_array (line 52) | def find_template_array(scope, array) function find_template (line 56) | def find_template(scope, *args) FILE: lib/puppet/functions/flatten.rb function flatten_args (line 63) | def flatten_args(*args) FILE: lib/puppet/functions/floor.rb function on_numeric (line 23) | def on_numeric(x) function on_string (line 27) | def on_string(x) FILE: lib/puppet/functions/get.rb function get_from_value (line 127) | def get_from_value(value, navigation, default_value = nil, &block) FILE: lib/puppet/functions/getvar.rb function invalid_variable_error (line 61) | def invalid_variable_error(navigation, default_value = nil, &block) function get_from_navigation (line 67) | def get_from_navigation(scope, navigation, default_value = nil, &block) function get_from_var_name (line 83) | def get_from_var_name(scope, var_string, navigation, default_value = nil... FILE: lib/puppet/functions/group_by.rb function group_by_1 (line 41) | def group_by_1(collection) function group_by_2a (line 47) | def group_by_2a(array) function group_by_2 (line 57) | def group_by_2(collection) FILE: lib/puppet/functions/hiera_array.rb function merge_type (line 80) | def merge_type FILE: lib/puppet/functions/hiera_hash.rb function merge_type (line 91) | def merge_type FILE: lib/puppet/functions/hiera_include.rb function merge_type (line 98) | def merge_type function post_lookup (line 102) | def post_lookup(scope, key, value) FILE: lib/puppet/functions/hocon_data.rb function hocon_data (line 29) | def hocon_data(options, context) function missing_path (line 38) | def missing_path(options, context) FILE: lib/puppet/functions/import.rb function import (line 6) | def import(*args) FILE: lib/puppet/functions/include.rb function include (line 41) | def include(scope, *classes) FILE: lib/puppet/functions/index.rb function index_Hash_1 (line 125) | def index_Hash_1(hash) function index_Hash_2 (line 130) | def index_Hash_2(hash) function index_Enumerable_1 (line 135) | def index_Enumerable_1(enumerable) function index_Enumerable_2 (line 145) | def index_Enumerable_2(enumerable) function string_index (line 155) | def string_index(str, match) function index_value (line 159) | def index_value(enumerable, match) FILE: lib/puppet/functions/info.rb function info (line 13) | def info(scope, *values) FILE: lib/puppet/functions/inline_epp.rb function inline_epp (line 58) | def inline_epp(scope, template, parameters = nil) FILE: lib/puppet/functions/join.rb function join (line 55) | def join(arg, delimiter = '', puppet_formatting = false) FILE: lib/puppet/functions/json_data.rb function json_data (line 20) | def json_data(options, context) function missing_path (line 30) | def missing_path(options, context) FILE: lib/puppet/functions/keys.rb function keys (line 24) | def keys(hsh) FILE: lib/puppet/functions/length.rb function collection_length (line 34) | def collection_length(col) function string_length (line 38) | def string_length(s) function binary_length (line 42) | def binary_length(bin) FILE: lib/puppet/functions/lest.rb function lest (line 50) | def lest(arg) FILE: lib/puppet/functions/lookup.rb function lookup_1 (line 189) | def lookup_1(scope, name, value_type = nil, merge = nil) function lookup_2 (line 193) | def lookup_2(scope, name, value_type, merge, default_value) function lookup_3 (line 197) | def lookup_3(scope, name, value_type = nil, merge = nil, &block) function lookup_4 (line 201) | def lookup_4(scope, options_hash, &block) function lookup_5 (line 205) | def lookup_5(scope, name, options_hash, &block) function do_lookup (line 209) | def do_lookup(scope, name, value_type, default_value, has_default, overr... function hash_args (line 214) | def hash_args(options_hash) FILE: lib/puppet/functions/lstrip.rb function on_numeric (line 43) | def on_numeric(n) function on_string (line 47) | def on_string(s) function on_iterable (line 51) | def on_iterable(a) function do_lstrip (line 55) | def do_lstrip(x) FILE: lib/puppet/functions/map.rb function map_Hash_1 (line 92) | def map_Hash_1(hash) function map_Hash_2 (line 101) | def map_Hash_2(hash) function map_Enumerable_1 (line 110) | def map_Enumerable_1(enumerable) function map_Enumerable_2 (line 122) | def map_Enumerable_2(enumerable) FILE: lib/puppet/functions/match.rb function initialize (line 50) | def initialize(closure_scope, loader) function match (line 66) | def match(string, pattern) function enumerable_match (line 76) | def enumerable_match(array, pattern) function match_Object (line 82) | def match_Object(obj, s) function match_String (line 87) | def match_String(pattern_string, s) function match_Regexp (line 91) | def match_Regexp(regexp, s) function match_PTypeAliasType (line 95) | def match_PTypeAliasType(alias_t, s) function match_PVariantType (line 99) | def match_PVariantType(var_t, s) function match_PRegexpType (line 106) | def match_PRegexpType(regexp_t, s) function match_PPatternType (line 112) | def match_PPatternType(pattern_t, s) function match_Array (line 121) | def match_Array(array, s) function do_match (line 129) | def do_match(s, regexp) FILE: lib/puppet/functions/max.rb function on_numeric (line 139) | def on_numeric(*args) function on_string (line 145) | def on_string(*args) function on_semver (line 160) | def on_semver(*args) function on_timespan (line 165) | def on_timespan(*args) function on_timestamp (line 170) | def on_timestamp(*args) function on_any_with_block (line 175) | def on_any_with_block(*args, &block) function on_single_numeric_array (line 179) | def on_single_numeric_array(array, &block) function on_single_string_array (line 187) | def on_single_string_array(array, &block) function on_single_semver_array (line 195) | def on_single_semver_array(array, &block) function on_single_timespan_array (line 203) | def on_single_timespan_array(array, &block) function on_single_timestamp_array (line 211) | def on_single_timestamp_array(array, &block) function on_single_any_array (line 219) | def on_single_any_array(array, &block) function on_any (line 230) | def on_any(*args) function assert_arg_count (line 247) | def assert_arg_count(args) FILE: lib/puppet/functions/min.rb function on_numeric (line 138) | def on_numeric(*args) function on_string (line 144) | def on_string(*args) function on_semver (line 159) | def on_semver(*args) function on_timespan (line 164) | def on_timespan(*args) function on_timestamp (line 169) | def on_timestamp(*args) function on_any_with_block (line 174) | def on_any_with_block(*args, &block) function on_single_numeric_array (line 178) | def on_single_numeric_array(array, &block) function on_single_string_array (line 186) | def on_single_string_array(array, &block) function on_single_semver_array (line 194) | def on_single_semver_array(array, &block) function on_single_timespan_array (line 202) | def on_single_timespan_array(array, &block) function on_single_timestamp_array (line 210) | def on_single_timestamp_array(array, &block) function on_single_any_array (line 218) | def on_single_any_array(array, &block) function on_any (line 229) | def on_any(*args) function assert_arg_count (line 246) | def assert_arg_count(args) FILE: lib/puppet/functions/module_directory.rb function module_directory_array (line 32) | def module_directory_array(scope, names) function module_directory (line 36) | def module_directory(scope, *names) FILE: lib/puppet/functions/new.rb function new_instance (line 993) | def new_instance(scope, t, *args) function new_function_for_type (line 1000) | def new_function_for_type(t) function assert_type (line 1010) | def assert_type(type, value) FILE: lib/puppet/functions/next.rb function next_impl (line 30) | def next_impl(value = nil) FILE: lib/puppet/functions/notice.rb function notice (line 13) | def notice(scope, *values) FILE: lib/puppet/functions/partition.rb function partition_1 (line 41) | def partition_1(collection) function partition_2a (line 47) | def partition_2a(array) function partition_2 (line 57) | def partition_2(collection) FILE: lib/puppet/functions/reduce.rb function reduce_without_memo (line 142) | def reduce_without_memo(enumerable) function reduce_with_memo (line 151) | def reduce_with_memo(enumerable, given_memo) FILE: lib/puppet/functions/regsubst.rb function regsubst_string (line 68) | def regsubst_string(target, pattern, replacement, flags = nil, encoding ... function regsubst_regexp (line 91) | def regsubst_regexp(target, pattern, replacement, flags = nil) function inner_regsubst (line 96) | def inner_regsubst(target, re, replacement, op) FILE: lib/puppet/functions/require.rb function require_impl (line 49) | def require_impl(scope, *classes) FILE: lib/puppet/functions/return.rb function return_impl (line 13) | def return_impl(value = nil) FILE: lib/puppet/functions/reverse_each.rb function reverse_each (line 87) | def reverse_each(iterable) function reverse_each_block (line 92) | def reverse_each_block(iterable, &block) FILE: lib/puppet/functions/round.rb function on_numeric (line 19) | def on_numeric(x) FILE: lib/puppet/functions/rstrip.rb function on_numeric (line 43) | def on_numeric(n) function on_string (line 47) | def on_string(s) function on_iterable (line 51) | def on_iterable(a) function do_rstrip (line 55) | def do_rstrip(x) FILE: lib/puppet/functions/scanf.rb function scanf (line 39) | def scanf(data, format) FILE: lib/puppet/functions/size.rb function generic_size (line 12) | def generic_size(arg) FILE: lib/puppet/functions/slice.rb function slice_Hash (line 62) | def slice_Hash(hash, slice_size, &pblock) function slice_Enumerable (line 67) | def slice_Enumerable(enumerable, slice_size, &pblock) function slice_Common (line 73) | def slice_Common(o, slice_size, filler, pblock) function asserted_slice_serving_size (line 110) | def asserted_slice_serving_size(pblock, slice_size) FILE: lib/puppet/functions/sort.rb function sort_string (line 69) | def sort_string(s, &block) function sort_array (line 73) | def sort_array(a, &block) FILE: lib/puppet/functions/split.rb function split_String (line 55) | def split_String(str, pattern) function split_Regexp (line 59) | def split_Regexp(str, pattern) function split_RegexpType (line 63) | def split_RegexpType(str, pattern) function split_String_sensitive (line 67) | def split_String_sensitive(sensitive, pattern) function split_Regexp_sensitive (line 71) | def split_Regexp_sensitive(sensitive, pattern) function split_RegexpType_sensitive (line 75) | def split_RegexpType_sensitive(sensitive, pattern) FILE: lib/puppet/functions/step.rb function step (line 91) | def step(iterable, step) function step_block (line 96) | def step_block(iterable, step, &block) FILE: lib/puppet/functions/strftime.rb function format_timespan (line 199) | def format_timespan(time_object, format) function format_timestamp (line 203) | def format_timestamp(time_object, format, timezone = nil) function legacy_strftime (line 207) | def legacy_strftime(format, timezone = nil) FILE: lib/puppet/functions/strip.rb function on_numeric (line 43) | def on_numeric(n) function on_string (line 47) | def on_string(s) function on_iterable (line 51) | def on_iterable(a) function do_strip (line 55) | def do_strip(x) FILE: lib/puppet/functions/then.rb function then (line 75) | def then(arg) FILE: lib/puppet/functions/tree_each.rb function tree_Enumerable1 (line 173) | def tree_Enumerable1(enum, options = {}, &block) function tree_Enumerable2 (line 178) | def tree_Enumerable2(enum, options = {}, &block) function tree_Iterable (line 183) | def tree_Iterable(enum, options = {}, &block) function iterator (line 187) | def iterator(enum, options) function depth_first? (line 195) | def depth_first?(options) FILE: lib/puppet/functions/type.rb function type_detailed (line 63) | def type_detailed(value, _ = nil) function type_parameterized (line 67) | def type_parameterized(value, _) function type_generalized (line 71) | def type_generalized(value, _) FILE: lib/puppet/functions/unique.rb function unique_string (line 110) | def unique_string(string, &block) function unique_hash (line 114) | def unique_hash(hash, &block) function unique_array (line 128) | def unique_array(array, &block) function unique_iterable (line 132) | def unique_iterable(iterable, &block) FILE: lib/puppet/functions/unwrap.rb function from_sensitive (line 44) | def from_sensitive(arg) function from_any (line 53) | def from_any(arg) FILE: lib/puppet/functions/upcase.rb function on_numeric (line 70) | def on_numeric(n) function on_string (line 74) | def on_string(s) function on_array (line 78) | def on_array(a) function on_hash (line 82) | def on_hash(h) function do_upcase (line 88) | def do_upcase(x) FILE: lib/puppet/functions/values.rb function values (line 24) | def values(hsh) FILE: lib/puppet/functions/versioncmp.rb function versioncmp (line 38) | def versioncmp(a, b, ignore_trailing_zeroes = false) FILE: lib/puppet/functions/warning.rb function warning (line 13) | def warning(scope, *values) FILE: lib/puppet/functions/with.rb function with (line 31) | def with(*args) FILE: lib/puppet/functions/yaml_data.rb function yaml_data (line 23) | def yaml_data(options, context) function missing_path (line 42) | def missing_path(options, context) FILE: lib/puppet/generate/models/type/property.rb type Puppet (line 3) | module Puppet type Generate (line 4) | module Generate type Models (line 5) | module Models type Type (line 6) | module Type class Property (line 8) | class Property method initialize (line 21) | def initialize(property) method is_namevar? (line 30) | def is_namevar? method get_puppet_type (line 37) | def self.get_puppet_type(property) FILE: lib/puppet/generate/models/type/type.rb type Puppet (line 5) | module Puppet type Generate (line 6) | module Generate type Models (line 7) | module Models type Type (line 8) | module Type class Type (line 10) | class Type method initialize (line 35) | def initialize(type) method render (line 61) | def render(template) FILE: lib/puppet/generate/type.rb type Puppet (line 8) | module Puppet type Generate (line 9) | module Generate class Type (line 11) | class Type class Input (line 13) | class Input method initialize (line 25) | def initialize(base, path, format) method type_name (line 33) | def type_name method format= (line 40) | def format=(format) method up_to_date? (line 50) | def up_to_date?(outputdir) method output_name (line 57) | def output_name method output_path (line 69) | def output_path method output_path= (line 82) | def output_path=(path) method effective_output_path (line 90) | def effective_output_path(outputdir) method template_path (line 96) | def template_path method to_s (line 102) | def to_s method supported_format? (line 109) | def self.supported_format?(format) method find_inputs (line 118) | def self.find_inputs(format = :pcore, environment = Puppet.lookup(... method bad_input? (line 141) | def self.bad_input? method generate (line 155) | def self.generate(inputs, outputdir = nil, force = false) FILE: lib/puppet/gettext/config.rb type Puppet::GettextConfig (line 6) | module Puppet::GettextConfig class ::Object (line 21) | class ::Object function gettext_loaded? (line 36) | def self.gettext_loaded? function current_locale (line 44) | def self.current_locale function loaded_text_domains (line 55) | def self.loaded_text_domains function reset_text_domain (line 66) | def self.reset_text_domain(domain_name) function clear_text_domain (line 87) | def self.clear_text_domain function create_default_text_domain (line 102) | def self.create_default_text_domain function use_text_domain (line 117) | def self.use_text_domain(domain_name) function delete_all_text_domains (line 132) | def self.delete_all_text_domains function delete_text_domain (line 141) | def self.delete_text_domain(domain_name) function delete_environment_text_domains (line 157) | def self.delete_environment_text_domains function copy_default_translations (line 178) | def self.copy_default_translations(domain_name) function puppet_locale_path (line 192) | def self.puppet_locale_path function translation_mode (line 208) | def self.translation_mode(conf_path) function disable_gettext (line 218) | def self.disable_gettext function load_translations (line 228) | def self.load_translations(project_name, locale_dir, file_format, text... function add_repository_to_domain (line 251) | def self.add_repository_to_domain(project_name, locale_dir, file_forma... function setup_locale (line 265) | def self.setup_locale function set_locale (line 274) | def self.set_locale(locale) FILE: lib/puppet/gettext/module_translations.rb type Puppet::ModuleTranslations (line 5) | module Puppet::ModuleTranslations function load_from_modulepath (line 11) | def self.load_from_modulepath(modules) function load_from_vardir (line 30) | def self.load_from_vardir(vardir) FILE: lib/puppet/gettext/stubs.rb function _ (line 6) | def _(msg) function n_ (line 10) | def n_(*args, &block) FILE: lib/puppet/graph.rb type Puppet::Graph (line 3) | module Puppet::Graph FILE: lib/puppet/graph/key.rb class Puppet::Graph::Key (line 5) | class Puppet::Graph::Key method initialize (line 11) | def initialize(value = [0]) method next (line 15) | def next method down (line 21) | def down method <=> (line 25) | def <=>(other) FILE: lib/puppet/graph/prioritizer.rb class Puppet::Graph::Prioritizer (line 7) | class Puppet::Graph::Prioritizer method initialize (line 8) | def initialize method forget (line 12) | def forget(key) method record_priority_for (line 16) | def record_priority_for(key, priority) method generate_priority_for (line 20) | def generate_priority_for(key) method generate_priority_contained_in (line 24) | def generate_priority_contained_in(container, key) method priority_of (line 28) | def priority_of(key) FILE: lib/puppet/graph/rb_tree_map.rb class Puppet::Graph::RbTreeMap (line 35) | class Puppet::Graph::RbTreeMap method initialize (line 43) | def initialize method push (line 55) | def push(key, value) method has_key? (line 71) | def has_key?(key) method get (line 83) | def get(key) method min_key (line 98) | def min_key method max_key (line 110) | def max_key method delete (line 123) | def delete(key) method empty? (line 136) | def empty? method delete_min (line 150) | def delete_min method delete_max (line 170) | def delete_max method each (line 181) | def each(&blk) method first (line 185) | def first method last (line 192) | def last method to_hash (line 199) | def to_hash class Node (line 203) | class Node # :nodoc: all method initialize (line 206) | def initialize(key, value) method to_hash (line 214) | def to_hash method red? (line 227) | def red? method colorflip (line 231) | def colorflip method rotate_left (line 237) | def rotate_left method rotate_right (line 254) | def rotate_right method move_red_left (line 271) | def move_red_left method move_red_right (line 281) | def move_red_right method fixup (line 290) | def fixup method recursive_yield (line 301) | def recursive_yield(node, &blk) method delete_recursive (line 309) | def delete_recursive(node, key) method delete_min_recursive (line 335) | def delete_min_recursive(node) method delete_max_recursive (line 348) | def delete_max_recursive(node) method get_recursive (line 362) | def get_recursive(node, key) method min_recursive (line 372) | def min_recursive(node) method max_recursive (line 378) | def max_recursive(node) method insert (line 384) | def insert(node, key, value) method isred (line 402) | def isred(node) FILE: lib/puppet/graph/relationship_graph.rb class Puppet::Graph::RelationshipGraph (line 9) | class Puppet::Graph::RelationshipGraph < Puppet::Graph::SimpleGraph method initialize (line 12) | def initialize(prioritizer) method populate_from (line 24) | def populate_from(catalog) method add_vertex (line 36) | def add_vertex(vertex, priority = nil) method add_relationship (line 46) | def add_relationship(f, t, label = nil) method remove_vertex! (line 51) | def remove_vertex!(vertex) method resource_priority (line 56) | def resource_priority(resource) method enqueue_roots (line 61) | def enqueue_roots method unblock (line 70) | def unblock(resource) method clear_blockers (line 80) | def clear_blockers method enqueue (line 84) | def enqueue(*resources) method finish (line 90) | def finish(resource) method next_resource (line 97) | def next_resource method traverse (line 101) | def traverse(options = {}, &block) method add_all_resources_as_vertices (line 158) | def add_all_resources_as_vertices(catalog) method build_manual_dependencies (line 164) | def build_manual_dependencies method build_autorelation_dependencies (line 172) | def build_autorelation_dependencies(catalog) method replace_containers_with_anchors (line 236) | def replace_containers_with_anchors(catalog) FILE: lib/puppet/graph/sequential_prioritizer.rb class Puppet::Graph::SequentialPrioritizer (line 10) | class Puppet::Graph::SequentialPrioritizer < Puppet::Graph::Prioritizer method initialize (line 11) | def initialize method generate_priority_for (line 17) | def generate_priority_for(key) method generate_priority_contained_in (line 26) | def generate_priority_contained_in(container, key) FILE: lib/puppet/graph/simple_graph.rb class Puppet::Graph::SimpleGraph (line 8) | class Puppet::Graph::SimpleGraph method initialize (line 28) | def initialize method clear (line 36) | def clear method dependencies (line 44) | def dependencies(resource) method dependents (line 49) | def dependents(resource) method directed? (line 54) | def directed? method leaves (line 59) | def leaves(vertex, direction = :out) method matching_edges (line 65) | def matching_edges(event, base = nil) method reversal (line 79) | def reversal method size (line 89) | def size method to_a (line 93) | def to_a method tarjan (line 104) | def tarjan(root, s) method find_cycles_in_graph (line 166) | def find_cycles_in_graph method paths_in_cycle (line 199) | def paths_in_cycle(cycle, max_paths = 1) method report_cycles_in_graph (line 228) | def report_cycles_in_graph method write_cycles_to_graph (line 251) | def write_cycles_to_graph(cycles) method add_vertex (line 273) | def add_vertex(vertex) method remove_vertex! (line 279) | def remove_vertex!(v) method vertex? (line 290) | def vertex?(v) method vertices (line 295) | def vertices method add_edge (line 301) | def add_edge(e, *a) method add_relationship (line 316) | def add_relationship(source, target, label = nil) method edges_between (line 321) | def edges_between(source, target) method edge? (line 326) | def edge?(source, target) method edges (line 330) | def edges method each_edge (line 334) | def each_edge method remove_edge! (line 339) | def remove_edge!(e) method adjacent (line 349) | def adjacent(v, options = {}) method walk (line 357) | def walk(source, direction) method tree_from_vertex (line 378) | def tree_from_vertex(start, direction = :out) method downstream_from_vertex (line 386) | def downstream_from_vertex(v) method direct_dependents_of (line 397) | def direct_dependents_of(v) method upstream_from_vertex (line 401) | def upstream_from_vertex(v) method direct_dependencies_of (line 412) | def direct_dependencies_of(v) method path_between (line 429) | def path_between(f, t) method to_dot_graph (line 448) | def to_dot_graph(params = {}) method stringify (line 473) | def stringify(s) method to_dot (line 478) | def to_dot(params = {}) to_dot_graph(params).to_s; end method write_graph (line 481) | def write_graph(name) method initialize_from_hash (line 500) | def initialize_from_hash(hash) method to_data_hash (line 512) | def to_data_hash method multi_vertex_component? (line 538) | def multi_vertex_component?(component) method single_vertex_referring_to_self? (line 543) | def single_vertex_referring_to_self?(component) FILE: lib/puppet/http.rb type Puppet (line 3) | module Puppet type HTTP (line 11) | module HTTP type Network (line 43) | module Network type HTTP (line 44) | module HTTP FILE: lib/puppet/http/client.rb class Puppet::HTTP::Client (line 88) | class Puppet::HTTP::Client method initialize (line 105) | def initialize(pool: Puppet::HTTP::Pool.new(Puppet[:http_keepalive_tim... method create_session (line 123) | def create_session method connect (line 137) | def connect(uri, options: {}, &block) method get (line 199) | def get(url, headers: {}, params: {}, options: {}, &block) method head (line 217) | def head(url, headers: {}, params: {}, options: {}) method put (line 238) | def put(url, body, headers: {}, params: {}, options: {}) method post (line 267) | def post(url, body, headers: {}, params: {}, options: {}, &block) method delete (line 291) | def delete(url, headers: {}, params: {}, options: {}) method close (line 304) | def close method default_ssl_context (line 310) | def default_ssl_context method encode_query (line 328) | def encode_query(url, params) method execute_streaming (line 353) | def execute_streaming(request, options: {}, &block) method expand_into_parameters (line 423) | def expand_into_parameters(data) method expand_primitive_types_into_parameters (line 438) | def expand_primitive_types_into_parameters(data) method encode_params (line 452) | def encode_params(params) method elapsed (line 459) | def elapsed(start) method raise_error (line 463) | def raise_error(message, cause, connected) method resolve_ssl_context (line 471) | def resolve_ssl_context(ssl_context, include_system_store) method system_ssl_context (line 483) | def system_ssl_context method apply_auth (line 495) | def apply_auth(request, basic_auth) method build_resolvers (line 501) | def build_resolvers FILE: lib/puppet/http/dns.rb type Puppet::HTTP (line 5) | module Puppet::HTTP class DNS (line 6) | class DNS class CacheEntry (line 7) | class CacheEntry method initialize (line 10) | def initialize(records) method choose_lowest_ttl (line 16) | def choose_lowest_ttl(records) method initialize (line 27) | def initialize(resolver = Resolv::DNS.new) method each_srv_record (line 43) | def each_srv_record(domain, service_name = :puppet, &block) method find_weighted_server (line 88) | def find_weighted_server(records) method weight (line 113) | def weight(record) method ttl (line 120) | def ttl(service_name) method expired? (line 128) | def expired?(service_name) method each_priority (line 148) | def each_priority(records) FILE: lib/puppet/http/errors.rb type Puppet::HTTP (line 3) | module Puppet::HTTP class HTTPError (line 6) | class HTTPError < Puppet::Error; end class ConnectionError (line 10) | class ConnectionError < HTTPError; end class RouteError (line 14) | class RouteError < HTTPError; end class ProtocolError (line 18) | class ProtocolError < HTTPError; end class SerializationError (line 22) | class SerializationError < HTTPError; end class ResponseError (line 26) | class ResponseError < HTTPError method initialize (line 29) | def initialize(response) class TooManyRedirects (line 37) | class TooManyRedirects < HTTPError method initialize (line 38) | def initialize(addr) class TooManyRetryAfters (line 45) | class TooManyRetryAfters < HTTPError method initialize (line 46) | def initialize(addr) FILE: lib/puppet/http/external_client.rb class Puppet::HTTP::ExternalClient (line 10) | class Puppet::HTTP::ExternalClient < Puppet::HTTP::Client method initialize (line 14) | def initialize(http_client_class) method get (line 20) | def get(url, headers: {}, params: {}, options: {}, &block) method post (line 41) | def post(url, body, headers: {}, params: {}, options: {}, &block) method close (line 64) | def close method create_session (line 70) | def create_session method connect (line 74) | def connect(uri, options: {}, &block) method head (line 78) | def head(url, headers: {}, params: {}, options: {}) method put (line 82) | def put(url, headers: {}, params: {}, options: {}) method delete (line 86) | def delete(url, headers: {}, params: {}, options: {}) FILE: lib/puppet/http/factory.rb class Puppet::HTTP::Factory (line 13) | class Puppet::HTTP::Factory method initialize (line 18) | def initialize method create_connection (line 26) | def create_connection(site) FILE: lib/puppet/http/pool.rb class Puppet::HTTP::Pool (line 12) | class Puppet::HTTP::Pool method initialize (line 15) | def initialize(keepalive_timeout) method with_connection (line 21) | def with_connection(site, verifier, &block) method close (line 43) | def close method pool (line 53) | def pool method start (line 60) | def start(site, verifier, http) method close_connection (line 79) | def close_connection(site, http) method borrow (line 94) | def borrow(site, verifier) method setsockopts (line 118) | def setsockopts(netio) method release (line 128) | def release(site, verifier, http) method active_entries (line 144) | def active_entries(site) method print_ssl_info (line 160) | def print_ssl_info(http) FILE: lib/puppet/http/pool_entry.rb class Puppet::HTTP::PoolEntry (line 7) | class Puppet::HTTP::PoolEntry method initialize (line 10) | def initialize(connection, verifier, expiration_time) method expired? (line 16) | def expired?(now) FILE: lib/puppet/http/proxy.rb type Puppet::HTTP::Proxy (line 6) | module Puppet::HTTP::Proxy function proxy (line 7) | def self.proxy(uri) function http_proxy_env (line 19) | def self.http_proxy_env function no_proxy? (line 38) | def self.no_proxy?(dest) function http_proxy_host (line 74) | def self.http_proxy_host function http_proxy_port (line 88) | def self.http_proxy_port function http_proxy_user (line 98) | def self.http_proxy_user function http_proxy_password (line 112) | def self.http_proxy_password function no_proxy (line 126) | def self.no_proxy FILE: lib/puppet/http/redirector.rb class Puppet::HTTP::Redirector (line 6) | class Puppet::HTTP::Redirector method initialize (line 12) | def initialize(redirect_limit) method redirect? (line 24) | def redirect?(request, response) method redirect_to (line 45) | def redirect_to(request, response, redirects) method parse_location (line 79) | def parse_location(response) FILE: lib/puppet/http/resolver.rb class Puppet::HTTP::Resolver (line 8) | class Puppet::HTTP::Resolver method initialize (line 13) | def initialize(client) method resolve (line 30) | def resolve(session, name, ssl_context: nil, canceled_handler: nil) method check_connection? (line 43) | def check_connection?(session, service, ssl_context: nil) FILE: lib/puppet/http/resolver/server_list.rb class Puppet::HTTP::Resolver::ServerList (line 7) | class Puppet::HTTP::Resolver::ServerList < Puppet::HTTP::Resolver method initialize (line 19) | def initialize(client, server_list_setting:, default_port:, services:) method resolve (line 43) | def resolve(session, name, ssl_context: nil, canceled_handler: nil) FILE: lib/puppet/http/resolver/settings.rb class Puppet::HTTP::Resolver::Settings (line 7) | class Puppet::HTTP::Resolver::Settings < Puppet::HTTP::Resolver method resolve (line 20) | def resolve(session, name, ssl_context: nil, canceled_handler: nil) FILE: lib/puppet/http/resolver/srv.rb class Puppet::HTTP::Resolver::SRV (line 6) | class Puppet::HTTP::Resolver::SRV < Puppet::HTTP::Resolver method initialize (line 13) | def initialize(client, domain:, dns: Resolv::DNS.new) method resolve (line 31) | def resolve(session, name, ssl_context: nil, canceled_handler: nil) FILE: lib/puppet/http/response.rb class Puppet::HTTP::Response (line 7) | class Puppet::HTTP::Response method initialize (line 16) | def initialize(url, code, reason) method code (line 27) | def code method reason (line 36) | def reason method body (line 47) | def body method read_body (line 60) | def read_body(&block) method success? (line 69) | def success? method [] (line 79) | def [](name) method each_header (line 89) | def each_header(&block) method drain (line 100) | def drain FILE: lib/puppet/http/response_converter.rb type Puppet::HTTP::ResponseConverter (line 3) | module Puppet::HTTP::ResponseConverter function to_ruby_response (line 7) | def to_ruby_response(response) FILE: lib/puppet/http/response_net_http.rb class Puppet::HTTP::ResponseNetHTTP (line 6) | class Puppet::HTTP::ResponseNetHTTP < Puppet::HTTP::Response method initialize (line 11) | def initialize(url, nethttp) method body (line 18) | def body method read_body (line 23) | def read_body(&block) method success? (line 30) | def success? method [] (line 35) | def [](name) method each_header (line 40) | def each_header(&block) FILE: lib/puppet/http/retry_after_handler.rb class Puppet::HTTP::RetryAfterHandler (line 9) | class Puppet::HTTP::RetryAfterHandler method initialize (line 14) | def initialize(retry_limit, max_sleep) method retry_after? (line 29) | def retry_after?(request, response) method retry_after_interval (line 50) | def retry_after_interval(request, response, retries) method parse_retry_after (line 67) | def parse_retry_after(retry_after) FILE: lib/puppet/http/service.rb class Puppet::HTTP::Service (line 7) | class Puppet::HTTP::Service method create_service (line 34) | def self.create_service(client, session, name, server = nil, port = nil) method valid_name? (line 58) | def self.valid_name?(name) method initialize (line 69) | def initialize(client, session, url) method with_base_url (line 82) | def with_base_url(path) method connect (line 94) | def connect(ssl_context: nil) method add_puppet_headers (line 100) | def add_puppet_headers(headers) method build_url (line 119) | def build_url(api, server, port) method get_mime_types (line 125) | def get_mime_types(model) method formatter_for_response (line 130) | def formatter_for_response(response) method serialize (line 142) | def serialize(formatter, object) method serialize_multiple (line 148) | def serialize_multiple(formatter, object) method deserialize (line 154) | def deserialize(response, model) method deserialize_multiple (line 163) | def deserialize_multiple(response, model) method process_response (line 172) | def process_response(response) FILE: lib/puppet/http/service/ca.rb class Puppet::HTTP::Service::Ca (line 6) | class Puppet::HTTP::Service::Ca < Puppet::HTTP::Service method initialize (line 24) | def initialize(client, session, server, port) method get_certificate (line 40) | def get_certificate(name, if_modified_since: nil, ssl_context: nil) method get_certificate_revocation_list (line 66) | def get_certificate_revocation_list(if_modified_since: nil, ssl_contex... method put_certificate_request (line 91) | def put_certificate_request(name, csr, ssl_context: nil) method post_certificate_renewal (line 116) | def post_certificate_renewal(ssl_context) FILE: lib/puppet/http/service/compiler.rb class Puppet::HTTP::Service::Compiler (line 7) | class Puppet::HTTP::Service::Compiler < Puppet::HTTP::Service method initialize (line 22) | def initialize(client, session, server, port) method get_node (line 40) | def get_node(name, environment:, configured_environment: nil, transact... method post_catalog (line 84) | def post_catalog(name, facts:, environment:, configured_environment: n... method post_catalog4 (line 164) | def post_catalog4(certname, persistence:, environment:, facts: nil, tr... method get_facts (line 216) | def get_facts(name, environment:) method put_facts (line 239) | def put_facts(name, environment:, facts:) method get_filebucket_file (line 277) | def get_filebucket_file(path, environment:, bucket_path: nil, diff_wit... method put_filebucket_file (line 309) | def put_filebucket_file(path, body:, environment:) method head_filebucket_file (line 340) | def head_filebucket_file(path, environment:, bucket_path: nil) FILE: lib/puppet/http/service/file_server.rb class Puppet::HTTP::Service::FileServer (line 9) | class Puppet::HTTP::Service::FileServer < Puppet::HTTP::Service method initialize (line 27) | def initialize(client, session, server, port) method get_file_metadata (line 51) | def get_file_metadata(path:, environment:, links: :manage, checksum_ty... method get_file_metadatas (line 103) | def get_file_metadatas(environment:, path: nil, recurse: :false, recur... method get_file_content (line 139) | def get_file_content(path:, environment:, &block) method get_static_file_content (line 173) | def get_static_file_content(path:, environment:, code_id:, &block) method validate_path (line 197) | def validate_path(path) FILE: lib/puppet/http/service/puppetserver.rb class Puppet::HTTP::Service::Puppetserver (line 7) | class Puppet::HTTP::Service::Puppetserver < Puppet::HTTP::Service method initialize (line 19) | def initialize(client, session, server, port) method get_simple_status (line 32) | def get_simple_status(ssl_context: nil) FILE: lib/puppet/http/service/report.rb class Puppet::HTTP::Service::Report (line 7) | class Puppet::HTTP::Service::Report < Puppet::HTTP::Service method initialize (line 24) | def initialize(client, session, server, port) method put_report (line 39) | def put_report(name, report, environment:) FILE: lib/puppet/http/session.rb class Puppet::HTTP::Session (line 6) | class Puppet::HTTP::Session method initialize (line 26) | def initialize(client, resolvers) method route_to (line 51) | def route_to(name, url: nil, ssl_context: nil) method process_response (line 88) | def process_response(response) method supports? (line 106) | def supports?(name, capability) FILE: lib/puppet/http/site.rb class Puppet::HTTP::Site (line 9) | class Puppet::HTTP::Site method from_uri (line 12) | def self.from_uri(uri) method initialize (line 16) | def initialize(scheme, host, port) method addr (line 22) | def addr method == (line 27) | def ==(rhs) method hash (line 33) | def hash method use_ssl? (line 37) | def use_ssl? method move_to (line 41) | def move_to(uri) FILE: lib/puppet/indirector.rb type Puppet::Indirector (line 8) | module Puppet::Indirector function configure_routes (line 18) | def self.configure_routes(application_routes) function indirects (line 39) | def indirects(indirection, options = {}) type ClassMethods (line 55) | module ClassMethods FILE: lib/puppet/indirector/catalog/compiler.rb class Puppet::Resource::Catalog::Compiler (line 13) | class Puppet::Resource::Catalog::Compiler < Puppet::Indirector::Code method extract_facts_from_request (line 24) | def extract_facts_from_request(request) method save_facts_from_request (line 45) | def save_facts_from_request(facts, request) method find (line 52) | def find(request) method filter (line 92) | def filter(catalog) method initialize (line 98) | def initialize method networked? (line 105) | def networked? method require_environment? (line 109) | def require_environment? method convert_wire_facts (line 119) | def convert_wire_facts(facts, format) method add_node_data (line 133) | def add_node_data(node) method common_checksum_type (line 141) | def common_checksum_type(agent_checksum_type) method get_content_uri (line 151) | def get_content_uri(metadata, source, environment_path) method inlineable? (line 165) | def inlineable?(resource, sources) method inlineable_metadata? (line 183) | def inlineable_metadata?(metadata, source, environment_path) method log_file_outside_environment (line 194) | def log_file_outside_environment method log_metadata_inlining (line 200) | def log_metadata_inlining method inline_metadata (line 207) | def inline_metadata(catalog, checksum_type) method compile (line 309) | def compile(node, options) method find_node (line 375) | def find_node(name, environment, transaction_uuid, configured_environm... method node_from_request (line 399) | def node_from_request(facts, request) method set_server_facts (line 429) | def set_server_facts FILE: lib/puppet/indirector/catalog/json.rb class Puppet::Resource::Catalog::Json (line 6) | class Puppet::Resource::Catalog::Json < Puppet::Indirector::JSON method from_json (line 9) | def from_json(text) method to_json (line 20) | def to_json(object) method json_format (line 35) | def json_format FILE: lib/puppet/indirector/catalog/msgpack.rb class Puppet::Resource::Catalog::Msgpack (line 6) | class Puppet::Resource::Catalog::Msgpack < Puppet::Indirector::Msgpack FILE: lib/puppet/indirector/catalog/rest.rb class Puppet::Resource::Catalog::Rest (line 6) | class Puppet::Resource::Catalog::Rest < Puppet::Indirector::REST method find (line 9) | def find(request) FILE: lib/puppet/indirector/catalog/store_configs.rb class Puppet::Resource::Catalog::StoreConfigs (line 6) | class Puppet::Resource::Catalog::StoreConfigs < Puppet::Indirector::Stor... FILE: lib/puppet/indirector/catalog/yaml.rb class Puppet::Resource::Catalog::Yaml (line 6) | class Puppet::Resource::Catalog::Yaml < Puppet::Indirector::Yaml FILE: lib/puppet/indirector/code.rb class Puppet::Indirector::Code (line 7) | class Puppet::Indirector::Code < Puppet::Indirector::Terminus FILE: lib/puppet/indirector/data_binding/hiera.rb class Puppet::DataBinding::Hiera (line 6) | class Puppet::DataBinding::Hiera < Puppet::Indirector::Hiera FILE: lib/puppet/indirector/data_binding/none.rb class Puppet::DataBinding::None (line 5) | class Puppet::DataBinding::None < Puppet::Indirector::None method find (line 7) | def find(request) FILE: lib/puppet/indirector/direct_file_server.rb class Puppet::Indirector::DirectFileServer (line 6) | class Puppet::Indirector::DirectFileServer < Puppet::Indirector::Terminus method find (line 9) | def find(request) method search (line 15) | def search(request) FILE: lib/puppet/indirector/envelope.rb type Puppet::Indirector::Envelope (line 7) | module Puppet::Indirector::Envelope function expired? (line 10) | def expired? FILE: lib/puppet/indirector/errors.rb type Puppet::Indirector (line 5) | module Puppet::Indirector class ValidationError (line 6) | class ValidationError < Puppet::Error; end FILE: lib/puppet/indirector/exec.rb class Puppet::Indirector::Exec (line 6) | class Puppet::Indirector::Exec < Puppet::Indirector::Terminus method find (line 8) | def find(request) method execute (line 37) | def execute(command, arguments) FILE: lib/puppet/indirector/face.rb class Puppet::Indirector::Face (line 5) | class Puppet::Indirector::Face < Puppet::Face method indirections (line 34) | def self.indirections method terminus_classes (line 38) | def self.terminus_classes(indirection) method call_indirection_method (line 42) | def call_indirection_method(method, key, options) method indirection_name (line 116) | def indirection_name method set_indirection_name (line 122) | def set_indirection_name(name) method indirection (line 128) | def indirection method set_terminus (line 136) | def set_terminus(from) FILE: lib/puppet/indirector/fact_search.rb type Puppet::Indirector::FactSearch (line 4) | module Puppet::Indirector::FactSearch function node_matches? (line 5) | def node_matches?(facts, options) function node_matches_option? (line 15) | def node_matches_option?(type, name, operator, value, facts) function compare_facts (line 27) | def compare_facts(operator, value1, value2) function compare_timestamp (line 46) | def compare_timestamp(operator, value1, value2) FILE: lib/puppet/indirector/facts/facter.rb class Puppet::Node::Facts::Facter (line 6) | class Puppet::Node::Facts::Facter < Puppet::Indirector::Code method allow_remote_requests? (line 11) | def allow_remote_requests? method destroy (line 15) | def destroy(facts) method save (line 19) | def save(facts) method find (line 24) | def find(request) method setup_search_paths (line 57) | def self.setup_search_paths(request) method setup_external_search_paths (line 84) | def self.setup_external_search_paths(request) method find_with_options (line 108) | def find_with_options(request) FILE: lib/puppet/indirector/facts/json.rb class Puppet::Node::Facts::Json (line 7) | class Puppet::Node::Facts::Json < Puppet::Indirector::JSON method search (line 13) | def search(request) method json_dir_path (line 26) | def json_dir_path FILE: lib/puppet/indirector/facts/memory.rb class Puppet::Node::Facts::Memory (line 6) | class Puppet::Node::Facts::Memory < Puppet::Indirector::Memory FILE: lib/puppet/indirector/facts/network_device.rb class Puppet::Node::Facts::NetworkDevice (line 6) | class Puppet::Node::Facts::NetworkDevice < Puppet::Indirector::Code method allow_remote_requests? (line 9) | def allow_remote_requests? method find (line 14) | def find(request) method destroy (line 22) | def destroy(facts) method save (line 26) | def save(facts) FILE: lib/puppet/indirector/facts/rest.rb class Puppet::Node::Facts::Rest (line 6) | class Puppet::Node::Facts::Rest < Puppet::Indirector::REST method find (line 9) | def find(request) method save (line 29) | def save(request) FILE: lib/puppet/indirector/facts/store_configs.rb class Puppet::Node::Facts::StoreConfigs (line 6) | class Puppet::Node::Facts::StoreConfigs < Puppet::Indirector::StoreConfigs method allow_remote_requests? (line 9) | def allow_remote_requests? FILE: lib/puppet/indirector/facts/yaml.rb class Puppet::Node::Facts::Yaml (line 7) | class Puppet::Node::Facts::Yaml < Puppet::Indirector::Yaml method search (line 13) | def search(request) method yaml_dir_path (line 27) | def yaml_dir_path FILE: lib/puppet/indirector/file_bucket_file/file.rb type Puppet::FileBucketFile (line 9) | module Puppet::FileBucketFile class File (line 10) | class File < Puppet::Indirector::Code method find (line 16) | def find(request) method list (line 45) | def list(request) method head (line 94) | def head(request) method save (line 102) | def save(request) method validate_key (line 114) | def validate_key(request) method matches (line 123) | def matches(paths_file, files_original_path) method path_match (line 133) | def path_match(file_handle, files_original_path) method save_to_disk (line 154) | def save_to_disk(bucket_file, files_original_path, contents_file, pa... method request_to_checksum_and_path (line 204) | def request_to_checksum_and_path(request) method path_for (line 219) | def path_for(bucket_path, digest, subfile = nil) method verify_identical_file (line 235) | def verify_identical_file(contents_file, bucket_file) method contents_file_matches_checksum? (line 248) | def contents_file_matches_checksum?(contents_file, expected_checksum... method copy_bucket_file_to_contents_file (line 259) | def copy_bucket_file_to_contents_file(contents_file, bucket_file) FILE: lib/puppet/indirector/file_bucket_file/rest.rb type Puppet::FileBucketFile (line 6) | module Puppet::FileBucketFile class Rest (line 7) | class Rest < Puppet::Indirector::REST method head (line 10) | def head(request) method find (line 24) | def find(request) method save (line 41) | def save(request) FILE: lib/puppet/indirector/file_bucket_file/selector.rb type Puppet::FileBucketFile (line 5) | module Puppet::FileBucketFile class Selector (line 6) | class Selector < Puppet::Indirector::Code method select (line 9) | def select(request) method get_terminus (line 17) | def get_terminus(request) method head (line 21) | def head(request) method find (line 25) | def find(request) method save (line 29) | def save(request) method search (line 33) | def search(request) method destroy (line 37) | def destroy(request) method authorized? (line 41) | def authorized?(request) method validate_key (line 50) | def validate_key(request) FILE: lib/puppet/indirector/file_content.rb class Puppet::Indirector::FileContent (line 4) | class Puppet::Indirector::FileContent # :nodoc: FILE: lib/puppet/indirector/file_content/file.rb class Puppet::Indirector::FileContent::File (line 7) | class Puppet::Indirector::FileContent::File < Puppet::Indirector::Direct... FILE: lib/puppet/indirector/file_content/file_server.rb class Puppet::Indirector::FileContent::FileServer (line 7) | class Puppet::Indirector::FileContent::FileServer < Puppet::Indirector::... FILE: lib/puppet/indirector/file_content/rest.rb class Puppet::Indirector::FileContent::Rest (line 7) | class Puppet::Indirector::FileContent::Rest < Puppet::Indirector::REST method find (line 10) | def find(request) FILE: lib/puppet/indirector/file_content/selector.rb class Puppet::Indirector::FileContent::Selector (line 8) | class Puppet::Indirector::FileContent::Selector < Puppet::Indirector::Code method get_terminus (line 12) | def get_terminus(request) method find (line 16) | def find(request) method search (line 20) | def search(request) method authorized? (line 24) | def authorized?(request) FILE: lib/puppet/indirector/file_metadata.rb class Puppet::Indirector::FileMetadata (line 4) | class Puppet::Indirector::FileMetadata # :nodoc: FILE: lib/puppet/indirector/file_metadata/file.rb class Puppet::Indirector::FileMetadata::File (line 7) | class Puppet::Indirector::FileMetadata::File < Puppet::Indirector::Direc... FILE: lib/puppet/indirector/file_metadata/file_server.rb class Puppet::Indirector::FileMetadata::FileServer (line 7) | class Puppet::Indirector::FileMetadata::FileServer < Puppet::Indirector:... FILE: lib/puppet/indirector/file_metadata/http.rb class Puppet::Indirector::FileMetadata::Http (line 8) | class Puppet::Indirector::FileMetadata::Http < Puppet::Indirector::Gener... method find (line 13) | def find(request) method search (line 33) | def search(request) method partial_get (line 39) | def partial_get(client, uri) method create_httpmetadata (line 43) | def create_httpmetadata(http_request, checksum_type) FILE: lib/puppet/indirector/file_metadata/rest.rb class Puppet::Indirector::FileMetadata::Rest (line 7) | class Puppet::Indirector::FileMetadata::Rest < Puppet::Indirector::REST method find (line 10) | def find(request) method search (line 35) | def search(request) FILE: lib/puppet/indirector/file_metadata/selector.rb class Puppet::Indirector::FileMetadata::Selector (line 8) | class Puppet::Indirector::FileMetadata::Selector < Puppet::Indirector::Code method get_terminus (line 12) | def get_terminus(request) method find (line 16) | def find(request) method search (line 20) | def search(request) method authorized? (line 24) | def authorized?(request) FILE: lib/puppet/indirector/file_server.rb class Puppet::Indirector::FileServer (line 9) | class Puppet::Indirector::FileServer < Puppet::Indirector::Terminus method authorized? (line 13) | def authorized?(request) method find (line 25) | def find(request) method search (line 40) | def search(request) method configuration (line 54) | def configuration FILE: lib/puppet/indirector/generic_http.rb class Puppet::Indirector::GenericHttp (line 5) | class Puppet::Indirector::GenericHttp < Puppet::Indirector::Terminus FILE: lib/puppet/indirector/hiera.rb class Puppet::Indirector::Hiera (line 10) | class Puppet::Indirector::Hiera < Puppet::Indirector::Terminus method initialize (line 11) | def initialize(*args) method find (line 26) | def find(request) method convert_merge (line 45) | def convert_merge(merge) method hiera_config (line 80) | def self.hiera_config method hiera (line 94) | def self.hiera method hiera (line 98) | def hiera FILE: lib/puppet/indirector/indirection.rb class Puppet::Indirector::Indirection (line 12) | class Puppet::Indirector::Indirection method instance (line 22) | def self.instance(name) method instances (line 28) | def self.instances method model (line 34) | def self.model(name) method cache (line 42) | def cache method cache? (line 49) | def cache? method cache_class (line 53) | def cache_class method cache_class= (line 58) | def cache_class=(class_name) method delete (line 64) | def delete method ttl= (line 69) | def ttl=(value) method ttl (line 77) | def ttl method expiration (line 82) | def expiration method doc (line 87) | def doc method initialize (line 100) | def initialize(model, name, doc: nil, indirected_class: nil, cache_cla... method set_global_setting (line 121) | def set_global_setting(setting, value) method request (line 137) | def request(*args) method terminus (line 142) | def terminus(terminus_name = nil) method terminus_setting (line 150) | def terminus_setting method terminus_setting= (line 154) | def terminus_setting=(setting) method terminus_class (line 159) | def terminus_class method reset_terminus_class (line 171) | def reset_terminus_class method terminus_class= (line 176) | def terminus_class=(klass) method validate_terminus_class (line 182) | def validate_terminus_class(terminus_class) method expire (line 196) | def expire(key, options = {}) method allow_remote_requests? (line 212) | def allow_remote_requests? method find (line 218) | def find(key, options = {}) method head (line 259) | def head(key, options = {}) method find_in_cache (line 268) | def find_in_cache(request) method destroy (line 286) | def destroy(key, options = {}) method search (line 301) | def search(key, options = {}) method save (line 320) | def save(instance, key = nil, options = {}) method check_authorization (line 336) | def check_authorization(request, terminus) method prepare (line 360) | def prepare(request) method make_terminus (line 372) | def make_terminus(terminus_class) FILE: lib/puppet/indirector/json.rb class Puppet::Indirector::JSON (line 10) | class Puppet::Indirector::JSON < Puppet::Indirector::Terminus method find (line 11) | def find(request) method save (line 15) | def save(request) method destroy (line 24) | def destroy(request) method search (line 34) | def search(request) method path (line 41) | def path(name, ext = '.json') method data_dir (line 53) | def data_dir method load_json_from_file (line 57) | def load_json_from_file(file, key) method from_json (line 75) | def from_json(text) method to_json (line 79) | def to_json(object) FILE: lib/puppet/indirector/memory.rb class Puppet::Indirector::Memory (line 6) | class Puppet::Indirector::Memory < Puppet::Indirector::Terminus method initialize (line 7) | def initialize method clear (line 11) | def clear method destroy (line 15) | def destroy(request) method find (line 21) | def find(request) method search (line 25) | def search(request) method head (line 30) | def head(request) method save (line 34) | def save(request) FILE: lib/puppet/indirector/msgpack.rb class Puppet::Indirector::Msgpack (line 10) | class Puppet::Indirector::Msgpack < Puppet::Indirector::Terminus method initialize (line 11) | def initialize(*args) method find (line 19) | def find(request) method save (line 23) | def save(request) method destroy (line 32) | def destroy(request) method search (line 42) | def search(request) method path (line 49) | def path(name, ext = '.msgpack') method load_msgpack_from_file (line 61) | def load_msgpack_from_file(file, key) method from_msgpack (line 80) | def from_msgpack(text) method to_msgpack (line 84) | def to_msgpack(object) FILE: lib/puppet/indirector/node/exec.rb class Puppet::Node::Exec (line 6) | class Puppet::Node::Exec < Puppet::Indirector::Exec method command (line 11) | def command method find (line 19) | def find(request) method execute (line 37) | def execute(command, arguments) method create_node (line 42) | def create_node(name, result, facts = nil) method translate (line 56) | def translate(name, output) FILE: lib/puppet/indirector/node/json.rb class Puppet::Node::Json (line 6) | class Puppet::Node::Json < Puppet::Indirector::JSON FILE: lib/puppet/indirector/node/memory.rb class Puppet::Node::Memory (line 6) | class Puppet::Node::Memory < Puppet::Indirector::Memory FILE: lib/puppet/indirector/node/msgpack.rb class Puppet::Node::Msgpack (line 6) | class Puppet::Node::Msgpack < Puppet::Indirector::Msgpack FILE: lib/puppet/indirector/node/plain.rb class Puppet::Node::Plain (line 6) | class Puppet::Node::Plain < Puppet::Indirector::Plain method find (line 16) | def find(request) FILE: lib/puppet/indirector/node/rest.rb class Puppet::Node::Rest (line 6) | class Puppet::Node::Rest < Puppet::Indirector::REST method find (line 10) | def find(request) FILE: lib/puppet/indirector/node/store_configs.rb class Puppet::Node::StoreConfigs (line 6) | class Puppet::Node::StoreConfigs < Puppet::Indirector::StoreConfigs FILE: lib/puppet/indirector/node/yaml.rb class Puppet::Node::Yaml (line 6) | class Puppet::Node::Yaml < Puppet::Indirector::Yaml FILE: lib/puppet/indirector/none.rb class Puppet::Indirector::None (line 6) | class Puppet::Indirector::None < Puppet::Indirector::Terminus method find (line 7) | def find(request) FILE: lib/puppet/indirector/plain.rb class Puppet::Indirector::Plain (line 6) | class Puppet::Indirector::Plain < Puppet::Indirector::Terminus method find (line 8) | def find(request) FILE: lib/puppet/indirector/report/json.rb class Puppet::Transaction::Report::Json (line 6) | class Puppet::Transaction::Report::Json < Puppet::Indirector::JSON method path (line 12) | def path(name, ext = '.json') method save (line 16) | def save(request) FILE: lib/puppet/indirector/report/msgpack.rb class Puppet::Transaction::Report::Msgpack (line 6) | class Puppet::Transaction::Report::Msgpack < Puppet::Indirector::Msgpack method path (line 10) | def path(name, ext = '.msgpack') FILE: lib/puppet/indirector/report/processor.rb class Puppet::Transaction::Report::Processor (line 7) | class Puppet::Transaction::Report::Processor < Puppet::Indirector::Code method initialize (line 11) | def initialize method save (line 15) | def save(request) method destroy (line 19) | def destroy(request) method process (line 30) | def process(report) method reports (line 47) | def reports method processors (line 51) | def processors(&blk) FILE: lib/puppet/indirector/report/rest.rb class Puppet::Transaction::Report::Rest (line 6) | class Puppet::Transaction::Report::Rest < Puppet::Indirector::REST method save (line 9) | def save(request) method deserialize_save (line 27) | def deserialize_save(content_type, body) FILE: lib/puppet/indirector/report/yaml.rb class Puppet::Transaction::Report::Yaml (line 6) | class Puppet::Transaction::Report::Yaml < Puppet::Indirector::Yaml method path (line 12) | def path(name, ext = '.yaml') method save (line 16) | def save(request) FILE: lib/puppet/indirector/request.rb class Puppet::Indirector::Request (line 12) | class Puppet::Indirector::Request method authenticated? (line 27) | def authenticated? method environment (line 32) | def environment method environment= (line 38) | def environment=(env) method ignore_cache? (line 52) | def ignore_cache? method ignore_cache_save? (line 56) | def ignore_cache_save? method ignore_terminus? (line 60) | def ignore_terminus? method initialize (line 64) | def initialize(indirection_name, method, key, instance, options = {}) method indirection (line 94) | def indirection method indirection_name= (line 98) | def indirection_name=(name) method model (line 102) | def model method plural? (line 110) | def plural? method initialize_from_hash (line 114) | def initialize_from_hash(hash) method to_data_hash (line 122) | def to_data_hash method to_hash (line 130) | def to_hash method description (line 142) | def description method remote? (line 146) | def remote? method set_attributes (line 152) | def set_attributes(options) method set_uri_key (line 162) | def set_uri_key(key) FILE: lib/puppet/indirector/resource/ral.rb class Puppet::Resource::Ral (line 5) | class Puppet::Resource::Ral < Puppet::Indirector::Code method allow_remote_requests? (line 10) | def allow_remote_requests? method find (line 14) | def find(request) method search (line 22) | def search(request) method save (line 36) | def save(request) method type_name (line 54) | def type_name(request) method resource_name (line 58) | def resource_name(request) method type (line 63) | def type(request) FILE: lib/puppet/indirector/resource/store_configs.rb class Puppet::Resource::StoreConfigs (line 6) | class Puppet::Resource::StoreConfigs < Puppet::Indirector::StoreConfigs method allow_remote_requests? (line 11) | def allow_remote_requests? FILE: lib/puppet/indirector/resource/validator.rb type Puppet::Resource::Validator (line 3) | module Puppet::Resource::Validator function validate_key (line 4) | def validate_key(request) FILE: lib/puppet/indirector/rest.rb class Puppet::Indirector::REST (line 4) | class Puppet::Indirector::REST < Puppet::Indirector::Terminus method find (line 5) | def find(request) method head (line 9) | def head(request) method search (line 13) | def search(request) method destroy (line 17) | def destroy(request) method save (line 21) | def save(request) method validate_key (line 25) | def validate_key(request) method convert_to_http_error (line 31) | def convert_to_http_error(response) method parse_response (line 51) | def parse_response(response) method elide (line 59) | def elide(string, length) FILE: lib/puppet/indirector/store_configs.rb class Puppet::Indirector::StoreConfigs (line 3) | class Puppet::Indirector::StoreConfigs < Puppet::Indirector::Terminus method initialize (line 4) | def initialize method head (line 13) | def head(request) method find (line 17) | def find(request) method search (line 21) | def search(request) method save (line 25) | def save(request) method destroy (line 29) | def destroy(request) FILE: lib/puppet/indirector/terminus.rb class Puppet::Indirector::Terminus (line 9) | class Puppet::Indirector::Terminus method abstract_terminus? (line 21) | def abstract_terminus? method const2name (line 26) | def const2name(const) method indirection= (line 31) | def indirection=(name) method indirection_name (line 44) | def indirection_name method inherited (line 51) | def inherited(subclass) method mark_as_abstract_terminus (line 94) | def mark_as_abstract_terminus method model (line 98) | def model method name2const (line 103) | def name2const(name) method register_terminus_class (line 108) | def register_terminus_class(klass) method terminus_class (line 114) | def terminus_class(indirection_name, terminus_type) method terminus_classes (line 120) | def terminus_classes(indirection_name) method setup_instance_loading (line 129) | def setup_instance_loading(type) method indirection (line 134) | def indirection method initialize (line 138) | def initialize method model (line 142) | def model method name (line 146) | def name method require_environment? (line 150) | def require_environment? method allow_remote_requests? (line 154) | def allow_remote_requests? method terminus_type (line 158) | def terminus_type method validate (line 162) | def validate(request) method validate_key (line 169) | def validate_key(request) method validate_model (line 175) | def validate_model(request) FILE: lib/puppet/indirector/yaml.rb class Puppet::Indirector::Yaml (line 7) | class Puppet::Indirector::Yaml < Puppet::Indirector::Terminus method find (line 9) | def find(request) method save (line 21) | def save(request) method path (line 39) | def path(name, ext = '.yaml') method destroy (line 49) | def destroy(request) method search (line 54) | def search(request) method load_file (line 62) | def load_file(file) FILE: lib/puppet/info_service.rb type Puppet::InfoService (line 3) | module Puppet::InfoService function classes_per_environment (line 8) | def self.classes_per_environment(env_file_hash) function tasks_per_environment (line 12) | def self.tasks_per_environment(environment_name) function task_data (line 16) | def self.task_data(environment_name, module_name, task_name) function plans_per_environment (line 20) | def self.plans_per_environment(environment_name) function plan_data (line 24) | def self.plan_data(environment_name, module_name, plan_name) FILE: lib/puppet/info_service/class_information_service.rb class Puppet::InfoService::ClassInformationService (line 7) | class Puppet::InfoService::ClassInformationService method initialize (line 8) | def initialize method classes_per_environment (line 13) | def classes_per_environment(env_file_hash) method type_parser (line 39) | def type_parser method literal_evaluator (line 43) | def literal_evaluator method result_of (line 47) | def result_of(f) method parse_file (line 55) | def parse_file(f) method extract_param (line 70) | def extract_param(p) method extract_type (line 74) | def extract_type(structure, p) method extract_default (line 81) | def extract_default(structure, p) method typeexpr_to_string (line 91) | def typeexpr_to_string(name, type_expr) method value_as_literal (line 97) | def value_as_literal(value_expr) method extract_value_source (line 105) | def extract_value_source(value_expr) FILE: lib/puppet/info_service/plan_information_service.rb class Puppet::InfoService::PlanInformationService (line 3) | class Puppet::InfoService::PlanInformationService method plans_per_environment (line 6) | def self.plans_per_environment(environment_name) method plan_data (line 16) | def self.plan_data(environment_name, module_name, plan_name) FILE: lib/puppet/info_service/task_information_service.rb class Puppet::InfoService::TaskInformationService (line 3) | class Puppet::InfoService::TaskInformationService method tasks_per_environment (line 6) | def self.tasks_per_environment(environment_name) method task_data (line 23) | def self.task_data(environment_name, module_name, task_name) FILE: lib/puppet/interface.rb class Puppet::Interface (line 8) | class Puppet::Interface method faces (line 36) | def faces method register (line 44) | def register(instance) method define (line 58) | def define(name, version, &block) method face? (line 82) | def face?(name, version) method [] (line 94) | def [](name, version) method find_action (line 113) | def find_action(name, action, version = :current) method synopsis (line 128) | def synopsis method initialize (line 150) | def initialize(name, version, &block) method load_actions (line 172) | def load_actions method to_s (line 178) | def to_s method deprecate (line 184) | def deprecate method deprecated? (line 189) | def deprecated? method __invoke_decorations (line 207) | def __invoke_decorations(type, action, passed_args = [], passed_option... method __add_method (line 228) | def __add_method(name, proc) method __add_method (line 235) | def self.__add_method(name, proc) FILE: lib/puppet/interface/action.rb class Puppet::Interface::Action (line 11) | class Puppet::Interface::Action method initialize (line 16) | def initialize(face, name) method __dup_and_rebind_to (line 42) | def __dup_and_rebind_to(to) method to_s (line 48) | def to_s() "#{@face}##{@name}" end method default? (line 63) | def default? method synopsis (line 71) | def synopsis method when_rendering (line 79) | def when_rendering(type) method set_rendering_method_for (line 95) | def set_rendering_method_for(type, proc) method __render_method_name_for (line 140) | def __render_method_name_for(type) method render_as= (line 149) | def render_as=(value) method deprecate (line 155) | def deprecate method deprecated? (line 161) | def deprecated? method when_invoked= (line 227) | def when_invoked=(block) method add_option (line 282) | def add_option(option) method option? (line 306) | def option?(name) method options (line 310) | def options method add_display_global_options (line 314) | def add_display_global_options(*args) method display_global_options (line 328) | def display_global_options(*args) method get_option (line 333) | def get_option(name, with_inherited_options = true) method validate_and_clean (line 341) | def validate_and_clean(original) method __add_method (line 407) | def __add_method(name, proc) FILE: lib/puppet/interface/action_builder.rb class Puppet::Interface::ActionBuilder (line 8) | class Puppet::Interface::ActionBuilder method build (line 19) | def self.build(face, name, &block) method deprecate (line 29) | def deprecate method when_invoked (line 50) | def when_invoked(&block) method when_rendering (line 63) | def when_rendering(type = nil, &block) method option (line 108) | def option(*declaration, &block) method default (line 117) | def default(value = true) method display_global_options (line 122) | def display_global_options(*args) method render_as (line 129) | def render_as(value = nil) method initialize (line 158) | def initialize(face, name, &block) FILE: lib/puppet/interface/action_manager.rb type Puppet::Interface::ActionManager (line 8) | module Puppet::Interface::ActionManager function action (line 20) | def action(name, &block) function actions (line 38) | def actions function get_action (line 57) | def get_action(name) function get_default_action (line 80) | def get_default_action function deactivate_action (line 92) | def deactivate_action(name) function action? (line 98) | def action?(name) FILE: lib/puppet/interface/documentation.rb class Puppet::Interface (line 3) | class Puppet::Interface type DocGen (line 5) | module DocGen function strip_whitespace (line 9) | def self.strip_whitespace(text) function attr_doc (line 23) | def attr_doc(name, &validate) type TinyDocs (line 52) | module TinyDocs function build_synopsis (line 74) | def build_synopsis(face, action = nil, arguments = nil) type FullDocs (line 119) | module FullDocs function short_description (line 178) | def short_description(value = nil) function author (line 203) | def author(value = nil) function authors (line 223) | def authors function author= (line 228) | def author=(value) function copyright (line 252) | def copyright(owner = nil, years = nil) function copyright_owner= (line 275) | def copyright_owner=(value) function copyright_years= (line 292) | def copyright_years=(value) function munge_copyright_year (line 307) | def munge_copyright_year(input) FILE: lib/puppet/interface/face_collection.rb type Puppet::Interface::FaceCollection (line 3) | module Puppet::Interface::FaceCollection function faces (line 8) | def self.faces function [] (line 19) | def self.[](name, version) function get_action_for_face (line 24) | def self.get_action_for_face(name, action_name, version) function get_face (line 47) | def self.get_face(name, pattern) function find_matching (line 57) | def self.find_matching(range, versions) function load_face (line 62) | def self.load_face(name, version) function safely_require (line 111) | def self.safely_require(name, version = nil) function register (line 128) | def self.register(face) function underscorize (line 132) | def self.underscorize(name) FILE: lib/puppet/interface/option.rb class Puppet::Interface::Option (line 9) | class Puppet::Interface::Option method initialize (line 13) | def initialize(parent, *declaration, &block) method to_s (line 86) | def to_s method optparse_to_optionname (line 91) | def optparse_to_optionname(declaration) method optparse_to_name (line 101) | def optparse_to_name(declaration) method takes_argument? (line 110) | def takes_argument? method optional_argument? (line 114) | def optional_argument? method required? (line 118) | def required? method has_default? (line 122) | def has_default? method default= (line 126) | def default=(proc) method default (line 139) | def default method required= (line 145) | def required=(value) method before_action= (line 155) | def before_action=(proc) method after_action= (line 167) | def after_action=(proc) method __decoration_name (line 177) | def __decoration_name(type) FILE: lib/puppet/interface/option_builder.rb class Puppet::Interface::OptionBuilder (line 4) | class Puppet::Interface::OptionBuilder method build (line 13) | def self.build(face, *declaration, &block) method initialize (line 17) | def initialize(face, *declaration, &block) method before_action (line 44) | def before_action(&block) method after_action (line 65) | def after_action(&block) method required (line 86) | def required(value = true) method default_to (line 95) | def default_to(&block) FILE: lib/puppet/interface/option_manager.rb type Puppet::Interface::OptionManager (line 8) | module Puppet::Interface::OptionManager function display_global_options (line 10) | def display_global_options(*args) function all_display_global_options (line 25) | def all_display_global_options function walk_inheritance_tree (line 30) | def walk_inheritance_tree(start, sym) function option (line 46) | def option(*declaration, &block) function add_option (line 51) | def add_option(option) function options (line 84) | def options function get_option (line 89) | def get_option(name, with_inherited_options = true) function option? (line 105) | def option?(name) FILE: lib/puppet/loaders.rb type Puppet (line 5) | module Puppet type Pops (line 6) | module Pops type Loader (line 9) | module Loader FILE: lib/puppet/metatype/manager.rb type Puppet::MetaType (line 11) | module Puppet::MetaType type Manager (line 12) | module Manager function allclear (line 19) | def allclear function clear_misses (line 29) | def clear_misses function eachtype (line 40) | def eachtype function loadall (line 54) | def loadall function newtype (line 74) | def newtype(name, options = {}, &block) function rmtype (line 142) | def rmtype(name) function type (line 155) | def type(name) function typeloader (line 190) | def typeloader FILE: lib/puppet/module.rb class Puppet::Module (line 10) | class Puppet::Module class Error (line 11) | class Error < Puppet::Error; end class MissingModule (line 12) | class MissingModule < Error; end class IncompatibleModule (line 13) | class IncompatibleModule < Error; end class UnsupportedPlatform (line 14) | class UnsupportedPlatform < Error; end class IncompatiblePlatform (line 15) | class IncompatiblePlatform < Error; end class MissingMetadata (line 16) | class MissingMetadata < Error; end class FaultyMetadata (line 17) | class FaultyMetadata < Error; end class InvalidName (line 18) | class InvalidName < Error; end class InvalidFilePattern (line 19) | class InvalidFilePattern < Error; end method find (line 36) | def self.find(modname, environment = nil) method is_module_directory? (line 44) | def self.is_module_directory?(name, path) method is_module_directory_name? (line 52) | def self.is_module_directory_name?(name) method is_module_namespaced_name? (line 59) | def self.is_module_namespaced_name?(name) method parse_range (line 67) | def self.parse_range(range) method initialize (line 77) | def initialize(name, path, environment) method puppetversion (line 89) | def puppetversion method puppetversion= (line 94) | def puppetversion=(something) method validate_puppet_version (line 98) | def validate_puppet_version method has_metadata? (line 102) | def has_metadata? method tasks_directory (line 147) | def tasks_directory method tasks (line 151) | def tasks method task_file (line 164) | def task_file(name) method plans_directory (line 180) | def plans_directory method plans (line 184) | def plans method plan_file (line 197) | def plan_file(name) method license_file (line 213) | def license_file method read_metadata (line 221) | def read_metadata method load_metadata (line 243) | def load_metadata method match_manifests (line 273) | def match_manifests(rest) method all_manifests (line 289) | def all_manifests method metadata_file (line 295) | def metadata_file method hiera_conf_file (line 303) | def hiera_conf_file method has_hiera_conf? (line 310) | def has_hiera_conf? method modulepath (line 314) | def modulepath method plugin_directory (line 319) | def plugin_directory method plugin_fact_directory (line 323) | def plugin_fact_directory method locale_directory (line 328) | def locale_directory method has_translations? (line 338) | def has_translations?(locale) method has_external_facts? (line 342) | def has_external_facts? method supports (line 346) | def supports(name, version = nil) method to_s (line 351) | def to_s method dependencies_as_modules (line 357) | def dependencies_as_modules method required_by (line 368) | def required_by method unmet_dependencies (line 398) | def unmet_dependencies method == (line 451) | def ==(other) method wanted_manifests_from (line 460) | def wanted_manifests_from(pattern) method subpath (line 474) | def subpath(type) method assert_validity (line 478) | def assert_validity FILE: lib/puppet/module/plan.rb class Puppet::Module (line 5) | class Puppet::Module class Plan (line 6) | class Plan class Error (line 7) | class Error < Puppet::Error method initialize (line 10) | def initialize(message, kind, details = nil) method to_h (line 16) | def to_h class InvalidName (line 25) | class InvalidName < Error method initialize (line 26) | def initialize(name, msg) class InvalidFile (line 31) | class InvalidFile < Error method initialize (line 32) | def initialize(msg) class InvalidPlan (line 37) | class InvalidPlan < Error class InvalidMetadata (line 40) | class InvalidMetadata < Error class PlanNotFound (line 43) | class PlanNotFound < Error method initialize (line 44) | def initialize(plan_name, module_name) method is_plan_name? (line 59) | def self.is_plan_name?(name) method is_plans_filename? (line 66) | def self.is_plans_filename?(path) method find_implementations (line 84) | def self.find_implementations(name, plan_files) method find_files (line 98) | def self.find_files(name, plan_files) method plans_in_module (line 102) | def self.plans_in_module(pup_module) method initialize (line 117) | def initialize(pup_module, plan_name, plan_files) method metadata (line 131) | def metadata method files (line 136) | def files method validate (line 140) | def validate method == (line 145) | def ==(other) method environment_name (line 150) | def environment_name method new_with_files (line 155) | def self.new_with_files(pup_module, name, plan_files) method plan_name_from_path (line 161) | def self.plan_name_from_path(path) FILE: lib/puppet/module/task.rb class Puppet::Module (line 5) | class Puppet::Module class Task (line 6) | class Task class Error (line 7) | class Error < Puppet::Error method initialize (line 10) | def initialize(message, kind, details = nil) method to_h (line 16) | def to_h class InvalidName (line 25) | class InvalidName < Error method initialize (line 26) | def initialize(name) class InvalidFile (line 32) | class InvalidFile < Error method initialize (line 33) | def initialize(msg) class InvalidTask (line 38) | class InvalidTask < Error class InvalidMetadata (line 41) | class InvalidMetadata < Error class TaskNotFound (line 44) | class TaskNotFound < Error method initialize (line 45) | def initialize(task_name, module_name) method is_task_name? (line 55) | def self.is_task_name?(name) method is_tasks_file? (line 61) | def self.is_tasks_file?(path) method is_tasks_filename? (line 66) | def self.is_tasks_filename?(path) method get_file_details (line 76) | def self.get_file_details(path, mod) method find_extra_files (line 88) | def self.find_extra_files(metadata, envname = nil) method find_implementations (line 156) | def self.find_implementations(name, directory, metadata, executables) method find_files (line 199) | def self.find_files(name, directory, metadata, executables, envname ... method is_tasks_metadata_filename? (line 204) | def self.is_tasks_metadata_filename?(name) method is_tasks_executable_filename? (line 208) | def self.is_tasks_executable_filename?(name) method tasks_in_module (line 212) | def self.tasks_in_module(pup_module) method initialize (line 228) | def initialize(pup_module, task_name, module_executables, metadata_f... method read_metadata (line 241) | def self.read_metadata(file) method metadata (line 253) | def metadata method files (line 257) | def files method validate (line 261) | def validate method == (line 266) | def ==(other) method environment_name (line 271) | def environment_name method new_with_files (line 276) | def self.new_with_files(pup_module, name, task_files, module_executa... method task_name_from_path (line 283) | def self.task_name_from_path(path) FILE: lib/puppet/module_tool.rb type Puppet (line 9) | module Puppet type ModuleTool (line 10) | module ModuleTool function artifact? (line 24) | def self.artifact?(path) function username_and_modname_from (line 35) | def self.username_and_modname_from(full_module_name) function find_module_root (line 50) | def self.find_module_root(path) function is_module_root? (line 65) | def self.is_module_root?(path) function format_tree (line 73) | def self.format_tree(nodes, level = 0) function build_tree (line 93) | def self.build_tree(mods, dir) function set_option_defaults (line 125) | def self.set_option_defaults(options) function environment_from_options (line 147) | def self.environment_from_options(options) function parse_module_dependency (line 171) | def self.parse_module_dependency(where, dep) FILE: lib/puppet/module_tool/applications.rb type Puppet::ModuleTool (line 5) | module Puppet::ModuleTool type Applications (line 6) | module Applications FILE: lib/puppet/module_tool/applications/application.rb type Puppet::ModuleTool (line 7) | module Puppet::ModuleTool type Applications (line 8) | module Applications class Application (line 9) | class Application method run (line 12) | def self.run(*args) method initialize (line 18) | def initialize(options = {}) method run (line 22) | def run method discuss (line 26) | def discuss(response, success, failure) method metadata (line 40) | def metadata(require_metadata = false) method load_metadata! (line 70) | def load_metadata! method parse_filename (line 75) | def parse_filename(filename) FILE: lib/puppet/module_tool/applications/checksummer.rb type Puppet::ModuleTool (line 6) | module Puppet::ModuleTool type Applications (line 7) | module Applications class Checksummer (line 8) | class Checksummer < Application method initialize (line 9) | def initialize(path, options = {}) method run (line 14) | def run method checksums (line 41) | def checksums method metadata_file (line 53) | def metadata_file method checksums_file (line 57) | def checksums_file FILE: lib/puppet/module_tool/applications/installer.rb type Puppet::ModuleTool (line 16) | module Puppet::ModuleTool type Applications (line 17) | module Applications class Installer (line 18) | class Installer < Application method initialize (line 23) | def initialize(name, install_dir, options = {}) method run (line 56) | def run method module_repository (line 250) | def module_repository method local_tarball_source (line 254) | def local_tarball_source method installed_modules_source (line 262) | def installed_modules_source method installed_modules (line 266) | def installed_modules method build_single_module_graph (line 270) | def build_single_module_graph(name, version) method build_dependency_graph (line 278) | def build_dependency_graph(name, version) method build_install_graph (line 282) | def build_install_graph(release, installed, graphed = []) method get_release_packages (line 308) | def get_release_packages method resolve_install_conflicts (line 359) | def resolve_install_conflicts(graph, is_dependency = false) FILE: lib/puppet/module_tool/applications/uninstaller.rb type Puppet::ModuleTool (line 3) | module Puppet::ModuleTool type Applications (line 4) | module Applications class Uninstaller (line 5) | class Uninstaller < Application method initialize (line 8) | def initialize(name, options) method run (line 19) | def run method find_installed_module (line 52) | def find_installed_module method validate_module (line 90) | def validate_module FILE: lib/puppet/module_tool/applications/unpacker.rb type Puppet::ModuleTool (line 8) | module Puppet::ModuleTool type Applications (line 9) | module Applications class Unpacker (line 10) | class Unpacker < Application method unpack (line 11) | def self.unpack(filename, target) method harmonize_ownership (line 18) | def self.harmonize_ownership(source, target) method initialize (line 27) | def initialize(filename, options = {}) method run (line 33) | def run method sanity_check (line 46) | def sanity_check method unpack (line 56) | def unpack method root_dir (line 63) | def root_dir method module_name (line 77) | def module_name method move_into (line 83) | def move_into(dir) method tmpdir (line 96) | def tmpdir FILE: lib/puppet/module_tool/applications/upgrader.rb type Puppet::ModuleTool (line 11) | module Puppet::ModuleTool type Applications (line 12) | module Applications class Upgrader (line 13) | class Upgrader < Application method initialize (line 16) | def initialize(name, options) method run (line 29) | def run method module_repository (line 227) | def module_repository method installed_modules_source (line 231) | def installed_modules_source method installed_modules (line 236) | def installed_modules method build_single_module_graph (line 240) | def build_single_module_graph(name, version) method build_dependency_graph (line 248) | def build_dependency_graph(name, version) method build_install_graph (line 252) | def build_install_graph(release, installed, graphed = []) FILE: lib/puppet/module_tool/checksums.rb type Puppet::ModuleTool (line 6) | module Puppet::ModuleTool class Checksums (line 11) | class Checksums method initialize (line 16) | def initialize(path) method checksum (line 21) | def checksum(pathname) method data (line 27) | def data method each (line 46) | def each(&block) FILE: lib/puppet/module_tool/contents_description.rb type Puppet::ModuleTool (line 5) | module Puppet::ModuleTool class ContentsDescription (line 9) | class ContentsDescription method initialize (line 11) | def initialize(module_path) method annotate (line 16) | def annotate(metadata) method data (line 31) | def data method attr_doc (line 65) | def attr_doc(type, kind) method provider_doc (line 79) | def provider_doc(type) FILE: lib/puppet/module_tool/dependency.rb type Puppet::ModuleTool (line 6) | module Puppet::ModuleTool class Dependency (line 7) | class Dependency method initialize (line 15) | def initialize(full_module_name, version_requirement = nil, reposito... method == (line 25) | def ==(o) method hash (line 31) | def hash method to_data_hash (line 35) | def to_data_hash FILE: lib/puppet/module_tool/errors.rb type Puppet::ModuleTool (line 5) | module Puppet::ModuleTool type Errors (line 6) | module Errors FILE: lib/puppet/module_tool/errors/base.rb type Puppet::ModuleTool::Errors (line 3) | module Puppet::ModuleTool::Errors class ModuleToolError (line 4) | class ModuleToolError < Puppet::Error method v (line 5) | def v(version) method vstring (line 9) | def vstring FILE: lib/puppet/module_tool/errors/installer.rb type Puppet::ModuleTool::Errors (line 3) | module Puppet::ModuleTool::Errors class InstallError (line 4) | class InstallError < ModuleToolError; end class AlreadyInstalledError (line 6) | class AlreadyInstalledError < InstallError method initialize (line 7) | def initialize(options) method multiline (line 15) | def multiline class MissingPackageError (line 28) | class MissingPackageError < InstallError method initialize (line 29) | def initialize(options) method multiline (line 36) | def multiline class InstallPathExistsNotDirectoryError (line 45) | class InstallPathExistsNotDirectoryError < InstallError method initialize (line 46) | def initialize(original, options) method multiline (line 53) | def multiline class PermissionDeniedCreateInstallDirectoryError (line 63) | class PermissionDeniedCreateInstallDirectoryError < InstallError method initialize (line 64) | def initialize(original, options) method multiline (line 71) | def multiline class InvalidPathInPackageError (line 80) | class InvalidPathInPackageError < InstallError method initialize (line 81) | def initialize(options) method multiline (line 87) | def multiline FILE: lib/puppet/module_tool/errors/shared.rb type Puppet::ModuleTool::Errors (line 3) | module Puppet::ModuleTool::Errors class NoVersionsSatisfyError (line 4) | class NoVersionsSatisfyError < ModuleToolError method initialize (line 5) | def initialize(options) method multiline (line 16) | def multiline class NoCandidateReleasesError (line 40) | class NoCandidateReleasesError < ModuleToolError method initialize (line 41) | def initialize(options) method multiline (line 55) | def multiline class InstallConflictError (line 68) | class InstallConflictError < ModuleToolError method initialize (line 69) | def initialize(options) method multiline (line 78) | def multiline class InvalidDependencyCycleError (line 103) | class InvalidDependencyCycleError < ModuleToolError method initialize (line 104) | def initialize(options) method multiline (line 114) | def multiline class InvalidModuleNameError (line 131) | class InvalidModuleNameError < ModuleToolError method initialize (line 132) | def initialize(options) method multiline (line 139) | def multiline class NotInstalledError (line 148) | class NotInstalledError < ModuleToolError method initialize (line 149) | def initialize(options) method multiline (line 156) | def multiline class MultipleInstalledError (line 170) | class MultipleInstalledError < ModuleToolError method initialize (line 171) | def initialize(options) method multiline (line 179) | def multiline class LocalChangesError (line 193) | class LocalChangesError < ModuleToolError method initialize (line 194) | def initialize(options) method multiline (line 202) | def multiline class InvalidModuleError (line 212) | class InvalidModuleError < ModuleToolError method initialize (line 213) | def initialize(name, options) method multiline (line 220) | def multiline FILE: lib/puppet/module_tool/errors/uninstaller.rb type Puppet::ModuleTool::Errors (line 3) | module Puppet::ModuleTool::Errors class UninstallError (line 4) | class UninstallError < ModuleToolError; end class NoVersionMatchesError (line 6) | class NoVersionMatchesError < UninstallError method initialize (line 7) | def initialize(options) method multiline (line 14) | def multiline class ModuleIsRequiredError (line 25) | class ModuleIsRequiredError < UninstallError method initialize (line 26) | def initialize(options) method multiline (line 35) | def multiline FILE: lib/puppet/module_tool/errors/upgrader.rb type Puppet::ModuleTool::Errors (line 3) | module Puppet::ModuleTool::Errors class UpgradeError (line 4) | class UpgradeError < ModuleToolError method initialize (line 5) | def initialize(msg) class VersionAlreadyInstalledError (line 11) | class VersionAlreadyInstalledError < UpgradeError method initialize (line 14) | def initialize(options) method multiline (line 24) | def multiline class DowngradingUnsupportedError (line 46) | class DowngradingUnsupportedError < UpgradeError method initialize (line 47) | def initialize(options) method multiline (line 57) | def multiline FILE: lib/puppet/module_tool/install_directory.rb type Puppet (line 6) | module Puppet type ModuleTool (line 7) | module ModuleTool class InstallDirectory (line 9) | class InstallDirectory method initialize (line 14) | def initialize(target) method prepare (line 20) | def prepare(module_name, version) method converted_to_friendly_error (line 38) | def converted_to_friendly_error(module_name, version, orig_error) FILE: lib/puppet/module_tool/installed_modules.rb type Puppet::ModuleTool (line 8) | module Puppet::ModuleTool class InstalledModules (line 9) | class InstalledModules < SemanticPuppet::Dependency::Source method priority (line 12) | def priority method initialize (line 16) | def initialize(env) method fetch (line 42) | def fetch(name) method fetched (line 53) | def fetched class ModuleRelease (line 57) | class ModuleRelease < SemanticPuppet::Dependency::ModuleRelease method initialize (line 60) | def initialize(source, mod) method install_dir (line 86) | def install_dir method install (line 90) | def install(dir) method prepare (line 94) | def prepare FILE: lib/puppet/module_tool/local_tarball.rb type Puppet::ModuleTool (line 9) | module Puppet::ModuleTool class LocalTarball (line 10) | class LocalTarball < SemanticPuppet::Dependency::Source method initialize (line 13) | def initialize(filename) method fetch (line 21) | def fetch(name) method prepare (line 29) | def prepare(release) method install (line 33) | def install(release, dir) class ModuleRelease (line 45) | class ModuleRelease < SemanticPuppet::Dependency::ModuleRelease method initialize (line 48) | def initialize(source, mod) method install (line 65) | def install(dir) method prepare (line 70) | def prepare method tmpdir (line 81) | def tmpdir method unpack (line 86) | def unpack(file, destination) FILE: lib/puppet/module_tool/metadata.rb type Puppet::ModuleTool (line 9) | module Puppet::ModuleTool class Metadata (line 12) | class Metadata method initialize (line 30) | def initialize method dashed_name (line 36) | def dashed_name method release_name (line 41) | def release_name method update (line 53) | def update(data) method add_dependency (line 67) | def add_dependency(name, version_requirement = nil, repository = nil) method description (line 84) | def description method dependencies (line 88) | def dependencies method to_hash (line 96) | def to_hash method to_json (line 101) | def to_json method method_missing (line 117) | def method_missing(name, *args) method process_name (line 126) | def process_name(data) method process_version (line 134) | def process_version(data) method process_data_provider (line 138) | def process_data_provider(data) method process_source (line 145) | def process_source(data) method merge_dependencies (line 163) | def merge_dependencies(data) method validate_name (line 173) | def validate_name(name) method validate_version (line 194) | def validate_version(version) method validate_data_provider (line 206) | def validate_data_provider(value) method validate_version_range (line 221) | def validate_version_range(version_range) FILE: lib/puppet/module_tool/shared_behaviors.rb type Puppet::ModuleTool::Shared (line 3) | module Puppet::ModuleTool::Shared function get_local_constraints (line 6) | def get_local_constraints function get_remote_constraints (line 29) | def get_remote_constraints(forge) function implicit_version (line 57) | def implicit_version(mod) function annotated_version (line 66) | def annotated_version(mod, versions) function resolve_constraints (line 74) | def resolve_constraints(dependencies, source = [{ :name => :you }], se... function download_tarballs (line 164) | def download_tarballs(graph, default_path, forge) function forced? (line 183) | def forced? function add_module_name_constraints_to_graph (line 187) | def add_module_name_constraints_to_graph(graph) FILE: lib/puppet/module_tool/tar.rb type Puppet::ModuleTool::Tar (line 6) | module Puppet::ModuleTool::Tar function instance (line 10) | def self.instance FILE: lib/puppet/module_tool/tar/gnu.rb class Puppet::ModuleTool::Tar::Gnu (line 5) | class Puppet::ModuleTool::Tar::Gnu method unpack (line 6) | def unpack(sourcefile, destdir, owner) method pack (line 17) | def pack(sourcedir, destfile) FILE: lib/puppet/module_tool/tar/mini.rb class Puppet::ModuleTool::Tar::Mini (line 3) | class Puppet::ModuleTool::Tar::Mini method unpack (line 4) | def unpack(sourcefile, destdir, _) method pack (line 34) | def pack(sourcedir, destfile) method set_dir_mode! (line 51) | def set_dir_mode!(stats) method sanitized_mode (line 65) | def sanitized_mode(old_mode) method set_file_mode! (line 69) | def set_file_mode!(stats) method set_default_user_and_group! (line 84) | def set_default_user_and_group!(stats) method find_valid_files (line 95) | def find_valid_files(tarfile) method validate_entry (line 107) | def validate_entry(destdir, path) FILE: lib/puppet/network.rb type Puppet::Network (line 4) | module Puppet::Network # :nodoc: FILE: lib/puppet/network/authconfig.rb type Puppet (line 3) | module Puppet class Network::AuthConfig (line 4) | class Network::AuthConfig method authprovider_class= (line 5) | def self.authprovider_class=(_) FILE: lib/puppet/network/authorization.rb type Puppet::Network (line 3) | module Puppet::Network type Authorization (line 4) | module Authorization function authconfigloader_class= (line 7) | def authconfigloader_class=(klass) function check_external_authorization (line 13) | def check_external_authorization(method, path) FILE: lib/puppet/network/client_request.rb type Puppet::Network (line 3) | module Puppet::Network # :nodoc: class ClientRequest (line 6) | class ClientRequest method authenticated? (line 9) | def authenticated? method call (line 16) | def call method initialize (line 22) | def initialize(name, ip, authenticated) method to_s (line 28) | def to_s FILE: lib/puppet/network/format.rb class Puppet::Network::Format (line 7) | class Puppet::Network::Format method init_attribute (line 13) | def init_attribute(name, default) method initialize (line 20) | def initialize(name, options = {}, &block) method intern (line 52) | def intern(klass, text) method intern_multiple (line 58) | def intern_multiple(klass, text) method mime= (line 64) | def mime=(mime) method render (line 68) | def render(instance) method render_multiple (line 74) | def render_multiple(instances) method required_methods_present? (line 82) | def required_methods_present?(klass) method supported? (line 92) | def supported?(klass) method to_s (line 96) | def to_s method define_method_names (line 102) | def define_method_names method required_method_present? (line 109) | def required_method_present?(name, klass, type) FILE: lib/puppet/network/format_handler.rb type Puppet::Network::FormatHandler (line 7) | module Puppet::Network::FormatHandler class FormatError (line 8) | class FormatError < Puppet::Error; end function create (line 14) | def self.create(*args, &block) function create_serialized_formats (line 21) | def self.create_serialized_formats(name, options = {}, &block) function format (line 27) | def self.format(name) function format_for (line 31) | def self.format_for(name) function format_by_extension (line 36) | def self.format_by_extension(ext) function formats (line 44) | def self.formats function mime (line 49) | def self.mime(mimetype) function format_to_canonical_name (line 58) | def self.format_to_canonical_name(format) function most_suitable_formats_for (line 86) | def self.most_suitable_formats_for(accepted, supported) function format_to_canonical_name_or_nil (line 103) | def self.format_to_canonical_name_or_nil(format) FILE: lib/puppet/network/format_support.rb type Puppet::Network::FormatSupport (line 7) | module Puppet::Network::FormatSupport function included (line 8) | def self.included(klass) type ClassMethods (line 12) | module ClassMethods function convert_from (line 13) | def convert_from(format, data) function convert_from_multiple (line 20) | def convert_from_multiple(format, data) function render_multiple (line 27) | def render_multiple(format, instances) function default_format (line 34) | def default_format function support_format? (line 38) | def support_format?(name) function supported_formats (line 42) | def supported_formats function get_format (line 60) | def get_format(format_name) function format_handler (line 66) | def format_handler function friendly_name (line 70) | def friendly_name function put_preferred_format_first (line 78) | def put_preferred_format_first(list) function to_msgpack (line 97) | def to_msgpack(*args) function to_pson (line 102) | def to_pson(*args) function to_json (line 106) | def to_json(*args) function render (line 110) | def render(format = nil) function mime (line 119) | def mime(format = nil) function support_format? (line 128) | def support_format?(name) FILE: lib/puppet/network/formats.rb function intern (line 9) | def intern(klass, text) function intern_multiple (line 16) | def intern_multiple(klass, text) function render_multiple (line 22) | def render_multiple(instances) function allowed_yaml_classes (line 28) | def allowed_yaml_classes function intern (line 38) | def intern(klass, text) function intern_multiple (line 45) | def intern_multiple(klass, text) function data_to_instance (line 58) | def data_to_instance(klass, data) function render (line 68) | def render(instance) function render_multiple (line 73) | def render_multiple(instances) function supported? (line 77) | def supported?(klass) function intern (line 94) | def intern(klass, text) function intern_multiple (line 98) | def intern_multiple(klass, text) function render_multiple (line 105) | def render_multiple(instances) function data_to_instance (line 111) | def data_to_instance(klass, data) function intern (line 123) | def intern(klass, text) function intern_multiple (line 127) | def intern_multiple(klass, text) function render_multiple (line 133) | def render_multiple(instances) function data_to_instance (line 139) | def data_to_instance(klass, data) function json (line 152) | def json function render (line 156) | def render(datum) function render_multiple (line 186) | def render_multiple(data) function flatten_hash (line 194) | def flatten_hash(hash) function flatten_array (line 217) | def flatten_array(array) function construct_output (line 231) | def construct_output(data) function render (line 240) | def render(datum) function render_multiple (line 255) | def render_multiple(data) function intern (line 261) | def intern(klass, text) function intern_multiple (line 267) | def intern_multiple(klass, text) function render (line 275) | def render(instance) function render_multiple (line 281) | def render_multiple(instances) function data_to_instance (line 287) | def data_to_instance(klass, data) function supported? (line 295) | def supported?(klass) function intern (line 304) | def intern(klass, text) function intern_multiple (line 313) | def intern_multiple(klass, text) function render_multiple (line 321) | def render_multiple(instances) function render (line 327) | def render(instance) function supported? (line 333) | def supported?(klass) FILE: lib/puppet/network/http.rb type Puppet::Network::HTTP (line 4) | module Puppet::Network::HTTP FILE: lib/puppet/network/http/api.rb class Puppet::Network::HTTP::API (line 3) | class Puppet::Network::HTTP::API method not_found (line 6) | def self.not_found method not_found_upgrade (line 14) | def self.not_found_upgrade method server_routes (line 30) | def self.server_routes method master_routes (line 38) | def self.master_routes FILE: lib/puppet/network/http/api/indirected_routes.rb class Puppet::Network::HTTP::API::IndirectedRoutes (line 5) | class Puppet::Network::HTTP::API::IndirectedRoutes method routes (line 29) | def self.routes method call (line 35) | def call(request, response) method uri2indirection (line 58) | def uri2indirection(http_method, uri, params) method do_find (line 115) | def do_find(indirection, key, params, request, response) method do_head (line 137) | def do_head(indirection, key, params, request, response) method do_search (line 147) | def do_search(indirection, key, params, request, response) method do_destroy (line 164) | def do_destroy(indirection, key, params, request, response) method do_save (line 173) | def do_save(indirection, key, params, request, response) method first_response_formatter_for (line 184) | def first_response_formatter_for(model, request, key, &block) method accepted_response_formatters_for (line 210) | def accepted_response_formatters_for(model_class, request) method accepted_response_formatter_or_json_for (line 216) | def accepted_response_formatter_or_json_for(model_class, request) method read_body_into_model (line 220) | def read_body_into_model(model_class, request) method indirection_method (line 239) | def indirection_method(http_method, indirection) method pluralize (line 250) | def self.pluralize(indirection) method plurality (line 255) | def plurality(indirection) FILE: lib/puppet/network/http/api/indirection_type.rb class Puppet::Network::HTTP::API::IndirectionType (line 3) | class Puppet::Network::HTTP::API::IndirectionType method master_url_prefix (line 11) | def self.master_url_prefix method ca_url_prefix (line 15) | def self.ca_url_prefix method type_for (line 19) | def self.type_for(indirection) method url_prefix_for (line 23) | def self.url_prefix_for(indirection_name) FILE: lib/puppet/network/http/api/server.rb type Puppet (line 3) | module Puppet type Network (line 4) | module Network type HTTP (line 5) | module HTTP class API (line 6) | class API type Server (line 7) | module Server FILE: lib/puppet/network/http/api/server/v3.rb type Puppet (line 6) | module Puppet type Network (line 7) | module Network type HTTP (line 8) | module HTTP class API (line 9) | class API type Server (line 10) | module Server class V3 (line 11) | class V3 method wrap (line 12) | def self.wrap(&block) method routes (line 30) | def self.routes FILE: lib/puppet/network/http/api/server/v3/environments.rb type Puppet (line 5) | module Puppet type Network (line 6) | module Network type HTTP (line 7) | module HTTP class API (line 8) | class API type Server (line 9) | module Server class V3 (line 10) | class V3 class Environments (line 11) | class Environments method initialize (line 12) | def initialize(env_loader) method call (line 16) | def call(request, response) method timeout (line 40) | def timeout(env) FILE: lib/puppet/network/http/connection.rb class Puppet::Network::HTTP::RedirectionLimitExceededException (line 6) | class Puppet::Network::HTTP::RedirectionLimitExceededException < Puppet:... class Puppet::Network::HTTP::Connection (line 20) | class Puppet::Network::HTTP::Connection method initialize (line 47) | def initialize(host, port, options = {}) method address (line 66) | def address method port (line 71) | def port method use_ssl? (line 76) | def use_ssl? method verifier (line 81) | def verifier method get (line 98) | def get(path, headers = {}, options = {}) method post (line 113) | def post(path, data, headers = nil, options = {}) method head (line 129) | def head(path, headers = {}, options = {}) method delete (line 143) | def delete(path, headers = { 'Depth' => 'Infinity' }, options = {}) method put (line 158) | def put(path, data, headers = nil, options = {}) method request_get (line 170) | def request_get(*args, &block) method request_head (line 186) | def request_head(*args, &block) method request_post (line 200) | def request_post(*args, &block) method resolve_ssl_context (line 223) | def resolve_ssl_context method to_url (line 247) | def to_url(path) method normalize_path (line 267) | def normalize_path(path) method with_error_handling (line 275) | def with_error_handling(&block) FILE: lib/puppet/network/http/error.rb type Puppet::Network::HTTP::Error (line 5) | module Puppet::Network::HTTP::Error class HTTPError (line 8) | class HTTPError < Exception # rubocop:disable Lint/InheritException method initialize (line 11) | def initialize(message, status, issue_kind) method to_json (line 17) | def to_json class HTTPNotAcceptableError (line 22) | class HTTPNotAcceptableError < HTTPError method initialize (line 24) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPNotFoundError (line 29) | class HTTPNotFoundError < HTTPError method initialize (line 31) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPNotAuthorizedError (line 36) | class HTTPNotAuthorizedError < HTTPError method initialize (line 38) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPBadRequestError (line 43) | class HTTPBadRequestError < HTTPError method initialize (line 45) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPMethodNotAllowedError (line 50) | class HTTPMethodNotAllowedError < HTTPError method initialize (line 52) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPUnsupportedMediaTypeError (line 57) | class HTTPUnsupportedMediaTypeError < HTTPError method initialize (line 59) | def initialize(message, issue_kind = Issues::RUNTIME_ERROR) class HTTPServerError (line 64) | class HTTPServerError < HTTPError method initialize (line 67) | def initialize(original_error, issue_kind = Issues::RUNTIME_ERROR) method to_json (line 71) | def to_json FILE: lib/puppet/network/http/handler.rb type Puppet::Network::HTTP (line 3) | module Puppet::Network::HTTP type Puppet::Network::HTTP::Handler (line 11) | module Puppet::Network::HTTP::Handler function register (line 18) | def register(routes) function headers (line 36) | def headers(request) function format_to_mime (line 44) | def format_to_mime(format) function make_generic_request (line 50) | def make_generic_request(request) function with_request_profiling (line 64) | def with_request_profiling(request) function process (line 78) | def process(external_request, response) function respond_to_errors (line 93) | def respond_to_errors(response) function respond_with_http_error (line 104) | def respond_with_http_error(response, exception) function find_route_or_raise (line 108) | def find_route_or_raise(request) function set_puppet_version_header (line 116) | def set_puppet_version_header(response) function set_response (line 121) | def set_response(response, body, status = 200) function set_content_type (line 126) | def set_content_type(response, format) function resolve_node (line 132) | def resolve_node(result) function http_method (line 145) | def http_method(request) function path (line 149) | def path(request) function request_key (line 153) | def request_key(request) function body (line 157) | def body(request) function params (line 161) | def params(request) function client_cert (line 165) | def client_cert(request) function decode_params (line 169) | def decode_params(params) function allowed_parameter? (line 176) | def allowed_parameter?(name) function parse_parameter_value (line 180) | def parse_parameter_value(param, value) function parse_primitive_parameter_value (line 188) | def parse_primitive_parameter_value(value) function configure_profiler (line 203) | def configure_profiler(request_headers, request_params) function remove_profiler (line 209) | def remove_profiler(profiler) FILE: lib/puppet/network/http/issues.rb type Puppet::Network::HTTP::Issues (line 3) | module Puppet::Network::HTTP::Issues FILE: lib/puppet/network/http/memory_response.rb class Puppet::Network::HTTP::MemoryResponse (line 3) | class Puppet::Network::HTTP::MemoryResponse method initialize (line 6) | def initialize method respond_with (line 10) | def respond_with(code, type, body) FILE: lib/puppet/network/http/request.rb function from_hash (line 10) | def self.from_hash(hash) function route_into (line 26) | def route_into(prefix) function formatter (line 30) | def formatter function response_formatters_for (line 51) | def response_formatters_for(supported_formats, default_accepted_formats ... function valid_network_format? (line 79) | def valid_network_format?(format) FILE: lib/puppet/network/http/response.rb class Puppet::Network::HTTP::Response (line 3) | class Puppet::Network::HTTP::Response method initialize (line 4) | def initialize(handler, response) method respond_with (line 9) | def respond_with(code, type, body) FILE: lib/puppet/network/http/route.rb class Puppet::Network::HTTP::Route (line 3) | class Puppet::Network::HTTP::Route method path (line 12) | def self.path(path_matcher) method initialize (line 16) | def initialize(path_matcher) method get (line 29) | def get(*handlers) method head (line 34) | def head(*handlers) method options (line 39) | def options(*handlers) method post (line 44) | def post(*handlers) method put (line 49) | def put(*handlers) method delete (line 54) | def delete(*handlers) method any (line 59) | def any(*handlers) method chain (line 66) | def chain(*routes) method matches? (line 71) | def matches?(request) method process (line 82) | def process(request, response) method inspect (line 95) | def inspect method match (line 101) | def match(path) FILE: lib/puppet/network/http_pool.rb type Puppet::Network (line 5) | module Puppet::Network; end type Puppet::Network::HttpPool (line 12) | module Puppet::Network::HttpPool function http_client_class (line 15) | def self.http_client_class function http_client_class= (line 19) | def self.http_client_class=(klass) function http_instance (line 34) | def self.http_instance(host, port, use_ssl = true, verify_peer = true) function connection (line 58) | def self.connection(host, port, use_ssl: true, ssl_context: nil) FILE: lib/puppet/network/uri.rb type Puppet::Network::Uri (line 4) | module Puppet::Network::Uri function mask_credentials (line 11) | def mask_credentials(uri) FILE: lib/puppet/node.rb class Puppet::Node (line 6) | class Puppet::Node method initialize_from_hash (line 28) | def initialize_from_hash(data) method from_data_hash (line 39) | def self.from_data_hash(data) method to_data_hash (line 45) | def to_data_hash method serializable_parameters (line 56) | def serializable_parameters method environment (line 62) | def environment method environment= (line 81) | def environment=(env) method has_environment_instance? (line 96) | def has_environment_instance? method initialize (line 100) | def initialize(name, options = {}) method fact_merge (line 136) | def fact_merge(facts = nil) method merge (line 155) | def merge(params) method add_extra_facts (line 169) | def add_extra_facts(extra_facts) method add_server_facts (line 175) | def add_server_facts(facts) method names (line 185) | def names method split_name (line 189) | def split_name(name) method trusted_data= (line 200) | def trusted_data=(data) method sanitize (line 209) | def sanitize FILE: lib/puppet/node/environment.rb class Puppet::Node (line 9) | class Puppet::Node class Puppet::Node::Environment (line 26) | class Puppet::Node::Environment method create (line 43) | def self.create(name, modulepath, manifest = NO_MANIFEST, config_versi... class Remote (line 49) | class Remote < Puppet::Node::Environment; end method remote (line 62) | def self.remote(name) method initialize (line 74) | def initialize(name, modulepath, manifest, config_version) method override_with (line 89) | def override_with(env_params) method override_from_commandline (line 104) | def override_from_commandline(settings) method valid_name? (line 127) | def self.valid_name?(name) method modulepath (line 139) | def modulepath method full_modulepath (line 147) | def full_modulepath method externalize_path (line 194) | def externalize_path(filepath) method conflicting_manifest_settings? (line 222) | def conflicting_manifest_settings? method static_catalogs? (line 230) | def static_catalogs? method configuration (line 242) | def configuration method validation_errors (line 249) | def validation_errors method rich_data_from_env_conf (line 257) | def rich_data_from_env_conf method rich_data? (line 271) | def rich_data? method [] (line 281) | def [](param) method known_resource_types (line 287) | def known_resource_types method each_plugin_directory (line 302) | def each_plugin_directory(&block) method module (line 315) | def module(name) method module_by_forge_name (line 325) | def module_by_forge_name(forge_name) method modules (line 344) | def modules method modules_by_name (line 379) | def modules_by_name method warn_about_mistaken_path (line 390) | def warn_about_mistaken_path(path, name) method modules_by_path (line 405) | def modules_by_path method module_requirements (line 451) | def module_requirements method with_text_domain (line 479) | def with_text_domain method check_for_reparse (line 498) | def check_for_reparse method to_yaml (line 509) | def to_yaml method to_s (line 515) | def to_s method inspect (line 520) | def inspect method to_sym (line 531) | def to_sym method split_path (line 535) | def self.split_path(path_string) method == (line 539) | def ==(other) method hash (line 548) | def hash method extralibs (line 553) | def self.extralibs method expand_dirs (line 562) | def self.expand_dirs(dirs) method perform_initial_import (line 583) | def perform_initial_import method empty_parse_result (line 625) | def empty_parse_result class None (line 631) | class None < Puppet::Node::Environment; end FILE: lib/puppet/node/facts.rb class Puppet::Node::Facts (line 11) | class Puppet::Node::Facts type NodeExpirer (line 19) | module NodeExpirer function save (line 20) | def save(instance, key = nil, options = {}) method add_local_facts (line 30) | def add_local_facts method initialize (line 36) | def initialize(name, values = {}) method initialize_from_hash (line 43) | def initialize_from_hash(data) method add_extra_values (line 67) | def add_extra_values(extra_values) method sanitize (line 74) | def sanitize method == (line 80) | def ==(other) method from_data_hash (line 86) | def self.from_data_hash(data) method to_data_hash (line 92) | def to_data_hash method add_timestamp (line 117) | def add_timestamp method to_yaml (line 121) | def to_yaml method quote_special_strings (line 128) | def quote_special_strings(fact_hash) method sanitize_fact (line 140) | def sanitize_fact(fact) FILE: lib/puppet/node/server_facts.rb class Puppet::Node::ServerFacts (line 3) | class Puppet::Node::ServerFacts method load (line 4) | def self.load FILE: lib/puppet/pal/catalog_compiler.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class CatalogCompiler (line 12) | class CatalogCompiler < Compiler method catalog (line 14) | def catalog method has_catalog? (line 23) | def has_catalog? method with_json_encoding (line 37) | def with_json_encoding(pretty: true, exclude_virtual: true) method catalog_data_hash (line 44) | def catalog_data_hash method evaluate (line 55) | def evaluate(ast) method compile_additions (line 82) | def compile_additions method validate (line 89) | def validate method evaluate_additions (line 96) | def evaluate_additions method evaluate_ast_node (line 102) | def evaluate_ast_node FILE: lib/puppet/pal/compiler.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class Compiler (line 8) | class Compiler method initialize (line 15) | def initialize(internal_compiler) method call_function (line 26) | def call_function(function_name, *args, &block) method function_signature (line 43) | def function_signature(function_name) method list_functions (line 69) | def list_functions(filter_regex = nil, error_collector = nil) method evaluate_string (line 86) | def evaluate_string(puppet_code, source_file = nil) method evaluate_file (line 101) | def evaluate_file(file) method evaluate (line 112) | def evaluate(ast) method evaluate_literal (line 127) | def evaluate_literal(ast) method parse_string (line 142) | def parse_string(code_string, source_file = nil) method parse_file (line 156) | def parse_file(file) method type (line 183) | def type(type_string) method create (line 193) | def create(data_type, *arguments) method has_catalog? (line 205) | def has_catalog? method list_loadable_kind (line 211) | def list_loadable_kind(kind, filter_regex = nil, error_collector =... method topscope (line 222) | def topscope FILE: lib/puppet/pal/function_signature.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class FunctionSignature (line 13) | class FunctionSignature method initialize (line 15) | def initialize(function_class) method callable_with? (line 30) | def callable_with?(args, callable = nil) method callables (line 48) | def callables FILE: lib/puppet/pal/json_catalog_encoder.rb type Puppet (line 9) | module Puppet type Pal (line 10) | module Pal class JsonCatalogEncoder (line 11) | class JsonCatalogEncoder method initialize (line 31) | def initialize(catalog, pretty: true, exclude_virtual: true) method encode (line 41) | def encode method encode_resource (line 51) | def encode_resource(type, title) method possibly_filtered_catalog (line 69) | def possibly_filtered_catalog FILE: lib/puppet/pal/pal_api.rb type Puppet (line 3) | module Puppet type Pal (line 7) | module Pal FILE: lib/puppet/pal/pal_impl.rb type Puppet (line 10) | module Puppet type Pal (line 31) | module Pal function with_script_compiler (line 59) | def self.with_script_compiler( function evaluate_script_string (line 115) | def self.evaluate_script_string(code_string) function evaluate_script_manifest (line 128) | def self.evaluate_script_manifest(manifest_file) function with_catalog_compiler (line 164) | def self.with_catalog_compiler( function in_tmp_environment (line 230) | def self.in_tmp_environment(env_name, function in_environment (line 277) | def self.in_environment(env_name, function in_environment_context (line 341) | def self.in_environment_context(environments, env, facts, variables,... function prepare_node_facts (line 362) | def self.prepare_node_facts(node, facts) function add_variables (line 375) | def self.add_variables(scope, variables) function main (line 400) | def self.main( function merge_vars (line 508) | def self.merge_vars(target_vars, vars, facts) function shadow_vars (line 519) | def self.shadow_vars(vars, other_vars, vars_type, other_vars_type) function create_internal_compiler (line 538) | def self.create_internal_compiler(compiler_class_reference, node) function assert_type (line 558) | def self.assert_type(type, value, what, allow_nil = false) function assert_non_empty_string (line 562) | def self.assert_non_empty_string(s, what, allow_nil = false) function assert_optionally_empty_array (line 566) | def self.assert_optionally_empty_array(a, what, allow_nil = false) function assert_mutually_exclusive (line 571) | def self.assert_mutually_exclusive(a, b, a_term, b_term) function assert_block_given (line 578) | def self.assert_block_given(block) FILE: lib/puppet/pal/plan_signature.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class PlanSignature (line 10) | class PlanSignature method initialize (line 11) | def initialize(plan_function) method callable_with? (line 27) | def callable_with?(args_hash) method params_type (line 67) | def params_type FILE: lib/puppet/pal/script_compiler.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class ScriptCompiler (line 5) | class ScriptCompiler < Compiler method plan_signature (line 10) | def plan_signature(plan_name) method list_plans (line 36) | def list_plans(filter_regex = nil, error_collector = nil) method task_signature (line 44) | def task_signature(task_name) method list_tasks (line 70) | def list_tasks(filter_regex = nil, error_collector = nil) FILE: lib/puppet/pal/task_signature.rb type Puppet (line 3) | module Puppet type Pal (line 4) | module Pal class TaskSignature (line 8) | class TaskSignature method initialize (line 9) | def initialize(task) method runnable_with? (line 22) | def runnable_with?(args_hash) method task_hash (line 51) | def task_hash method task (line 59) | def task FILE: lib/puppet/parameter.rb class Puppet::Parameter (line 22) | class Puppet::Parameter method defaultto (line 84) | def defaultto(value = nil, &block) method sensitive (line 97) | def sensitive(value = nil, &block) method doc (line 112) | def doc method nodefault (line 143) | def nodefault method desc (line 154) | def desc(str) method initvars (line 163) | def initvars method munge (line 175) | def munge(&block) method unmunge (line 191) | def unmunge(&block) method isnamevar (line 202) | def isnamevar method isnamevar? (line 210) | def isnamevar? method isrequired (line 220) | def isrequired method required_features= (line 230) | def required_features=(*args) method required? (line 239) | def required? method validate (line 254) | def validate(&block) method newvalues (line 267) | def newvalues(*names) method aliasvalue (line 278) | def aliasvalue(name, other) method proxymethods (line 286) | def self.proxymethods(*values) method path (line 317) | def path method line (line 322) | def line method file (line 327) | def file method version (line 332) | def version method initialize (line 346) | def initialize(resource: nil, value: nil, should: nil) method log (line 362) | def log(msg) method metaparam? (line 367) | def metaparam? method name (line 379) | def name method noop (line 386) | def noop method pathbuilder (line 396) | def pathbuilder method unsafe_munge (line 409) | def unsafe_munge(value) method unmunge (line 418) | def unmunge(value) method unsafe_unmunge (line 429) | def unsafe_unmunge(value) method munge (line 440) | def munge(value) method unsafe_validate (line 463) | def unsafe_validate(value) method validate (line 475) | def validate(value) method remove (line 493) | def remove method value (line 498) | def value method value= (line 513) | def value=(value) method provider (line 525) | def provider method tags (line 537) | def tags method to_s (line 548) | def to_s method format (line 564) | def format(fmt, *args) method format_value_for_display (line 575) | def self.format_value_for_display(value) FILE: lib/puppet/parameter/boolean.rb class Puppet::Parameter::Boolean (line 8) | class Puppet::Parameter::Boolean < Puppet::Parameter method unsafe_munge (line 9) | def unsafe_munge(value) method initvars (line 13) | def self.initvars FILE: lib/puppet/parameter/package_options.rb class Puppet::Parameter::PackageOptions (line 9) | class Puppet::Parameter::PackageOptions < Puppet::Parameter method unsafe_munge (line 10) | def unsafe_munge(values) method quote (line 30) | def quote(value) FILE: lib/puppet/parameter/path.rb class Puppet::Parameter::Path (line 9) | class Puppet::Parameter::Path < Puppet::Parameter method accept_arrays (line 13) | def self.accept_arrays(bool = true) method arrays? (line 17) | def self.arrays? method validate_path (line 28) | def validate_path(paths) method unsafe_validate (line 42) | def unsafe_validate(paths) method unsafe_munge (line 54) | def unsafe_munge(paths) FILE: lib/puppet/parameter/value.rb class Puppet::Parameter::Value (line 10) | class Puppet::Parameter::Value method alias (line 19) | def alias(name) method aliases (line 26) | def aliases method event= (line 33) | def event=(value) method initialize (line 42) | def initialize(name) method match? (line 58) | def match?(value) method regex? (line 69) | def regex? method convert (line 79) | def convert(value) FILE: lib/puppet/parameter/value_collection.rb class Puppet::Parameter::ValueCollection (line 15) | class Puppet::Parameter::ValueCollection method aliasvalue (line 20) | def aliasvalue(name, other) method doc (line 32) | def doc method empty? (line 58) | def empty? method initialize (line 64) | def initialize method match? (line 83) | def match?(test_value) method munge (line 100) | def munge(value) method newvalue (line 133) | def newvalue(name, options = {}, &block) method newvalues (line 168) | def newvalues(*names) method regexes (line 175) | def regexes method validate (line 184) | def validate(value) method value (line 202) | def value(name) method values (line 210) | def values FILE: lib/puppet/parser.rb type Puppet::Parser (line 4) | module Puppet::Parser; end class Puppet::LexError (line 22) | class Puppet::LexError < RuntimeError; end FILE: lib/puppet/parser/abstract_compiler.rb type Puppet::Parser::AbstractCompiler (line 3) | module Puppet::Parser::AbstractCompiler function catalog (line 7) | def catalog function environment (line 13) | def environment function newscope (line 21) | def newscope(scope, options) function qualified_variables (line 27) | def qualified_variables function topscope (line 32) | def topscope FILE: lib/puppet/parser/ast.rb class Puppet::Parser::AST (line 8) | class Puppet::Parser::AST method inspect (line 15) | def inspect method evaluate (line 21) | def evaluate(scope) method safeevaluate (line 28) | def safeevaluate(scope) method initialize (line 47) | def initialize(file: nil, line: nil, pos: nil) FILE: lib/puppet/parser/ast/block_expression.rb class Puppet::Parser::AST::BlockExpression (line 5) | class Puppet::Parser::AST::BlockExpression < Puppet::Parser::AST::Branch method evaluate (line 6) | def evaluate(scope) method sequence_with (line 10) | def sequence_with(other) method to_s (line 14) | def to_s FILE: lib/puppet/parser/ast/branch.rb class Puppet::Parser::AST::Branch (line 9) | class Puppet::Parser::AST::Branch < Puppet::Parser::AST method each (line 13) | def each method initialize (line 17) | def initialize(children: [], **args) FILE: lib/puppet/parser/ast/hostclass.rb class Puppet::Parser::AST::Hostclass (line 5) | class Puppet::Parser::AST::Hostclass < Puppet::Parser::AST::TopLevelCons... method initialize (line 8) | def initialize(name, context = {}) method instantiate (line 13) | def instantiate(modname) method code (line 26) | def code FILE: lib/puppet/parser/ast/leaf.rb class Puppet::Parser::AST::Leaf (line 7) | class Puppet::Parser::AST::Leaf < Puppet::Parser::AST method evaluate (line 11) | def evaluate(scope) method match (line 15) | def match(value) method to_s (line 19) | def to_s method initialize (line 23) | def initialize(value: nil, file: nil, line: nil, pos: nil) class Puppet::Parser::AST::HostName (line 31) | class Puppet::Parser::AST::HostName < Puppet::Parser::AST::Leaf method initialize (line 32) | def initialize(value: nil, file: nil, line: nil, pos: nil) method eql? (line 46) | def eql?(value) method hash (line 50) | def hash class Puppet::Parser::AST::Regex (line 55) | class Puppet::Parser::AST::Regex < Puppet::Parser::AST::Leaf method initialize (line 56) | def initialize(value: nil, file: nil, line: nil, pos: nil) method evaluate (line 73) | def evaluate(scope) method match (line 77) | def match(value) method to_s (line 81) | def to_s FILE: lib/puppet/parser/ast/node.rb class Puppet::Parser::AST::Node (line 3) | class Puppet::Parser::AST::Node < Puppet::Parser::AST::TopLevelConstruct method initialize (line 6) | def initialize(names, context = {}) method instantiate (line 16) | def instantiate(modname) FILE: lib/puppet/parser/ast/pops_bridge.rb class Puppet::Parser::AST::PopsBridge (line 10) | class Puppet::Parser::AST::PopsBridge class Expression (line 16) | class Expression < Puppet::Parser::AST::Leaf method to_s (line 17) | def to_s method source_text (line 21) | def source_text method evaluate (line 26) | def evaluate(scope) method each (line 35) | def each method sequence_with (line 39) | def sequence_with(other) method children (line 55) | def children class ExpressionSupportingReturn (line 60) | class ExpressionSupportingReturn < Expression method evaluate (line 61) | def evaluate(scope) class Program (line 76) | class Program < Puppet::Parser::AST::TopLevelConstruct method initialize (line 79) | def initialize(program_model, context = {}) method instantiate (line 89) | def instantiate(modname) method evaluate (line 109) | def evaluate(scope) method each (line 116) | def each method is_definitions_only? (line 121) | def is_definitions_only? method is_definition? (line 127) | def is_definition?(o) method instantiate_Parameter (line 140) | def instantiate_Parameter(o) method create_type_map (line 149) | def create_type_map(definition) method obtain_scope (line 175) | def obtain_scope method args_from_definition (line 187) | def args_from_definition(o, modname, expr_class = Expression) method instantiate_HostClassDefinition (line 199) | def instantiate_HostClassDefinition(o, modname) method instantiate_ResourceTypeDefinition (line 205) | def instantiate_ResourceTypeDefinition(o, modname) method instantiate_NodeDefinition (line 211) | def instantiate_NodeDefinition(o, modname) method code (line 229) | def code method is_nop? (line 233) | def is_nop?(o) method absolute_reference (line 237) | def absolute_reference(ref) FILE: lib/puppet/parser/ast/resource.rb class Puppet::Parser::AST::Resource (line 6) | class Puppet::Parser::AST::Resource < Puppet::Parser::AST::Branch method initialize (line 9) | def initialize(argshash) method evaluate (line 17) | def evaluate(scope) FILE: lib/puppet/parser/ast/resource_instance.rb class Puppet::Parser::AST::ResourceInstance (line 6) | class Puppet::Parser::AST::ResourceInstance < Puppet::Parser::AST::Branch method initialize (line 9) | def initialize(argshash) FILE: lib/puppet/parser/ast/resourceparam.rb class Puppet::Parser::AST::ResourceParam (line 5) | class Puppet::Parser::AST::ResourceParam < Puppet::Parser::AST::Branch method initialize (line 8) | def initialize(argshash) method each (line 13) | def each method evaluate (line 18) | def evaluate(scope) method to_s (line 30) | def to_s FILE: lib/puppet/parser/ast/top_level_construct.rb class Puppet::Parser::AST::TopLevelConstruct (line 5) | class Puppet::Parser::AST::TopLevelConstruct < Puppet::Parser::AST FILE: lib/puppet/parser/catalog_compiler.rb class Puppet::Parser::CatalogCompiler (line 12) | class Puppet::Parser::CatalogCompiler < Puppet::Parser::Compiler method compile (line 15) | def compile method compile_additions (line 39) | def compile_additions method evaluate_additions (line 46) | def evaluate_additions method validate (line 53) | def validate FILE: lib/puppet/parser/compiler.rb class Puppet::Parser::Compiler (line 14) | class Puppet::Parser::Compiler method compile (line 23) | def self.compile(node, code_id = nil) method add_override (line 64) | def add_override(override) method add_resource (line 76) | def add_resource(scope, resource) method add_class (line 100) | def add_class(name) method add_catalog_validator (line 106) | def add_catalog_validator(catalog_validators) method add_catalog_validators (line 111) | def add_catalog_validators method with_context_overrides (line 118) | def with_context_overrides(description = '', &block) method compile (line 124) | def compile method validate_catalog (line 162) | def validate_catalog(validation_stage) method context_overrides (line 167) | def context_overrides method environment (line 178) | def environment method evaluate_node_classes (line 187) | def evaluate_node_classes method evaluate_ast_node (line 208) | def evaluate_ast_node method evaluate_classes (line 237) | def evaluate_classes(classes, scope, lazy_evaluate = true) method evaluate_relationships (line 269) | def evaluate_relationships method initialize (line 276) | def initialize(node, code_id: nil) method newscope (line 287) | def newscope(parent, options = {}) method resource_overrides (line 295) | def resource_overrides(resource) method ensure_classes_with_parameters (line 301) | def ensure_classes_with_parameters(scope, hostclasses, parameters) method ensure_classes_without_parameters (line 307) | def ensure_classes_without_parameters(scope, hostclasses) method evaluate_collections (line 324) | def evaluate_collections method evaluate_definitions (line 344) | def evaluate_definitions method evaluate_generators (line 367) | def evaluate_generators method evaluate_main (line 390) | def evaluate_main method fail_on_unevaluated (line 403) | def fail_on_unevaluated method fail_on_unevaluated_overrides (line 411) | def fail_on_unevaluated_overrides method fail_on_unevaluated_resource_collections (line 423) | def fail_on_unevaluated_resource_collections method finish (line 432) | def finish method add_resource_metaparams (line 455) | def add_resource_metaparams method metaparams_as_data (line 482) | def metaparams_as_data(resource, params) method initvars (line 498) | def initvars method sanitize_node (line 553) | def sanitize_node(node) method set_node_parameters (line 559) | def set_node_parameters method create_settings_scope (line 585) | def create_settings_scope method create_settings_type (line 597) | def create_settings_type method unevaluated_resources (line 612) | def unevaluated_resources FILE: lib/puppet/parser/compiler/catalog_validator.rb class Puppet::Parser::Compiler (line 5) | class Puppet::Parser::Compiler class CatalogValidator (line 6) | class CatalogValidator method validation_stage? (line 16) | def self.validation_stage?(stage) method initialize (line 23) | def initialize(catalog) method validate (line 28) | def validate class CatalogValidationError (line 32) | class CatalogValidationError < Puppet::Error FILE: lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb class Puppet::Parser::Compiler (line 3) | class Puppet::Parser::Compiler class CatalogValidator::RelationshipValidator (line 5) | class CatalogValidator::RelationshipValidator < CatalogValidator method validate (line 6) | def validate method validate_relationship (line 21) | def validate_relationship(param) FILE: lib/puppet/parser/e4_parser_adapter.rb type Puppet (line 5) | module Puppet type Parser (line 6) | module Parser class E4ParserAdapter (line 10) | class E4ParserAdapter method initialize (line 11) | def initialize method file= (line 17) | def file=(file) method parse (line 22) | def parse(string = nil) method string= (line 55) | def string=(string) FILE: lib/puppet/parser/files.rb type Puppet::Parser::Files (line 3) | module Puppet::Parser::Files function find_manifests_in_modules (line 15) | def find_manifests_in_modules(pattern, environment) function find_file (line 42) | def find_file(file, environment) function find_template (line 63) | def find_template(template, environment) function find_in_module (line 70) | def find_in_module(reference, environment) function split_file_path (line 88) | def split_file_path(path) FILE: lib/puppet/parser/functions.rb type Puppet::Parser::Functions (line 13) | module Puppet::Parser::Functions function reset (line 23) | def self.reset class AutoloaderDelegate (line 36) | class AutoloaderDelegate method initialize (line 39) | def initialize method loadall (line 43) | def loadall(env = Puppet.lookup(:current_environment)) method load (line 51) | def load(name, env = Puppet.lookup(:current_environment)) method loaded? (line 59) | def loaded?(name) function autoloader (line 71) | def self.autoloader class AnonymousModuleAdapter (line 80) | class AnonymousModuleAdapter < Puppet::Pops::Adaptable::Adapter method create_adapter (line 83) | def self.create_adapter(env) function environment_module (line 110) | def self.environment_module(env) function newfunction (line 188) | def self.newfunction(name, options = {}, &block) function function (line 244) | def self.function(name, environment = Puppet.lookup(:current_environme... function functiondocs (line 260) | def self.functiondocs(environment = Puppet.lookup(:current_environment)) function rvalue? (line 286) | def self.rvalue?(name, environment = Puppet.lookup(:current_environment)) function arity (line 299) | def self.arity(name, environment = Puppet.lookup(:current_environment)) function merged_functions (line 307) | def merged_functions(environment) function get_function (line 314) | def get_function(name, environment) class Error (line 319) | class Error method is4x (line 320) | def self.is4x(name) FILE: lib/puppet/parser/functions/hiera.rb type Puppet::Parser::Functions (line 5) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/hiera_array.rb type Puppet::Parser::Functions (line 5) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/hiera_hash.rb type Puppet::Parser::Functions (line 5) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/hiera_include.rb type Puppet::Parser::Functions (line 5) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/lookup.rb type Puppet::Parser::Functions (line 3) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/regsubst.rb type Puppet::Parser::Functions (line 29) | module Puppet::Parser::Functions FILE: lib/puppet/parser/functions/split.rb type Puppet::Parser::Functions (line 3) | module Puppet::Parser::Functions FILE: lib/puppet/parser/parser_factory.rb type Puppet (line 3) | module Puppet; end type Puppet::Parser (line 5) | module Puppet::Parser class ParserFactory (line 11) | class ParserFactory method parser (line 13) | def self.parser method evaluating_parser (line 20) | def self.evaluating_parser method code_merger (line 28) | def self.code_merger FILE: lib/puppet/parser/relationship.rb class Puppet::Parser::Relationship (line 3) | class Puppet::Parser::Relationship method arrayify (line 8) | def arrayify(resources, left) method evaluate (line 20) | def evaluate(catalog) method initialize (line 28) | def initialize(source, target, type) method param_name (line 34) | def param_name method mk_relationship (line 38) | def mk_relationship(source, target, catalog) method leftmost_alternative (line 63) | def leftmost_alternative(x) method canonical_ref (line 80) | def canonical_ref(ref) FILE: lib/puppet/parser/resource.rb class Puppet::Parser::Resource (line 8) | class Puppet::Parser::Resource < Puppet::Resource method relationship_parameter? (line 23) | def self.relationship_parameter?(name) method translated? (line 29) | def translated?; !!@translated; end method override? (line 30) | def override?; !!@override; end method evaluated? (line 31) | def evaluated?; !!@evaluated; end method [] (line 33) | def [](param) method eachparam (line 46) | def eachparam method environment (line 52) | def environment method add_edge_to_stage (line 59) | def add_edge_to_stage method evaluate (line 72) | def evaluate method exported= (line 90) | def exported=(value) method finish_evaluation (line 101) | def finish_evaluation method finish (line 115) | def finish(do_validate = true) method finished? (line 125) | def finished? method initialize (line 129) | def initialize(type, title, attributes, with_defaults = true) method isomorphic? (line 151) | def isomorphic? method merge (line 161) | def merge(resource) method name (line 192) | def name method set_parameter (line 202) | def set_parameter(param, value = nil) method to_hash (line 217) | def to_hash method to_ral (line 236) | def to_ral method raw_tagged? (line 254) | def raw_tagged?(tag_array) method offset (line 258) | def offset method pos (line 262) | def pos method add_scope_tags (line 268) | def add_scope_tags method replace_sensitive_data (line 275) | def replace_sensitive_data method override_parameter (line 286) | def override_parameter(param) method validate (line 333) | def validate method extract_parameters (line 345) | def extract_parameters(params) FILE: lib/puppet/parser/resource/param.rb class Puppet::Parser::Resource::Param (line 4) | class Puppet::Parser::Resource::Param method initialize (line 10) | def initialize(name: nil, value: nil, source: nil, line: nil, file: ni... method line_to_i (line 24) | def line_to_i method to_s (line 28) | def to_s method from_param (line 32) | def self.from_param(param, value) FILE: lib/puppet/parser/scope.rb class Puppet::Parser::Scope (line 16) | class Puppet::Parser::Scope method environment (line 34) | def environment method catalog (line 39) | def catalog class Ephemeral (line 45) | class Ephemeral method initialize (line 48) | def initialize(parent = nil) method is_local_scope? (line 52) | def is_local_scope? method [] (line 56) | def [](name) method include? (line 62) | def include?(name) method bound? (line 66) | def bound?(name) method add_entries_to (line 70) | def add_entries_to(target = {}, include_undef = false) class LocalScope (line 77) | class LocalScope < Ephemeral method initialize (line 78) | def initialize(parent = nil) method [] (line 83) | def [](name) method is_local_scope? (line 88) | def is_local_scope? method []= (line 92) | def []=(name, value) method include? (line 96) | def include?(name) method delete (line 100) | def delete(name) method bound? (line 104) | def bound?(name) method add_entries_to (line 108) | def add_entries_to(target = {}, include_undef = false) class MatchScope (line 121) | class MatchScope < Ephemeral method initialize (line 124) | def initialize(parent = nil, match_data = nil) method is_local_scope? (line 129) | def is_local_scope? method [] (line 133) | def [](name) method include? (line 141) | def include?(name) method bound? (line 145) | def bound?(name) method []= (line 152) | def []=(name, value) method delete (line 157) | def delete(name) method add_entries_to (line 162) | def add_entries_to(target = {}, include_undef = false) class ParameterScope (line 169) | class ParameterScope < Ephemeral class Access (line 170) | class Access method assigned? (line 173) | def assigned? method evaluate3x (line 189) | def evaluate3x(name, expression, scope) method evaluate (line 199) | def evaluate(name, expression, scope, evaluator) method parameter_reference_failure (line 209) | def parameter_reference_failure(from, to) method initialize (line 218) | def initialize(parent, callee_name, param_names) method [] (line 225) | def [](name) method []= (line 233) | def []=(name, value) method bound? (line 240) | def bound?(name) method include? (line 244) | def include?(name) method is_local_scope? (line 248) | def is_local_scope? method as_read_only (line 252) | def as_read_only method to_hash (line 262) | def to_hash method include? (line 272) | def include?(name) method exist? (line 283) | def exist?(name) method bound? (line 308) | def bound?(name) method true? (line 315) | def self.true?(value) method number? (line 327) | def self.number?(value) method find_hostclass (line 344) | def find_hostclass(name) method find_definition (line 348) | def find_definition(name) method find_global_scope (line 352) | def find_global_scope method findresource (line 368) | def findresource(type, title = nil) method initialize (line 373) | def initialize(compiler, source: nil, resource: nil) method class_set (line 405) | def class_set(name, scope) method class_scope (line 417) | def class_scope(klass) method lookupdefaults (line 434) | def lookupdefaults(type) method is_default? (line 457) | def is_default?(type, key, value) method lookuptype (line 467) | def lookuptype(name) method undef_as (line 473) | def undef_as(x, v) method lookupvar (line 491) | def lookupvar(name, options = EMPTY_HASH) method variable_not_found (line 522) | def variable_not_found(name, reason = nil) method [] (line 559) | def [](varname, options = EMPTY_HASH) method inherited_scope (line 566) | def inherited_scope method enclosing_scope (line 581) | def enclosing_scope method is_classscope? (line 591) | def is_classscope? method is_nodescope? (line 595) | def is_nodescope? method is_topscope? (line 599) | def is_topscope? method lookup_qualified_variable (line 604) | def lookup_qualified_variable(fqn, options) method has_local_variable? (line 632) | def has_local_variable?(name) method get_local_variable (line 637) | def get_local_variable(name) method handle_not_found (line 641) | def handle_not_found(class_name, variable_name, position, reason = nil) method has_enclosing_scope? (line 655) | def has_enclosing_scope? method qualified_scope (line 660) | def qualified_scope(classname) method to_hash (line 676) | def to_hash(recursive = true, include_undef = false) method newscope (line 692) | def newscope(options = {}) method parent_module_name (line 696) | def parent_module_name method define_settings (line 705) | def define_settings(type, params) method merge_settings (line 723) | def merge_settings(env_name, set_in_this_scope = true) method transform_setting (line 745) | def transform_setting(val) method setvar (line 774) | def setvar(name, value, options = EMPTY_HASH) method set_trusted (line 819) | def set_trusted(hash) method set_facts (line 823) | def set_facts(hash) method set_server_facts (line 827) | def set_server_facts(hash) method deep_freeze (line 835) | def deep_freeze(object) method effective_symtable (line 860) | def effective_symtable(use_ephemeral) method []= (line 881) | def []=(varname, value, _ = nil) method to_s (line 886) | def to_s method pop_ephemerals (line 916) | def pop_ephemerals(level) method push_ephemerals (line 923) | def push_ephemerals(ephemeral_scopes) method ephemeral_level (line 927) | def ephemeral_level method new_ephemeral (line 932) | def new_ephemeral(local_scope = false) method with_global_scope (line 946) | def with_global_scope(&block) method with_local_scope (line 952) | def with_local_scope(scope_variables) method without_ephemeral_scopes (line 966) | def without_ephemeral_scopes method with_parameter_scope (line 981) | def with_parameter_scope(callee_name, param_names) method with_guarded_scope (line 994) | def with_guarded_scope method set_match_data (line 1005) | def set_match_data(match_data) method new_match_scope (line 1010) | def new_match_scope(match_data) method ephemeral_from (line 1014) | def ephemeral_from(match, file = nil, line = nil) method find_resource_type (line 1033) | def find_resource_type(type) method find_builtin_resource_type (line 1038) | def find_builtin_resource_type(type) method find_defined_resource_type (line 1043) | def find_defined_resource_type(type) method method_missing (line 1047) | def method_missing(method, *args, &block) method resolve_type_and_titles (line 1063) | def resolve_type_and_titles(type, titles) method transform_and_assert_classnames (line 1080) | def transform_and_assert_classnames(names) method call_function (line 1115) | def call_function(func_name, args, &block) method assert_class_and_title (line 1121) | def assert_class_and_title(type_name, title) method extend_with_functions_module (line 1136) | def extend_with_functions_module FILE: lib/puppet/parser/script_compiler.rb class Puppet::Parser::ScriptCompiler (line 11) | class Puppet::Parser::ScriptCompiler method with_context_overrides (line 33) | def with_context_overrides(description = '', &block) method compile (line 39) | def compile method context_overrides (line 64) | def context_overrides method initialize (line 76) | def initialize(environment, node_name, for_agent = false) method newscope (line 111) | def newscope(parent, options = {}) method evaluate_main (line 118) | def evaluate_main FILE: lib/puppet/parser/templatewrapper.rb class Puppet::Parser::TemplateWrapper (line 11) | class Puppet::Parser::TemplateWrapper method initialize (line 15) | def initialize(scope) method file (line 21) | def file method scope (line 27) | def scope method script_line (line 34) | def script_line method has_variable? (line 42) | def has_variable?(name) method classes (line 48) | def classes method tags (line 54) | def tags method all_tags (line 60) | def all_tags method file= (line 65) | def file=(filename) method result (line 73) | def result(string = nil) method to_s (line 102) | def to_s FILE: lib/puppet/parser/type_loader.rb class Puppet::Parser::TypeLoader (line 7) | class Puppet::Parser::TypeLoader class TypeLoaderError (line 10) | class TypeLoaderError < StandardError; end method import (line 19) | def import(pattern, dir) method import_all (line 38) | def import_all method initialize (line 49) | def initialize(env) method environment (line 53) | def environment method environment= (line 57) | def environment=(env) method try_load_fqname (line 66) | def try_load_fqname(type, fqname) method parse_file (line 84) | def parse_file(file) method import_from_modules (line 93) | def import_from_modules(pattern) method raise_no_files_found (line 102) | def raise_no_files_found(pattern) method load_files (line 106) | def load_files(modname, files) method files_to_try_for (line 138) | def files_to_try_for(qualified_name) method add_path_for_name (line 144) | def add_path_for_name(paths, name) FILE: lib/puppet/plugins.rb type Puppet::Plugins (line 10) | module Puppet::Plugins FILE: lib/puppet/plugins/configuration.rb type Puppet::Plugins (line 10) | module Puppet::Plugins type Configuration (line 11) | module Configuration function load_plugins (line 18) | def self.load_plugins FILE: lib/puppet/plugins/syntax_checkers.rb type Puppet::Plugins (line 3) | module Puppet::Plugins type SyntaxCheckers (line 4) | module SyntaxCheckers class SyntaxChecker (line 81) | class SyntaxChecker method check (line 94) | def check(text, syntax_identifier, acceptor, location_info) FILE: lib/puppet/pops.rb type Puppet (line 3) | module Puppet type Pops (line 14) | module Pops type Model (line 53) | module Model type Resource (line 62) | module Resource type Evaluator (line 66) | module Evaluator type Collectors (line 77) | module Collectors type Parser (line 85) | module Parser type Validation (line 96) | module Validation type Functions (line 104) | module Functions type Migration (line 110) | module Migration type Serialization (line 114) | module Serialization FILE: lib/puppet/pops/adaptable.rb type Puppet::Pops (line 20) | module Puppet::Pops type Adaptable (line 21) | module Adaptable class Adapter (line 63) | class Adapter method get (line 72) | def self.get(o) method adapt (line 93) | def self.adapt(o, &block) method adapt_new (line 124) | def self.adapt_new(o, &block) method clear (line 141) | def self.clear(o) method create_adapter (line 157) | def self.create_adapter(o) method associate_adapter (line 166) | def self.associate_adapter(adapter, o) method instance_var_name (line 178) | def self.instance_var_name(name) method type_name (line 184) | def self.type_name method self_attr_name (line 193) | def self.self_attr_name FILE: lib/puppet/pops/adapters.rb type Puppet::Pops (line 5) | module Puppet::Pops type Adapters (line 6) | module Adapters class ObjectIdCacheAdapter (line 7) | class ObjectIdCacheAdapter < Puppet::Pops::Adaptable::Adapter method initialize (line 10) | def initialize method retrieve (line 15) | def retrieve(o) class DocumentationAdapter (line 24) | class DocumentationAdapter < Adaptable::Adapter class EmptyAlternativeAdapter (line 34) | class EmptyAlternativeAdapter < Adaptable::Adapter class SourcePosAdapter (line 42) | class SourcePosAdapter method adapt (line 43) | def self.adapt(object) method initialize (line 47) | def initialize(object) method file (line 51) | def file method line (line 55) | def line method pos (line 59) | def pos method extract_text (line 63) | def extract_text class LoaderAdapter (line 77) | class LoaderAdapter < Adaptable::Adapter method loader_for_model_object (line 87) | def self.loader_for_model_object(model, file = nil, default_loader... class PathsAndNameCacheAdapter (line 101) | class PathsAndNameCacheAdapter < Puppet::Pops::Adaptable::Adapter method create_adapter (line 104) | def self.create_adapter(env) method loader_name_by_source (line 125) | def self.loader_name_by_source(environment, instance, file) method find_module_for_dir (line 139) | def self.find_module_for_dir(environment, paths, dir) FILE: lib/puppet/pops/evaluator/access_operator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class AccessOperator (line 8) | class AccessOperator method initialize (line 20) | def initialize(access_expression) method access (line 25) | def access(o, scope, *keys) method access_Object (line 31) | def access_Object(o, scope, keys) method access_Binary (line 40) | def access_Binary(o, scope, keys) method access_String (line 44) | def access_String(o, scope, keys) method access_PRegexpType (line 83) | def access_PRegexpType(o, scope, keys) method access_Array (line 95) | def access_Array(o, scope, keys) method access_Hash (line 135) | def access_Hash(o, scope, keys) method access_PBooleanType (line 153) | def access_PBooleanType(o, scope, keys) method access_PEnumType (line 159) | def access_PEnumType(o, scope, keys) method access_PVariantType (line 171) | def access_PVariantType(o, scope, keys) method access_PSemVerType (line 177) | def access_PSemVerType(o, scope, keys) method access_PTimestampType (line 183) | def access_PTimestampType(o, scope, keys) method access_PTimespanType (line 190) | def access_PTimespanType(o, scope, keys) method access_PTupleType (line 197) | def access_PTupleType(o, scope, keys) method access_PCallableType (line 210) | def access_PCallableType(o, scope, keys) method access_PStructType (line 223) | def access_PStructType(o, scope, keys) method access_PStringType (line 228) | def access_PStringType(o, scope, keys) method assert_keys (line 249) | def assert_keys(keys, o, min, max, *allowed_classes) method bad_access_key_type (line 262) | def bad_access_key_type(lhs, key_index, actual, *expected_classes) method bad_string_access_key_type (line 270) | def bad_string_access_key_type(lhs, key_index, actual) method bad_key_type_name (line 277) | def bad_key_type_name(actual) method bad_type_specialization_key_type (line 288) | def bad_type_specialization_key_type(type, key_index, actual, *exp... method access_PPatternType (line 297) | def access_PPatternType(o, scope, keys) method access_PURIType (line 303) | def access_PURIType(o, scope, keys) method access_POptionalType (line 317) | def access_POptionalType(o, scope, keys) method access_PSensitiveType (line 334) | def access_PSensitiveType(o, scope, keys) method access_PObjectType (line 348) | def access_PObjectType(o, scope, keys) method access_PTypeSetType (line 359) | def access_PTypeSetType(o, scope, keys) method access_PNotUndefType (line 368) | def access_PNotUndefType(o, scope, keys) method access_PTypeType (line 389) | def access_PTypeType(o, scope, keys) method access_PInitType (line 402) | def access_PInitType(o, scope, keys) method access_PIterableType (line 410) | def access_PIterableType(o, scope, keys) method access_PIteratorType (line 423) | def access_PIteratorType(o, scope, keys) method access_PRuntimeType (line 436) | def access_PRuntimeType(o, scope, keys) method access_PIntegerType (line 443) | def access_PIntegerType(o, scope, keys) method access_PFloatType (line 456) | def access_PFloatType(o, scope, keys) method access_PHashType (line 476) | def access_PHashType(o, scope, keys) method access_PCollectionType (line 504) | def access_PCollectionType(o, scope, keys) method access_PArrayType (line 520) | def access_PArrayType(o, scope, keys) method collection_size_t (line 553) | def collection_size_t(start_index, *keys) method access_Resource (line 567) | def access_Resource(o, scope, keys) method access_PTypeReferenceType (line 577) | def access_PTypeReferenceType(o, scope, keys) method access_PResourceType (line 593) | def access_PResourceType(o, scope, keys) method access_PClassType (line 673) | def access_PClassType(o, scope, keys) FILE: lib/puppet/pops/evaluator/callable_signature.rb class Puppet::Pops::Evaluator::CallableSignature (line 10) | class Puppet::Pops::Evaluator::CallableSignature method parameter_names (line 24) | def parameter_names method type (line 36) | def type method block_type (line 49) | def block_type method block_name (line 58) | def block_name method block_range (line 67) | def block_range method args_range (line 78) | def args_range method last_captures_rest? (line 89) | def last_captures_rest? method infinity? (line 98) | def infinity?(x) method argument_mismatch_handler? (line 105) | def argument_mismatch_handler? FILE: lib/puppet/pops/evaluator/closure.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class Jumper (line 5) | class Jumper < Exception # rubocop:disable Lint/InheritException method initialize (line 10) | def initialize(value, file, line) class Next (line 17) | class Next < Jumper; end class Return (line 19) | class Return < Jumper; end class PuppetStopIteration (line 21) | class PuppetStopIteration < StopIteration method initialize (line 26) | def initialize(file, line, pos = nil) method message (line 32) | def message class Closure (line 50) | class Closure < CallableSignature method initialize (line 55) | def initialize(evaluator, model) method call (line 62) | def call(*args) method invoke (line 70) | def invoke(instance, calling_scope, args, &block) method call_by_name_with_scope (line 76) | def call_by_name_with_scope(scope, args_hash, enforce_parameters) method call_by_name (line 80) | def call_by_name(args_hash, enforce_parameters) method call_by_name_internal (line 85) | def call_by_name_internal(closure_scope, args_hash, enforce_parame... method parameters (line 119) | def parameters method parameter_count (line 125) | def parameter_count method parameter_names (line 131) | def parameter_names method return_type (line 135) | def return_type method type (line 141) | def type method params_struct (line 147) | def params_struct method last_captures_rest? (line 152) | def last_captures_rest? method block_name (line 158) | def block_name method closure_name (line 166) | def closure_name class Dynamic (line 170) | class Dynamic < Closure method initialize (line 171) | def initialize(evaluator, model, scope) method enclosing_scope (line 176) | def enclosing_scope method call (line 180) | def call(*args) class Named (line 191) | class Named < Closure method initialize (line 192) | def initialize(name, evaluator, model) method closure_name (line 197) | def closure_name method enclosing_scope (line 203) | def enclosing_scope method call_with_scope (line 216) | def call_with_scope(scope, args) method combine_values_with_parameters (line 241) | def combine_values_with_parameters(scope, args) method create_callable_type (line 286) | def create_callable_type method create_params_struct (line 312) | def create_params_struct method create_return_type (line 326) | def create_return_type method create_param_type (line 334) | def create_param_type(param, closure_scope) method signatures (line 361) | def signatures FILE: lib/puppet/pops/evaluator/collector_transformer.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class CollectorTransformer (line 5) | class CollectorTransformer method initialize (line 6) | def initialize method transform (line 13) | def transform(o, scope) method query (line 56) | def query(o, scope) method match (line 60) | def match(o, scope) method query_unless_nop (line 64) | def query_unless_nop(query, scope) method match_unless_nop (line 70) | def match_unless_nop(query, scope) method query_AndExpression (line 76) | def query_AndExpression(o, scope) method query_OrExpression (line 84) | def query_OrExpression(o, scope) method query_ComparisonExpression (line 92) | def query_ComparisonExpression(o, scope) method query_AccessExpression (line 130) | def query_AccessExpression(o, scope) method query_VariableExpression (line 138) | def query_VariableExpression(o, scope) method query_LiteralBoolean (line 142) | def query_LiteralBoolean(o, scope) method query_LiteralString (line 146) | def query_LiteralString(o, scope) method query_ConcatenatedString (line 150) | def query_ConcatenatedString(o, scope) method query_LiteralNumber (line 154) | def query_LiteralNumber(o, scope) method query_LiteralUndef (line 158) | def query_LiteralUndef(o, scope) method query_QualifiedName (line 162) | def query_QualifiedName(o, scope) method query_ParenthesizedExpression (line 166) | def query_ParenthesizedExpression(o, scope) method query_Object (line 170) | def query_Object(o, scope) method match_AccessExpression (line 174) | def match_AccessExpression(o, scope) method match_AndExpression (line 182) | def match_AndExpression(o, scope) method match_OrExpression (line 188) | def match_OrExpression(o, scope) method match_ComparisonExpression (line 194) | def match_ComparisonExpression(o, scope) method match_VariableExpression (line 200) | def match_VariableExpression(o, scope) method match_LiteralBoolean (line 204) | def match_LiteralBoolean(o, scope) method match_LiteralString (line 208) | def match_LiteralString(o, scope) method match_LiteralUndef (line 212) | def match_LiteralUndef(o, scope) method match_ConcatenatedString (line 216) | def match_ConcatenatedString(o, scope) method match_LiteralNumber (line 220) | def match_LiteralNumber(o, scope) method match_QualifiedName (line 224) | def match_QualifiedName(o, scope) method match_ParenthesizedExpression (line 228) | def match_ParenthesizedExpression(o, scope) method match_Object (line 232) | def match_Object(o, scope) FILE: lib/puppet/pops/evaluator/collectors/abstract_collector.rb class Puppet::Pops::Evaluator::Collectors::AbstractCollector (line 3) | class Puppet::Pops::Evaluator::Collectors::AbstractCollector method initialize (line 27) | def initialize(scope, overrides = nil) method evaluate (line 42) | def evaluate method unresolved_resources (line 76) | def unresolved_resources method collect (line 85) | def collect FILE: lib/puppet/pops/evaluator/collectors/catalog_collector.rb class Puppet::Pops::Evaluator::Collectors::CatalogCollector (line 3) | class Puppet::Pops::Evaluator::Collectors::CatalogCollector < Puppet::Po... method initialize (line 9) | def initialize(scope, type, query, overrides = nil) method collect (line 18) | def collect method to_s (line 27) | def to_s FILE: lib/puppet/pops/evaluator/collectors/exported_collector.rb class Puppet::Pops::Evaluator::Collectors::ExportedCollector (line 3) | class Puppet::Pops::Evaluator::Collectors::ExportedCollector < Puppet::P... method initialize (line 10) | def initialize(scope, type, equery, cquery, overrides = nil) method evaluate (line 21) | def evaluate method collect (line 31) | def collect method to_s (line 68) | def to_s FILE: lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb class Puppet::Pops::Evaluator::Collectors::FixedSetCollector (line 3) | class Puppet::Pops::Evaluator::Collectors::FixedSetCollector < Puppet::P... method initialize (line 10) | def initialize(scope, resources) method collect (line 17) | def collect method unresolved_resources (line 35) | def unresolved_resources FILE: lib/puppet/pops/evaluator/compare_operator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class CompareOperator (line 13) | class CompareOperator method initialize (line 21) | def initialize method equals (line 28) | def equals(a, b) method compare (line 34) | def compare(a, b) method match (line 39) | def match(a, b, scope = nil) method include? (line 44) | def include?(a, b, scope) method cmp_String (line 50) | def cmp_String(a, b) method equals_String (line 57) | def equals_String(a, b) method cmp_Numeric (line 63) | def cmp_Numeric(a, b) method equals_Numeric (line 74) | def equals_Numeric(a, b) method equals_Array (line 82) | def equals_Array(a, b) method equals_Hash (line 89) | def equals_Hash(a, b) method cmp_Symbol (line 96) | def cmp_Symbol(a, b) method cmp_Timespan (line 104) | def cmp_Timespan(a, b) method cmp_Timestamp (line 110) | def cmp_Timestamp(a, b) method cmp_Version (line 116) | def cmp_Version(a, b) method cmp_Object (line 122) | def cmp_Object(a, b) method equals_Object (line 126) | def equals_Object(a, b) method equals_NilClass (line 130) | def equals_NilClass(a, b) method equals_Symbol (line 135) | def equals_Symbol(a, b) method include_Object (line 140) | def include_Object(a, b, scope) method include_String (line 144) | def include_String(a, b, scope) method include_Binary (line 161) | def include_Binary(a, b, scope) method include_Array (line 174) | def include_Array(a, b, scope) method include_Hash (line 198) | def include_Hash(a, b, scope) method include_VersionRange (line 202) | def include_VersionRange(a, b, scope) method match_Object (line 207) | def match_Object(pattern, a, scope) method match_Regexp (line 212) | def match_Regexp(regexp, left, scope) method match_Version (line 221) | def match_Version(version, left, scope) method match_VersionRange (line 237) | def match_VersionRange(range, left, scope) method match_PAnyType (line 241) | def match_PAnyType(any_type, left, scope) method match_Array (line 249) | def match_Array(array, left, scope) method match_Hash (line 256) | def match_Hash(hash, left, scope) method match_Symbol (line 262) | def match_Symbol(symbol, left, scope) FILE: lib/puppet/pops/evaluator/deferred_resolver.rb type Puppet::Pops (line 5) | module Puppet::Pops type Evaluator (line 6) | module Evaluator class DeferredValue (line 7) | class DeferredValue method initialize (line 8) | def initialize(proc) method resolve (line 12) | def resolve class DeferredResolver (line 25) | class DeferredResolver method resolve_and_replace (line 40) | def self.resolve_and_replace(facts, catalog, environment = catalog... method resolve (line 68) | def self.resolve(value, compiler) method initialize (line 73) | def initialize(compiler, preprocess_deferred = true) method set_facts_variable (line 83) | def set_facts_variable(facts) method resolve_futures (line 87) | def resolve_futures(catalog) method contains_sensitive_args? (line 131) | def contains_sensitive_args?(x) method mark_sensitive_parameters (line 147) | def mark_sensitive_parameters(r, k) method resolve (line 154) | def resolve(x) method resolve_lazy_args (line 174) | def resolve_lazy_args(x) method resolve_future (line 193) | def resolve_future(f) method map_arguments (line 219) | def map_arguments(args) FILE: lib/puppet/pops/evaluator/epp_evaluator.rb class Puppet::Pops::Evaluator::EppEvaluator (line 5) | class Puppet::Pops::Evaluator::EppEvaluator method inline_epp (line 6) | def self.inline_epp(scope, epp_source, template_args = nil) method epp (line 26) | def self.epp(scope, file, env_name, template_args = nil) method evaluate (line 57) | def self.evaluate(parser, func_name, scope, use_global_scope_only, par... method handle_template_args (line 108) | def self.handle_template_args(func_name, template_args) FILE: lib/puppet/pops/evaluator/evaluator_impl.rb type Puppet::Pops (line 11) | module Puppet::Pops type Evaluator (line 12) | module Evaluator class EvaluatorImpl (line 29) | class EvaluatorImpl method initialize (line 40) | def initialize method static_initialize (line 48) | def static_initialize method type_calculator (line 63) | def type_calculator method evaluate (line 76) | def evaluate(target, scope) method assign (line 127) | def assign(target, value, o, scope) method lvalue (line 137) | def lvalue(o, scope) method string (line 147) | def string(o, scope) method evaluate_block_with_bindings (line 160) | def evaluate_block_with_bindings(scope, variable_bindings, block_e... method match? (line 174) | def match?(left, right) method lvalue_VariableExpression (line 180) | def lvalue_VariableExpression(o, scope) method lvalue_Object (line 187) | def lvalue_Object(o, scope) method lvalue_LiteralList (line 192) | def lvalue_LiteralList(o, scope) method assign_String (line 206) | def assign_String(name, value, o, scope) method assign_Numeric (line 215) | def assign_Numeric(n, value, o, scope) method assign_Object (line 221) | def assign_Object(name, value, o, scope) method assign_Array (line 225) | def assign_Array(lvalues, values, o, scope) method eval_Factory (line 269) | def eval_Factory(o, scope) method eval_Object (line 274) | def eval_Object o, scope method eval_NilClass (line 279) | def eval_NilClass(o, scope) method eval_Nop (line 284) | def eval_Nop(o, scope) method eval_LiteralValue (line 290) | def eval_LiteralValue(o, scope) method eval_ReservedWord (line 296) | def eval_ReservedWord(o, scope) method eval_LiteralDefault (line 304) | def eval_LiteralDefault(o, scope) method eval_LiteralUndef (line 308) | def eval_LiteralUndef(o, scope) method eval_QualifiedReference (line 314) | def eval_QualifiedReference(o, scope) method eval_NotExpression (line 321) | def eval_NotExpression(o, scope) method eval_UnaryMinusExpression (line 325) | def eval_UnaryMinusExpression(o, scope) method eval_UnfoldExpression (line 329) | def eval_UnfoldExpression(o, scope) method eval_BinaryExpression (line 350) | def eval_BinaryExpression o, scope method eval_AssignmentExpression (line 361) | def eval_AssignmentExpression(o, scope) method eval_ArithmeticExpression (line 378) | def eval_ArithmeticExpression(o, scope) method calculate (line 392) | def calculate(left, right, bin_expr, scope) method eval_EppExpression (line 458) | def eval_EppExpression(o, scope) method eval_RenderStringExpression (line 479) | def eval_RenderStringExpression(o, scope) method eval_RenderExpression (line 484) | def eval_RenderExpression(o, scope) method eval_RelationshipExpression (line 495) | def eval_RelationshipExpression(o, scope) method eval_AccessExpression (line 506) | def eval_AccessExpression(o, scope) method eval_ComparisonExpression (line 522) | def eval_ComparisonExpression o, scope method eval_MatchExpression (line 597) | def eval_MatchExpression o, scope method eval_InExpression (line 633) | def eval_InExpression o, scope method eval_AndExpression (line 643) | def eval_AndExpression o, scope method eval_OrExpression (line 651) | def eval_OrExpression o, scope method eval_LiteralList (line 659) | def eval_LiteralList o, scope method eval_LiteralHash (line 666) | def eval_LiteralHash o, scope method eval_BlockExpression (line 673) | def eval_BlockExpression o, scope method eval_CaseExpression (line 683) | def eval_CaseExpression(o, scope) method eval_CollectExpression (line 723) | def eval_CollectExpression o, scope method eval_ParenthesizedExpression (line 730) | def eval_ParenthesizedExpression(o, scope) method eval_Definition (line 742) | def eval_Definition(o, scope) method eval_Program (line 746) | def eval_Program(o, scope) method eval_ResourceExpression (line 760) | def eval_ResourceExpression(o, scope) method eval_ResourceOverrideExpression (line 885) | def eval_ResourceOverrideExpression(o, scope) method eval_ApplyExpression (line 892) | def eval_ApplyExpression(o, scope) method eval_AttributeOperation (line 905) | def eval_AttributeOperation(o, scope) method eval_AttributesOperation (line 909) | def eval_AttributesOperation(o, scope) method eval_ResourceDefaultsExpression (line 920) | def eval_ResourceDefaultsExpression(o, scope) method eval_CallNamedFunctionExpression (line 937) | def eval_CallNamedFunctionExpression(o, scope) method eval_CallMethodExpression (line 966) | def eval_CallMethodExpression(o, scope) method call_function_with_block (line 992) | def call_function_with_block(name, evaluated_arguments, o, scope) method proc_from_lambda (line 1001) | def proc_from_lambda(lambda, scope) method eval_SelectorExpression (line 1010) | def eval_SelectorExpression o, scope method eval_HeredocExpression (line 1043) | def eval_HeredocExpression o, scope method eval_IfExpression (line 1054) | def eval_IfExpression o, scope method eval_UnlessExpression (line 1065) | def eval_UnlessExpression o, scope method eval_VariableExpression (line 1079) | def eval_VariableExpression o, scope method eval_ConcatenatedString (line 1100) | def eval_ConcatenatedString o, scope method eval_TextExpression (line 1114) | def eval_TextExpression o, scope method string_Object (line 1122) | def string_Object(o, scope) method string_Symbol (line 1126) | def string_Symbol(o, scope) method string_Array (line 1134) | def string_Array(o, scope) method string_Hash (line 1138) | def string_Hash(o, scope) method string_Regexp (line 1142) | def string_Regexp(o, scope) method string_PAnyType (line 1146) | def string_PAnyType(o, scope) method concatenate (line 1209) | def concatenate(x, y) method delete (line 1257) | def delete(x, y) method is_match? (line 1285) | def is_match?(left, right, o, option_expr, scope) method unfold (line 1296) | def unfold(result, array, scope) method unwind_parentheses (line 1309) | def unwind_parentheses(o) FILE: lib/puppet/pops/evaluator/external_syntax_support.rb type Puppet::Pops::Evaluator::ExternalSyntaxSupport (line 7) | module Puppet::Pops::Evaluator::ExternalSyntaxSupport function assert_external_syntax (line 8) | def assert_external_syntax(_, result, syntax, reference_expr) function checker_for_syntax (line 31) | def checker_for_syntax(_, syntax) function lookup_keys_for_syntax (line 37) | def lookup_keys_for_syntax(syntax) FILE: lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb class Puppet::Pops::Evaluator::JsonStrictLiteralEvaluator (line 21) | class Puppet::Pops::Evaluator::JsonStrictLiteralEvaluator method initialize (line 26) | def initialize method literal (line 30) | def literal(ast) method literal_Object (line 34) | def literal_Object(o) method literal_Factory (line 38) | def literal_Factory(o) method literal_Program (line 42) | def literal_Program(o) method literal_LiteralString (line 46) | def literal_LiteralString(o) method literal_QualifiedName (line 50) | def literal_QualifiedName(o) method literal_LiteralNumber (line 54) | def literal_LiteralNumber(o) method literal_LiteralBoolean (line 58) | def literal_LiteralBoolean(o) method literal_LiteralUndef (line 62) | def literal_LiteralUndef(o) method literal_ConcatenatedString (line 66) | def literal_ConcatenatedString(o) method literal_LiteralList (line 72) | def literal_LiteralList(o) method literal_LiteralHash (line 76) | def literal_LiteralHash(o) FILE: lib/puppet/pops/evaluator/literal_evaluator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class LiteralEvaluator (line 18) | class LiteralEvaluator method initialize (line 21) | def initialize method literal (line 25) | def literal(ast) method literal_Object (line 29) | def literal_Object(o) method literal_Factory (line 33) | def literal_Factory(o) method literal_Program (line 37) | def literal_Program(o) method literal_LiteralString (line 41) | def literal_LiteralString(o) method literal_QualifiedName (line 45) | def literal_QualifiedName(o) method literal_LiteralNumber (line 49) | def literal_LiteralNumber(o) method literal_LiteralBoolean (line 53) | def literal_LiteralBoolean(o) method literal_LiteralUndef (line 57) | def literal_LiteralUndef(o) method literal_LiteralDefault (line 61) | def literal_LiteralDefault(o) method literal_LiteralRegularExpression (line 65) | def literal_LiteralRegularExpression(o) method literal_QualifiedReference (line 69) | def literal_QualifiedReference(o) method literal_AccessExpression (line 73) | def literal_AccessExpression(o) method literal_UnaryMinusExpression (line 79) | def literal_UnaryMinusExpression(o) method literal_ConcatenatedString (line 83) | def literal_ConcatenatedString(o) method literal_LiteralList (line 89) | def literal_LiteralList(o) method literal_LiteralHash (line 93) | def literal_LiteralHash(o) FILE: lib/puppet/pops/evaluator/puppet_proc.rb class Puppet::Pops::Evaluator::PuppetProc (line 13) | class Puppet::Pops::Evaluator::PuppetProc < Proc method new (line 23) | def self.new(closure, &block) method lambda? (line 36) | def lambda? method parameters (line 48) | def parameters method arity (line 64) | def arity FILE: lib/puppet/pops/evaluator/relationship_operator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator class RelationshipOperator (line 13) | class RelationshipOperator class IllegalRelationshipOperandError (line 19) | class IllegalRelationshipOperandError < RuntimeError method initialize (line 22) | def initialize operand class NotCatalogTypeError (line 27) | class NotCatalogTypeError < RuntimeError method initialize (line 30) | def initialize type method initialize (line 35) | def initialize method transform (line 43) | def transform(o, scope) method transform_Object (line 49) | def transform_Object(o, scope) method transform_Resource (line 55) | def transform_Resource(o, scope) method transform_String (line 61) | def transform_String(o, scope) method transform_QualifiedName (line 67) | def transform_QualifiedName(o, scope) method transform_PAnyType (line 73) | def transform_PAnyType(o, scope) method transform_Collector (line 83) | def transform_Collector(o, scope) method transform_AbstractCollector (line 87) | def transform_AbstractCollector(o, scope) method transform_Array (line 92) | def transform_Array(o, scope) method assert_catalog_type (line 99) | def assert_catalog_type(o, scope) method evaluate (line 126) | def evaluate(left_right_evaluated, relationship_expression, scope) method reverse_operator? (line 183) | def reverse_operator?(o) FILE: lib/puppet/pops/evaluator/runtime3_converter.rb type Puppet::Pops::Evaluator (line 3) | module Puppet::Pops::Evaluator class Runtime3Converter (line 11) | class Runtime3Converter method map_args (line 22) | def self.map_args(args, scope, undef_value) method convert (line 33) | def self.convert(o, scope, undef_value) method instance (line 39) | def self.instance method map_args (line 50) | def map_args(args, scope, undef_value) method convert (line 61) | def convert(o, scope, undef_value) method convert_NilClass (line 65) | def convert_NilClass(o, scope, undef_value) method convert_Integer (line 69) | def convert_Integer(o, scope, undef_value) method convert_BigDecimal (line 76) | def convert_BigDecimal(o, scope, undef_value) method convert_String (line 84) | def convert_String(o, scope, undef_value) method convert_Object (line 91) | def convert_Object(o, scope, undef_value) method convert_Array (line 95) | def convert_Array(o, scope, undef_value) method convert_Hash (line 100) | def convert_Hash(o, scope, undef_value) method convert_Iterator (line 107) | def convert_Iterator(o, scope, undef_value) method convert_Symbol (line 111) | def convert_Symbol(o, scope, undef_value) method convert_PAnyType (line 117) | def convert_PAnyType(o, scope, undef_value) method convert_PCatalogEntryType (line 121) | def convert_PCatalogEntryType(o, scope, undef_value) method catalog_type_to_split_type_title (line 137) | def catalog_type_to_split_type_title(catalog_type) method initialize (line 162) | def initialize(inner = false) class Runtime3FunctionArgumentConverter (line 174) | class Runtime3FunctionArgumentConverter < Runtime3Converter method convert_Regexp (line 175) | def convert_Regexp(o, scope, undef_value) method convert_Version (line 181) | def convert_Version(o, scope, undef_value) method convert_VersionRange (line 186) | def convert_VersionRange(o, scope, undef_value) method convert_Binary (line 191) | def convert_Binary(o, scope, undef_value) method convert_Timespan (line 196) | def convert_Timespan(o, scope, undef_value) method convert_Timestamp (line 201) | def convert_Timestamp(o, scope, undef_value) method convert_return (line 208) | def self.convert_return(val3x) FILE: lib/puppet/pops/evaluator/runtime3_resource_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator type Runtime3ResourceSupport (line 6) | module Runtime3ResourceSupport function create_resources (line 9) | def self.create_resources(file, line, scope, virtual, exported, ty... function find_resource_type (line 70) | def self.find_resource_type(scope, type_name) function find_resource_type_or_class (line 74) | def self.find_resource_type_or_class(scope, name) function resource_to_ptype (line 78) | def self.resource_to_ptype(resource) function find_main_class (line 85) | def self.find_main_class(scope) function find_hostclass (line 90) | def self.find_hostclass(scope, class_name) function find_builtin_resource_type (line 94) | def self.find_builtin_resource_type(scope, type_name) function find_defined_resource_type (line 112) | def self.find_defined_resource_type(scope, type_name) FILE: lib/puppet/pops/evaluator/runtime3_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Evaluator (line 4) | module Evaluator type Runtime3Support (line 10) | module Runtime3Support function fail (line 21) | def fail(issue, semantic, options = {}, except = nil) function optionally_fail (line 36) | def optionally_fail(issue, semantic, options = {}, except = nil) function runtime_issue (line 57) | def runtime_issue(issue, options = {}) function set_variable (line 76) | def set_variable(name, value, o, scope) function get_variable_value (line 98) | def get_variable_value(name, o, scope) function variable_bound? (line 121) | def variable_bound?(name, scope) function variable_exists? (line 127) | def variable_exists?(name, scope) function set_match_data (line 131) | def set_match_data(match_data, scope) function create_local_scope_from (line 144) | def create_local_scope_from(hash, scope) function create_match_scope_from (line 155) | def create_match_scope_from(scope) function get_scope_nesting_level (line 160) | def get_scope_nesting_level(scope) function set_scope_nesting_level (line 164) | def set_scope_nesting_level(scope, level) function add_relationship (line 174) | def add_relationship(source, target, relationship_type, scope) function coerce_numeric (line 253) | def coerce_numeric(v, o, scope) function external_call_function (line 276) | def external_call_function(name, args, scope, &block) function call_function (line 302) | def call_function(name, args, o, scope, &block) function create_resource_parameter (line 323) | def create_resource_parameter(o, scope, name, value, operator) function convert (line 333) | def convert(value, scope, undef_value) function create_resources (line 337) | def create_resources(o, scope, virtual, exported, type_name, resou... function create_resource_defaults (line 349) | def create_resource_defaults(o, scope, type_name, evaluated_parame... function capitalize_qualified_name (line 360) | def capitalize_qualified_name(name) function create_resource_overrides (line 367) | def create_resource_overrides(o, scope, evaluated_resources, evalu... function find_resource (line 399) | def find_resource(scope, type_name, title) function get_resource_parameter_value (line 408) | def get_resource_parameter_value(scope, resource, parameter_name) function is_parameter_of_resource? (line 440) | def is_parameter_of_resource?(scope, resource, name) function is_true? (line 448) | def is_true?(value, o) function extract_file_line (line 462) | def extract_file_line(o) function diagnostic_producer (line 467) | def diagnostic_producer class SeverityProducer (line 476) | class SeverityProducer < Validation::SeverityProducer method initialize (line 477) | def initialize class ExceptionRaisingAcceptor (line 510) | class ExceptionRaisingAcceptor < Validation::Acceptor method accept (line 511) | def accept(diagnostic) class EvaluationError (line 524) | class EvaluationError < StandardError FILE: lib/puppet/pops/functions/dispatch.rb type Puppet::Pops (line 3) | module Puppet::Pops type Functions (line 4) | module Functions class Dispatch (line 12) | class Dispatch < Evaluator::CallableSignature method initialize (line 35) | def initialize(type, method_name, param_names, last_captures = fal... method parameter_names (line 47) | def parameter_names method last_captures_rest? (line 52) | def last_captures_rest? method argument_mismatch_handler? (line 56) | def argument_mismatch_handler? method invoke (line 61) | def invoke(instance, calling_scope, args, &block) method weave (line 69) | def weave(scope, args) FILE: lib/puppet/pops/functions/dispatcher.rb class Puppet::Pops::Functions::Dispatcher (line 8) | class Puppet::Pops::Functions::Dispatcher method initialize (line 12) | def initialize method empty? (line 20) | def empty? method find_matching_dispatcher (line 24) | def find_matching_dispatcher(args, &block) method dispatch (line 36) | def dispatch(instance, calling_scope, args, &block) method add (line 54) | def add(a_dispatch) method to_type (line 61) | def to_type method signatures (line 73) | def signatures FILE: lib/puppet/pops/functions/function.rb class Puppet::Pops::Functions::Function (line 15) | class Puppet::Pops::Functions::Function method initialize (line 21) | def initialize(closure_scope, loader) method call (line 42) | def call(scope, *args, &block) method call_function (line 70) | def call_function(function_name, *args, &block) method closure_scope (line 75) | def closure_scope method dispatcher (line 83) | def self.dispatcher method signatures (line 90) | def self.signatures method internal_call_function (line 106) | def internal_call_function(scope, function_name, args, &block) FILE: lib/puppet/pops/issue_reporter.rb type Puppet::Pops (line 3) | module Puppet::Pops class IssueReporter (line 4) | class IssueReporter method assert_and_report (line 13) | def self.assert_and_report(acceptor, options) method format_with_prefix (line 86) | def self.format_with_prefix(prefix, message) method warning (line 92) | def self.warning(semantic, issue, args) method error (line 104) | def self.error(exception_class, semantic, issue, args) method create_exception (line 108) | def self.create_exception(exception_class, emit_message, formatter, ... method log_message (line 120) | def self.log_message(severity, formatter, diagnostic) FILE: lib/puppet/pops/issues.rb type Puppet::Pops (line 6) | module Puppet::Pops type Issues (line 7) | module Issues class Issue (line 10) | class Issue method initialize (line 29) | def initialize issue_code, *args, &block method demotable? (line 37) | def demotable? method format (line 47) | def format(hash = {}) class MessageData (line 64) | class MessageData method initialize (line 65) | def initialize *argnames method format (line 74) | def format(hash, &block) method label (line 86) | def label(*args) method label_provider (line 93) | def label_provider method semantic (line 103) | def semantic function issue (line 126) | def self.issue(issue_code, *args, &block) function hard_issue (line 133) | def self.hard_issue(issue_code, *args, &block) FILE: lib/puppet/pops/label_provider.rb type Puppet::Pops::LabelProvider (line 6) | module Puppet::Pops::LabelProvider function label (line 14) | def label o function a_an (line 19) | def a_an o function a_an_uc (line 25) | def a_an_uc o function the (line 31) | def the o function the_uc (line 36) | def the_uc o function plural_s (line 41) | def plural_s(count, text = '') function combine_strings (line 46) | def combine_strings(strings, conjunction = 'or') function article (line 65) | def article s function first_letter_of (line 71) | def first_letter_of(string) function article_for_letter (line 84) | def article_for_letter(letter) FILE: lib/puppet/pops/loader/base_loader.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class BaseLoader (line 13) | class BaseLoader < Loader method initialize (line 17) | def initialize(parent_loader, loader_name, environment) method discover (line 24) | def discover(type, error_collector = nil, name_authority = Pcore::... method load_typed (line 36) | def load_typed(typed_name) method loaded_entry (line 53) | def loaded_entry(typed_name, check_dependencies = false) method get_entry (line 69) | def get_entry(typed_name) method set_entry (line 75) | def set_entry(typed_name, value, origin = nil) method add_entry (line 99) | def add_entry(type, name, value, origin) method remove_entry (line 105) | def remove_entry(typed_name) method promote_entry (line 117) | def promote_entry(named_entry) method allow_shadowing? (line 128) | def allow_shadowing? method fail_redefine (line 134) | def fail_redefine(entry) method origin_label (line 141) | def origin_label(origin) method format_uri (line 151) | def format_uri(uri) method internal_load (line 161) | def internal_load(typed_name) FILE: lib/puppet/pops/loader/dependency_loader.rb class Puppet::Pops::Loader::DependencyLoader (line 12) | class Puppet::Pops::Loader::DependencyLoader < Puppet::Pops::Loader::Bas... method initialize (line 19) | def initialize(parent_loader, name, dependency_loaders, environment) method discover (line 24) | def discover(type, error_collector = nil, name_authority = Puppet::Pop... method find (line 33) | def find(typed_name) method loaded_entry (line 60) | def loaded_entry(typed_name, check_dependencies = false) method to_s (line 64) | def to_s method loaded_entry_in_dependency (line 70) | def loaded_entry_in_dependency(typed_name, check_dependencies) method index (line 92) | def index FILE: lib/puppet/pops/loader/gem_support.rb type Puppet::Pops::Loader::GemSupport (line 12) | module Puppet::Pops::Loader::GemSupport function gem_dir (line 16) | def gem_dir(uri_or_string) function gem_dir_from_uri (line 29) | def gem_dir_from_uri(uri) function gem_dir_from_name (line 46) | def gem_dir_from_name(gem_name) FILE: lib/puppet/pops/loader/generic_plan_instantiator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class GenericPlanInstantiator (line 9) | class GenericPlanInstantiator method create (line 10) | def self.create(loader, typed_name, source_refs) FILE: lib/puppet/pops/loader/loader.rb type Puppet::Pops (line 24) | module Puppet::Pops type Loader (line 25) | module Loader class Loader (line 29) | class Loader method initialize (line 36) | def initialize(loader_name, environment) method discover (line 56) | def discover(type, error_collector = nil, name_authority = Pcore::... method load (line 73) | def load(type, name) method load_typed (line 90) | def load_typed(typed_name) method loaded_entry (line 102) | def loaded_entry(typed_name, check_dependencies = false) method [] (line 115) | def [](typed_name) method find (line 133) | def find(typed_name) method parent (line 138) | def parent method private_loader (line 146) | def private_loader method synchronize (line 153) | def synchronize(&block) method set_entry (line 166) | def set_entry(type, name, value, origin = nil) method get_entry (line 177) | def get_entry(typed_name) method loadables (line 185) | def loadables method to_s (line 190) | def to_s method inspect (line 201) | def inspect class NamedEntry (line 207) | class NamedEntry method initialize (line 212) | def initialize(typed_name, value, origin) FILE: lib/puppet/pops/loader/loader_paths.rb type Puppet::Pops (line 10) | module Puppet::Pops type Loader (line 11) | module Loader type LoaderPaths (line 12) | module LoaderPaths function relative_paths_for_type (line 17) | def self.relative_paths_for_type(type, loader) class SmartPath (line 56) | class SmartPath method initialize (line 58) | def initialize(loader) method generic_path (line 63) | def generic_path method fuzzy_matching? (line 70) | def fuzzy_matching? method root_path (line 74) | def root_path method lib_root? (line 78) | def lib_root? method effective_path (line 84) | def effective_path(typed_name, start_index_in_name) method typed_name (line 88) | def typed_name(type, name_authority, relative_path, module_name) method valid_path? (line 102) | def valid_path?(path) method valid_name? (line 106) | def valid_name?(typed_name) method relative_path (line 110) | def relative_path method instantiator (line 114) | def instantiator class RubySmartPath (line 119) | class RubySmartPath < SmartPath method extension (line 122) | def extension method effective_path (line 127) | def effective_path(typed_name, start_index_in_name) class PuppetSmartPath (line 135) | class PuppetSmartPath < SmartPath method extension (line 138) | def extension method effective_path (line 143) | def effective_path(typed_name, start_index_in_name) method typed_name (line 155) | def typed_name(type, name_authority, relative_path, module_name) class FunctionPath4x (line 170) | class FunctionPath4x < RubySmartPath method relative_path (line 174) | def relative_path method instantiator (line 178) | def instantiator class FunctionPath3x (line 183) | class FunctionPath3x < RubySmartPath method relative_path (line 187) | def relative_path method instantiator (line 191) | def instantiator class FunctionPathPP (line 196) | class FunctionPathPP < PuppetSmartPath method relative_path (line 199) | def relative_path method instantiator (line 203) | def instantiator class DataTypePath (line 208) | class DataTypePath < RubySmartPath method relative_path (line 212) | def relative_path method instantiator (line 216) | def instantiator class TypePathPP (line 221) | class TypePathPP < PuppetSmartPath method relative_path (line 224) | def relative_path method instantiator (line 228) | def instantiator class TaskPath (line 235) | class TaskPath < PuppetSmartPath method extension (line 239) | def extension method fuzzy_matching? (line 243) | def fuzzy_matching? method relative_path (line 247) | def relative_path method typed_name (line 251) | def typed_name(type, name_authority, relative_path, module_name) method instantiator (line 269) | def instantiator method valid_name? (line 274) | def valid_name?(typed_name) method valid_path? (line 279) | def valid_path?(path) method is_task_name? (line 283) | def is_task_name?(name) class ResourceTypeImplPP (line 288) | class ResourceTypeImplPP < PuppetSmartPath method relative_path (line 291) | def relative_path method root_path (line 295) | def root_path method instantiator (line 299) | def instantiator method effective_path (line 307) | def effective_path(typed_name, start_index_in_name) class PlanPath (line 314) | class PlanPath < PuppetSmartPath method initialize (line 319) | def initialize(loader) method extension (line 330) | def extension method relative_path (line 334) | def relative_path method instantiator (line 338) | def instantiator method fuzzy_matching? (line 342) | def fuzzy_matching? method valid_path? (line 346) | def valid_path?(path) method typed_name (line 350) | def typed_name(type, name_authority, relative_path, module_name) method effective_path (line 367) | def effective_path(typed_name, start_index_in_name) class SmartPaths (line 385) | class SmartPaths method initialize (line 386) | def initialize(path_based_loader) method effective_paths (line 397) | def effective_paths(type) FILE: lib/puppet/pops/loader/module_loaders.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader type ModuleLoaders (line 23) | module ModuleLoaders function cached_loader_from (line 31) | def self.cached_loader_from(parent_loader, loaders) function system_loader_from (line 40) | def self.system_loader_from(parent_loader, loaders) function environment_loader_from (line 55) | def self.environment_loader_from(parent_loader, loaders, env_path) function module_loader_from (line 67) | def self.module_loader_from(parent_loader, loaders, module_name, m... function pcore_resource_type_loader_from (line 75) | def self.pcore_resource_type_loader_from(parent_loader, loaders, e... class EmptyLoader (line 83) | class EmptyLoader < BaseLoader method find (line 84) | def find(typed_name) method private_loader (line 88) | def private_loader method private_loader= (line 92) | def private_loader=(loader) class AbstractPathBasedModuleLoader (line 97) | class AbstractPathBasedModuleLoader < BaseLoader method initialize (line 121) | def initialize(parent_loader, loaders, module_name, path, loader... method loadables (line 139) | def loadables method discover (line 143) | def discover(type, error_collector = nil, name_authority = Pcore... method find (line 176) | def find(typed_name) method instantiate (line 277) | def instantiate(smart_path, typed_name, origin) method meaningful_to_search? (line 299) | def meaningful_to_search?(smart_path) method existing_path (line 308) | def existing_path(resolved_path) method candidate_paths (line 317) | def candidate_paths(resolved_path) method get_contents (line 327) | def get_contents(effective_path) method get_source_ref (line 337) | def get_source_ref(relative_path) method global? (line 345) | def global? method lib_root? (line 355) | def lib_root? method private_loader (line 361) | def private_loader method relative_paths (line 372) | def relative_paths(smart_path) method init_typeset_name (line 379) | def init_typeset_name method init_task_name (line 385) | def init_task_name method init_plan_name (line 391) | def init_plan_name method find_existing_path (line 400) | def find_existing_path(typed_name) class FileBased (line 429) | class FileBased < AbstractPathBasedModuleLoader method initialize (line 440) | def initialize(parent_loader, loaders, module_name, path, loader... method existing_path (line 445) | def existing_path(effective_path) method candidate_paths (line 450) | def candidate_paths(effective_path) method meaningful_to_search? (line 466) | def meaningful_to_search?(smart_path) method to_s (line 470) | def to_s method add_to_index (line 474) | def add_to_index(smart_path) method get_contents (line 486) | def get_contents(effective_path) method relative_paths (line 497) | def relative_paths(smart_path) class LibRootedFileBased (line 513) | class LibRootedFileBased < FileBased method lib_root? (line 514) | def lib_root? class GemBased (line 529) | class GemBased < FileBased method initialize (line 541) | def initialize(parent_loader, loaders, module_name, gem_ref, loa... method to_s (line 546) | def to_s FILE: lib/puppet/pops/loader/predefined_loader.rb type Puppet::Pops::Loader (line 3) | module Puppet::Pops::Loader class PredefinedLoader (line 7) | class PredefinedLoader < BaseLoader method find (line 8) | def find(typed_name) method to_s (line 12) | def to_s method allow_shadowing? (line 20) | def allow_shadowing? method synchronize (line 24) | def synchronize(&block) FILE: lib/puppet/pops/loader/puppet_function_instantiator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class PuppetFunctionInstantiator (line 8) | class PuppetFunctionInstantiator method create (line 19) | def self.create(loader, typed_name, source_ref, pp_code_string) method create_from_model (line 70) | def self.create_from_model(function_definition, loader) method create_function_class (line 76) | def self.create_function_class(function_definition) FILE: lib/puppet/pops/loader/puppet_plan_instantiator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class PuppetPlanInstantiator (line 8) | class PuppetPlanInstantiator method create (line 19) | def self.create(loader, typed_name, source_ref, pp_code_string) method create_from_model (line 79) | def self.create_from_model(plan_definition, loader) method create_function_class (line 85) | def self.create_function_class(plan_definition) FILE: lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class PuppetResourceTypeImplInstantiator (line 8) | class PuppetResourceTypeImplInstantiator method create (line 19) | def self.create(loader, typed_name, source_ref, pp_code_string) FILE: lib/puppet/pops/loader/ruby_data_type_instantiator.rb class Puppet::Pops::Loader::RubyDataTypeInstantiator (line 6) | class Puppet::Pops::Loader::RubyDataTypeInstantiator method create (line 17) | def self.create(loader, typed_name, source_ref, ruby_code_string) method get_binding (line 39) | def self.get_binding(loader_injected_arg) FILE: lib/puppet/pops/loader/ruby_function_instantiator.rb class Puppet::Pops::Loader::RubyFunctionInstantiator (line 6) | class Puppet::Pops::Loader::RubyFunctionInstantiator method create (line 17) | def self.create(loader, typed_name, source_ref, ruby_code_string) method get_binding (line 45) | def self.get_binding(loader_injected_arg) FILE: lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb class Puppet::Pops::Loader::RubyLegacyFunctionInstantiator (line 7) | class Puppet::Pops::Loader::RubyLegacyFunctionInstantiator method create (line 20) | def self.create(loader, typed_name, source_ref, ruby_code_string) method get_binding (line 71) | def self.get_binding(loader_injected_arg) method assert_code (line 76) | def self.assert_code(code_string, source_ref, result) method walk (line 85) | def self.walk(x, source_ref, result) method find_identity (line 109) | def self.find_identity(rast) method extract_name_line (line 122) | def self.extract_name_line(x) FILE: lib/puppet/pops/loader/runtime3_type_loader.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class Runtime3TypeLoader (line 10) | class Runtime3TypeLoader < BaseLoader method initialize (line 13) | def initialize(parent_loader, loaders, environment, resource_3x_lo... method discover (line 19) | def discover(type, error_collector = nil, name_authority = Pcore::... method to_s (line 24) | def to_s method find (line 32) | def find(typed_name) method find_impl (line 73) | def find_impl(typed_name) method allow_shadowing? (line 99) | def allow_shadowing? FILE: lib/puppet/pops/loader/simple_environment_loader.rb class Puppet::Pops::Loader::SimpleEnvironmentLoader (line 9) | class Puppet::Pops::Loader::SimpleEnvironmentLoader < Puppet::Pops::Load... method find (line 13) | def find(typed_name) method to_s (line 17) | def to_s FILE: lib/puppet/pops/loader/static_loader.rb type Puppet::Pops (line 6) | module Puppet::Pops type Loader (line 7) | module Loader class StaticLoader (line 8) | class StaticLoader < Loader method initialize (line 41) | def initialize method discover (line 47) | def discover(type, error_collector = nil, name_authority = Pcore::... method load_typed (line 55) | def load_typed(typed_name) method get_entry (line 59) | def get_entry(typed_name) method set_entry (line 63) | def set_entry(typed_name, value, origin = nil) method find (line 67) | def find(name) method parent (line 72) | def parent method to_s (line 76) | def to_s method loaded_entry (line 80) | def loaded_entry(typed_name, check_dependencies = false) method runtime_3_init (line 84) | def runtime_3_init method register_aliases (line 92) | def register_aliases method load_constant (line 99) | def load_constant(typed_name) method create_built_in_types (line 103) | def create_built_in_types method create_resource_type_references (line 111) | def create_resource_type_references method add_type (line 119) | def add_type(name, type) method create_resource_type_reference (line 124) | def create_resource_type_reference(name) method synchronize (line 128) | def synchronize(&block) FILE: lib/puppet/pops/loader/task_instantiator.rb type Puppet::Pops (line 6) | module Puppet::Pops type Loader (line 7) | module Loader class TaskInstantiator (line 8) | class TaskInstantiator method create (line 9) | def self.create(loader, typed_name, source_refs) method convert_types (line 38) | def self.convert_types(args) FILE: lib/puppet/pops/loader/type_definition_instantiator.rb type Puppet::Pops (line 5) | module Puppet::Pops type Loader (line 6) | module Loader class TypeDefinitionInstantiator (line 7) | class TypeDefinitionInstantiator method create (line 8) | def self.create(loader, typed_name, source_ref, pp_code_string) method create_from_model (line 50) | def self.create_from_model(type_definition, loader) method create_runtime_type (line 62) | def self.create_runtime_type(type_definition) method create_type (line 70) | def self.create_type(name, type_expr, name_authority) method create_named_type (line 75) | def self.create_named_type(name, type_name, type_expr, name_author... method named_definition (line 93) | def self.named_definition(te) method several_paths? (line 99) | def several_paths? FILE: lib/puppet/pops/loader/typed_name.rb type Puppet::Pops (line 3) | module Puppet::Pops type Loader (line 4) | module Loader class TypedName (line 8) | class TypedName method initialize (line 16) | def initialize(type, name, name_authority = Pcore::RUNTIME_NAME_AU... method == (line 36) | def ==(o) method parent (line 43) | def parent method qualified? (line 47) | def qualified? method to_s (line 51) | def to_s FILE: lib/puppet/pops/loader/uri_helper.rb type Puppet::Pops::Loader::UriHelper (line 3) | module Puppet::Pops::Loader::UriHelper function path_for_uri (line 6) | def path_for_uri(uri, subdir = 'lib') FILE: lib/puppet/pops/loaders.rb type Puppet::Pops (line 3) | module Puppet::Pops class Loaders (line 13) | class Loaders class LoaderError (line 14) | class LoaderError < Puppet::Error; end method new (line 27) | def self.new(environment, for_agent = false, load_from_pcore = true) method initialize (line 38) | def initialize(environment, for_agent, load_from_pcore = true) method pre_load (line 76) | def pre_load method clear (line 82) | def self.clear method find_loader (line 96) | def self.find_loader(module_name) method static_implementation_registry (line 100) | def self.static_implementation_registry method static_loader (line 109) | def self.static_loader method implementation_registry (line 119) | def self.implementation_registry method register_implementations (line 124) | def register_implementations(obj_classes, name_authority) method register_static_implementations (line 129) | def self.register_static_implementations(obj_classes) method register_implementations_with_loader (line 133) | def self.register_implementations_with_loader(obj_classes, name_auth... method register_runtime3_type (line 151) | def self.register_runtime3_type(name, origin) method catalog_loader (line 168) | def self.catalog_loader method loaders (line 182) | def self.loaders method [] (line 194) | def [](loader_name) method find_loader (line 211) | def find_loader(module_name) method implementation_registry (line 227) | def implementation_registry method static_loader (line 232) | def static_loader method puppet_system_loader (line 236) | def puppet_system_loader method runtime3_type_loader (line 240) | def runtime3_type_loader method public_loader_for_module (line 244) | def public_loader_for_module(module_name) method private_loader_for_module (line 253) | def private_loader_for_module(module_name) method add_loader_by_name (line 264) | def add_loader_by_name(loader) method load_main_manifest (line 285) | def load_main_manifest method instantiate_definitions (line 318) | def instantiate_definitions(program, loader) method instantiate_definition (line 324) | def instantiate_definition(definition, loader) method instantiate_PlanDefinition (line 341) | def instantiate_PlanDefinition(plan_definition, loader) method instantiate_FunctionDefinition (line 347) | def instantiate_FunctionDefinition(function_definition, loader) method instantiate_TypeAlias (line 354) | def instantiate_TypeAlias(type_alias, loader) method instantiate_TypeMapping (line 360) | def instantiate_TypeMapping(type_mapping, loader) method create_puppet_system_loader (line 368) | def create_puppet_system_loader method create_puppet_cache_loader (line 372) | def create_puppet_cache_loader method create_environment_loader (line 376) | def create_environment_loader(environment, parent_loader, load_from_... method configure_loaders_for_modules (line 436) | def configure_loaders_for_modules(parent_loader, environment) class LoaderModuleData (line 457) | class LoaderModuleData method initialize (line 467) | def initialize(puppet_module) method name (line 474) | def name method version (line 478) | def version method path (line 482) | def path method resolved? (line 486) | def resolved? method restrict_to_dependencies? (line 490) | def restrict_to_dependencies? method unmet_dependencies? (line 494) | def unmet_dependencies? method dependency_names (line 498) | def dependency_names class ModuleResolver (line 505) | class ModuleResolver method initialize (line 506) | def initialize(loaders) method [] (line 512) | def [](name) method []= (line 516) | def []=(name, module_data) method all_module_loaders (line 520) | def all_module_loaders method resolve (line 524) | def resolve(module_data) method create_loader_with_all_modules_visible (line 539) | def create_loader_with_all_modules_visible(from_module_data) method create_loader_with_dependencies_first (line 543) | def create_loader_with_dependencies_first(from_module_data) FILE: lib/puppet/pops/lookup.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup function lookup (line 24) | def self.lookup(name, value_type, default_value, has_default, merge,... function debug_preamble (line 71) | def self.debug_preamble(names) function search_and_merge (line 81) | def self.search_and_merge(name, lookup_invocation, merge, apl = true) function assert_type (line 87) | def self.assert_type(subject, type, value) function fail_lookup (line 92) | def self.fail_lookup(names) FILE: lib/puppet/pops/lookup/configured_data_provider.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup class ConfiguredDataProvider (line 9) | class ConfiguredDataProvider method initialize (line 13) | def initialize(config = nil) method config (line 17) | def config(lookup_invocation) method config= (line 23) | def config=(config) method config_path (line 28) | def config_path method name (line 33) | def name method unchecked_key_lookup (line 49) | def unchecked_key_lookup(key, lookup_invocation, merge) method assert_config_version (line 70) | def assert_config_version(config) method provider_root (line 80) | def provider_root(lookup_invocation) method configuration_path (line 84) | def configuration_path(lookup_invocation) method data_providers (line 90) | def data_providers(lookup_invocation) FILE: lib/puppet/pops/lookup/context.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class EnvironmentContext (line 9) | class EnvironmentContext < Adaptable::Adapter class FileData (line 10) | class FileData method initialize (line 13) | def initialize(path, inode, mtime, size, data) method valid? (line 21) | def valid?(stat) method create_adapter (line 28) | def self.create_adapter(environment) method initialize (line 32) | def initialize(environment) method cached_file_data (line 48) | def cached_file_data(path) class FunctionContext (line 64) | class FunctionContext method initialize (line 70) | def initialize(environment_context, module_name, function) method cache (line 78) | def cache(key, value) method cache_all (line 82) | def cache_all(hash) method cache_has_key (line 87) | def cache_has_key(key) method cached_value (line 91) | def cached_value(key) method cached_entries (line 95) | def cached_entries(&block) method cached_file_data (line 110) | def cached_file_data(path, &block) method environment_name (line 114) | def environment_name class Context (line 126) | class Context method _pcore_type (line 130) | def self._pcore_type method register_ptype (line 134) | def self.register_ptype(loader, ir) method from_asserted_args (line 172) | def self.from_asserted_args(module_name) method initialize (line 179) | def initialize(function_context, lookup_invocation) method explain (line 186) | def explain(&block) method interpolate (line 194) | def interpolate(value) method not_found (line 198) | def not_found method invocation (line 203) | def invocation FILE: lib/puppet/pops/lookup/data_adapter.rb type Puppet::Pops (line 3) | module Puppet::Pops type Lookup (line 4) | module Lookup class DataAdapter (line 7) | class DataAdapter < Adaptable::Adapter method create_adapter (line 8) | def self.create_adapter(o) method initialize (line 12) | def initialize method [] (line 16) | def [](name) method include? (line 20) | def include?(name) method []= (line 24) | def []=(name, value) FILE: lib/puppet/pops/lookup/data_dig_function_provider.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class DataDigFunctionProvider (line 8) | class DataDigFunctionProvider < FunctionProvider method unchecked_key_lookup (line 18) | def unchecked_key_lookup(key, lookup_invocation, merge) method invoke_with_location (line 26) | def invoke_with_location(lookup_invocation, location, key, merge) method label (line 36) | def label method validated_data_dig (line 40) | def validated_data_dig(key, lookup_invocation, location, merge) method data_dig (line 49) | def data_dig(key, lookup_invocation, location, merge) class V3BackendFunctionProvider (line 67) | class V3BackendFunctionProvider < DataDigFunctionProvider method data_dig (line 70) | def data_dig(key, lookup_invocation, location, merge) method full_name (line 79) | def full_name method value_is_validated? (line 83) | def value_is_validated? method instantiate_backend (line 89) | def instantiate_backend(lookup_invocation) method convert_merge (line 109) | def convert_merge(merge) FILE: lib/puppet/pops/lookup/data_hash_function_provider.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup class DataHashFunctionProvider (line 9) | class DataHashFunctionProvider < FunctionProvider method trusted_return_type (line 15) | def self.trusted_return_type method unchecked_key_lookup (line 26) | def unchecked_key_lookup(key, lookup_invocation, merge) method invoke_with_location (line 37) | def invoke_with_location(lookup_invocation, location, root_key) method lookup_key (line 52) | def lookup_key(lookup_invocation, location, root_key) method data_value (line 56) | def data_value(lookup_invocation, location, root_key) method data_hash (line 70) | def data_hash(lookup_invocation, location) method call_data_hash_function (line 78) | def call_data_hash_function(ctx, lookup_invocation, location) class V3DataHashFunctionProvider (line 84) | class V3DataHashFunctionProvider < DataHashFunctionProvider method initialize (line 87) | def initialize(name, parent_data_provider, function_name, options,... method unchecked_key_lookup (line 92) | def unchecked_key_lookup(key, lookup_invocation, merge) class V4DataHashFunctionProvider (line 112) | class V4DataHashFunctionProvider < DataHashFunctionProvider method name (line 115) | def name method full_name (line 119) | def full_name method call_data_hash_function (line 123) | def call_data_hash_function(ctx, lookup_invocation, location) FILE: lib/puppet/pops/lookup/data_provider.rb type Puppet::Pops (line 3) | module Puppet::Pops type Lookup (line 4) | module Lookup type DataProvider (line 6) | module DataProvider function key_type (line 7) | def self.key_type function value_type (line 11) | def self.value_type function register_types (line 15) | def self.register_types(loader) function key_lookup (line 27) | def key_lookup(key, lookup_invocation, merge) function key_lookup_in_default (line 38) | def key_lookup_in_default(key, lookup_invocation, merge) function lookup (line 42) | def lookup(key, lookup_invocation, merge) function unchecked_key_lookup (line 53) | def unchecked_key_lookup(key, lookup_invocation, merge) function module_name (line 58) | def module_name function name (line 63) | def name function value_is_validated? (line 68) | def value_is_validated? function validate_data_hash (line 76) | def validate_data_hash(data_hash, &block) function validate_data_value (line 84) | def validate_data_value(value, &block) FILE: lib/puppet/pops/lookup/environment_data_provider.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class EnvironmentDataProvider (line 8) | class EnvironmentDataProvider < ConfiguredDataProvider method place (line 9) | def place method assert_config_version (line 15) | def assert_config_version(config) method provider_root (line 32) | def provider_root(lookup_invocation) FILE: lib/puppet/pops/lookup/explainer.rb type Puppet::Pops (line 3) | module Puppet::Pops type Lookup (line 4) | module Lookup class ExplainNode (line 11) | class ExplainNode method branches (line 12) | def branches method to_hash (line 16) | def to_hash method explain (line 22) | def explain method inspect (line 28) | def inspect method to_s (line 32) | def to_s method text (line 38) | def text(text) method dump_on (line 43) | def dump_on(io, indent, first_indent) method dump_texts (line 47) | def dump_texts(io, indent) class ExplainTreeNode (line 52) | class ExplainTreeNode < ExplainNode method initialize (line 56) | def initialize(parent) method found_in_overrides (line 61) | def found_in_overrides(key, value) method found_in_defaults (line 67) | def found_in_defaults(key, value) method found (line 73) | def found(key, value) method result (line 79) | def result(value) method not_found (line 84) | def not_found(key) method location_not_found (line 89) | def location_not_found method increase_indent (line 93) | def increase_indent(indent) method to_hash (line 97) | def to_hash method type (line 107) | def type method dump_outcome (line 111) | def dump_outcome(io, indent) method dump_value (line 125) | def dump_value(io, indent, value) method to_s (line 158) | def to_s class ExplainTop (line 163) | class ExplainTop < ExplainTreeNode method initialize (line 164) | def initialize(parent, type, key) method dump_on (line 170) | def dump_on(io, indent, first_indent) class ExplainInvalidKey (line 177) | class ExplainInvalidKey < ExplainTreeNode method initialize (line 178) | def initialize(parent, key) method dump_on (line 183) | def dump_on(io, indent, first_indent) method type (line 187) | def type class ExplainMergeSource (line 192) | class ExplainMergeSource < ExplainNode method initialize (line 195) | def initialize(merge_source) method dump_on (line 199) | def dump_on(io, indent, first_indent) method to_hash (line 203) | def to_hash method type (line 207) | def type class ExplainModule (line 212) | class ExplainModule < ExplainTreeNode method initialize (line 213) | def initialize(parent, module_name) method dump_on (line 218) | def dump_on(io, indent, first_indent) method module_not_found (line 227) | def module_not_found method module_provider_not_found (line 231) | def module_provider_not_found method type (line 235) | def type class ExplainInterpolate (line 240) | class ExplainInterpolate < ExplainTreeNode method initialize (line 241) | def initialize(parent, expression) method dump_on (line 246) | def dump_on(io, indent, first_indent) method to_hash (line 252) | def to_hash method type (line 258) | def type class ExplainMerge (line 263) | class ExplainMerge < ExplainTreeNode method initialize (line 264) | def initialize(parent, merge) method dump_on (line 269) | def dump_on(io, indent, first_indent) method to_hash (line 291) | def to_hash method type (line 301) | def type method options_wo_strategy (line 305) | def options_wo_strategy class ExplainGlobal (line 315) | class ExplainGlobal < ExplainTreeNode method initialize (line 316) | def initialize(parent, binding_terminus) method dump_on (line 321) | def dump_on(io, indent, first_indent) method to_hash (line 328) | def to_hash method type (line 334) | def type class ExplainDataProvider (line 339) | class ExplainDataProvider < ExplainTreeNode method initialize (line 340) | def initialize(parent, provider) method dump_on (line 345) | def dump_on(io, indent, first_indent) method to_hash (line 356) | def to_hash method type (line 367) | def type class ExplainLocation (line 372) | class ExplainLocation < ExplainTreeNode method initialize (line 373) | def initialize(parent, location) method dump_on (line 378) | def dump_on(io, indent, first_indent) method to_hash (line 389) | def to_hash method type (line 402) | def type class ExplainSubLookup (line 407) | class ExplainSubLookup < ExplainTreeNode method initialize (line 408) | def initialize(parent, sub_key) method dump_on (line 413) | def dump_on(io, indent, first_indent) method type (line 420) | def type class ExplainKeySegment (line 425) | class ExplainKeySegment < ExplainTreeNode method initialize (line 426) | def initialize(parent, segment) method dump_on (line 431) | def dump_on(io, indent, first_indent) method type (line 435) | def type class ExplainScope (line 440) | class ExplainScope < ExplainTreeNode method initialize (line 441) | def initialize(parent, name) method dump_on (line 446) | def dump_on(io, indent, first_indent) method to_hash (line 453) | def to_hash method type (line 459) | def type class Explainer (line 464) | class Explainer < ExplainNode method initialize (line 465) | def initialize(explain_options = false, only_explain_options = false) method push (line 471) | def push(qualifier_type, qualifier) method only_explain_options? (line 503) | def only_explain_options? method explain_options? (line 507) | def explain_options? method pop (line 511) | def pop method accept_found_in_overrides (line 515) | def accept_found_in_overrides(key, value) method accept_found_in_defaults (line 519) | def accept_found_in_defaults(key, value) method accept_found (line 523) | def accept_found(key, value) method accept_merge_source (line 527) | def accept_merge_source(merge_source) method accept_not_found (line 531) | def accept_not_found(key) method accept_location_not_found (line 535) | def accept_location_not_found method accept_module_not_found (line 539) | def accept_module_not_found(module_name) method accept_module_provider_not_found (line 545) | def accept_module_provider_not_found(module_name) method accept_result (line 551) | def accept_result(result) method accept_text (line 555) | def accept_text(text) method dump_on (line 559) | def dump_on(io, indent, first_indent) method to_hash (line 564) | def to_hash class DebugExplainer (line 569) | class DebugExplainer < Explainer method initialize (line 572) | def initialize(wrapped_explainer) method dump_on (line 585) | def dump_on(io, indent, first_indent) method emit_debug_info (line 589) | def emit_debug_info(preamble) FILE: lib/puppet/pops/lookup/function_provider.rb type Puppet::Pops (line 7) | module Puppet::Pops type Lookup (line 8) | module Lookup class FunctionProvider (line 10) | class FunctionProvider method trusted_return_type (line 20) | def self.trusted_return_type method initialize (line 24) | def initialize(name, parent_data_provider, function_name, options,... method function_context (line 34) | def function_context(lookup_invocation, location) method create_function_context (line 38) | def create_function_context(lookup_invocation) method module_name (line 42) | def module_name method name (line 46) | def name method full_name (line 50) | def full_name method to_s (line 54) | def to_s method options (line 62) | def options(location = nil) method value_is_validated? (line 74) | def value_is_validated? method function (line 80) | def function(lookup_invocation) method load_function (line 84) | def load_function(lookup_invocation) FILE: lib/puppet/pops/lookup/global_data_provider.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup class GlobalDataProvider (line 9) | class GlobalDataProvider < ConfiguredDataProvider method place (line 10) | def place method unchecked_key_lookup (line 14) | def unchecked_key_lookup(key, lookup_invocation, merge) method assert_config_version (line 58) | def assert_config_version(config) method provider_root (line 67) | def provider_root(lookup_invocation) method configuration_path (line 71) | def configuration_path(lookup_invocation) FILE: lib/puppet/pops/lookup/hiera_config.rb type Puppet::Pops (line 8) | module Puppet::Pops type Lookup (line 9) | module Lookup class ScopeLookupCollectingInvocation (line 11) | class ScopeLookupCollectingInvocation < Invocation method initialize (line 12) | def initialize(scope) method remember_scope_lookup (line 17) | def remember_scope_lookup(key, root_key, segments, value) method scope_interpolations (line 21) | def scope_interpolations method with_local_memory_eluding (line 28) | def with_local_memory_eluding(name) class HieraConfig (line 39) | class HieraConfig method v4_function_config (line 84) | def self.v4_function_config(config_root, function_name, owner) method config_exist? (line 102) | def self.config_exist?(config_root) method symkeys_to_string (line 107) | def self.symkeys_to_string(struct) method create (line 127) | def self.create(lookup_invocation, config_path, owner) method initialize (line 177) | def initialize(config_root, config_path, loaded_config, owner) method fail (line 185) | def fail(issue, args = EMPTY_HASH, line = nil) method has_default_hierarchy? (line 191) | def has_default_hierarchy? method configured_data_providers (line 200) | def configured_data_providers(lookup_invocation, parent_data_provi... method find_line_matching (line 226) | def find_line_matching(regexp, start_line = 1) method scope_interpolations_stable? (line 252) | def scope_interpolations_stable?(lookup_invocation) method create_configured_data_providers (line 272) | def create_configured_data_providers(lookup_invocation, parent_dat... method validate_config (line 276) | def validate_config(config, owner) method version (line 280) | def version method name (line 284) | def name method create_hiera3_backend_provider (line 288) | def create_hiera3_backend_provider(name, backend, parent_data_prov... method create_data_provider (line 339) | def create_data_provider(name, parent_data_provider, function_kind... method not_implemented (line 343) | def self.not_implemented(impl, method_name) class HieraConfigV3 (line 350) | class HieraConfigV3 < HieraConfig method config_type (line 355) | def self.config_type method create_configured_data_providers (line 372) | def create_configured_data_providers(lookup_invocation, parent_dat... method validate_config (line 439) | def validate_config(config, owner) method merge_strategy (line 461) | def merge_strategy method version (line 465) | def version method create_merge_strategy (line 471) | def create_merge_strategy class HieraConfigV4 (line 488) | class HieraConfigV4 < HieraConfig method config_type (line 489) | def self.config_type method create_configured_data_providers (line 509) | def create_configured_data_providers(lookup_invocation, parent_dat... method validate_config (line 553) | def validate_config(config, owner) method version (line 563) | def version class HieraConfigV5 (line 569) | class HieraConfigV5 < HieraConfig method config_type (line 570) | def self.config_type method create_configured_data_providers (line 621) | def create_configured_data_providers(lookup_invocation, parent_dat... method has_default_hierarchy? (line 722) | def has_default_hierarchy? method validate_config (line 742) | def validate_config(config, owner) method validate_hierarchy (line 764) | def validate_hierarchy(he, defaults, owner) method validate_defaults (line 802) | def validate_defaults(defaults) method version (line 818) | def version FILE: lib/puppet/pops/lookup/interpolation.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup type Interpolation (line 11) | module Interpolation function interpolate (line 19) | def interpolate(value, context, allow_methods) function interpolate_string (line 48) | def interpolate_string(subject, context, allow_methods) function interpolate_method (line 75) | def interpolate_method(method_key) function nil_in_scope? (line 138) | def nil_in_scope?(scope, key) function get_method_and_data (line 146) | def get_method_and_data(data, allow_methods) function fail (line 159) | def fail(issue, args = EMPTY_HASH) FILE: lib/puppet/pops/lookup/invocation.rb type Puppet::Pops (line 7) | module Puppet::Pops type Lookup (line 8) | module Lookup class Invocation (line 10) | class Invocation method current (line 13) | def self.current method current= (line 17) | def self.current=(new_value) method with_scope (line 26) | def with_scope(scope) method initialize (line 42) | def initialize(scope, override_values = EMPTY_HASH, default_values... method lookup (line 74) | def lookup(key, module_name = nil) method check (line 91) | def check(name) method emit_debug_info (line 109) | def emit_debug_info(preamble) method lookup_adapter (line 114) | def lookup_adapter method remember_scope_lookup (line 124) | def remember_scope_lookup(*lookup_result) method with (line 138) | def with(qualifier_type, qualifier) method without_explain (line 151) | def without_explain method only_explain_options? (line 165) | def only_explain_options? method explain_options? (line 169) | def explain_options? method report_found_in_overrides (line 173) | def report_found_in_overrides(key, value) method report_found_in_defaults (line 178) | def report_found_in_defaults(key, value) method report_found (line 183) | def report_found(key, value) method report_merge_source (line 188) | def report_merge_source(merge_source) method report_result (line 195) | def report_result(value) method report_not_found (line 200) | def report_not_found(key) method report_location_not_found (line 204) | def report_location_not_found method report_module_not_found (line 208) | def report_module_not_found(module_name) method report_module_provider_not_found (line 212) | def report_module_provider_not_found(module_name) method report_text (line 216) | def report_text(&block) method global_only? (line 222) | def global_only? method set_global_only (line 228) | def set_global_only method global_hiera_config_path (line 234) | def global_hiera_config_path method hiera_xxx_call? (line 239) | def hiera_xxx_call? method set_hiera_xxx_call (line 243) | def set_hiera_xxx_call method hiera_v3_merge_behavior? (line 248) | def hiera_v3_merge_behavior? method set_hiera_v3_merge_behavior (line 252) | def set_hiera_v3_merge_behavior method set_hiera_v3_location_overrides (line 257) | def set_hiera_v3_location_overrides(overrides) method hiera_v3_location_overrides (line 261) | def hiera_v3_location_overrides method name_stack (line 267) | def name_stack FILE: lib/puppet/pops/lookup/key_recorder.rb class Puppet::Pops::Lookup::KeyRecorder (line 6) | class Puppet::Pops::Lookup::KeyRecorder method initialize (line 7) | def initialize method singleton (line 11) | def self.singleton method record (line 19) | def record(key) FILE: lib/puppet/pops/lookup/location_resolver.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup class ResolvedLocation (line 12) | class ResolvedLocation method initialize (line 19) | def initialize(original_location, location, exist) method exist? (line 27) | def exist? method to_s (line 32) | def to_s type LocationResolver (line 40) | module LocationResolver function expand_globs (line 43) | def expand_globs(datadir, declared_globs, lookup_invocation) function resolve_paths (line 56) | def resolve_paths(datadir, declared_paths, lookup_invocation, is_d... function expand_uris (line 71) | def expand_uris(declared_uris, lookup_invocation) function expand_mapped_paths (line 78) | def expand_mapped_paths(datadir, mapped_path_triplet, lookup_invoc... FILE: lib/puppet/pops/lookup/lookup_adapter.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup class LookupAdapter (line 13) | class LookupAdapter < DataAdapter method create_adapter (line 23) | def self.create_adapter(compiler) method initialize (line 27) | def initialize(compiler) method lookup (line 46) | def lookup(key, lookup_invocation, merge) method convert_result (line 98) | def convert_result(key, lookup_options, lookup_invocation, the_loo... method lookup_global (line 126) | def lookup_global(key, lookup_invocation, merge_strategy) method lookup_in_environment (line 156) | def lookup_in_environment(key, lookup_invocation, merge_strategy) method lookup_in_module (line 162) | def lookup_in_module(key, lookup_invocation, merge_strategy) method lookup_default_in_module (line 180) | def lookup_default_in_module(key, lookup_invocation) method lookup_merge_options (line 225) | def lookup_merge_options(key, lookup_invocation) method lookup_lookup_options (line 236) | def lookup_lookup_options(key, lookup_invocation) method extract_lookup_options_for_key (line 249) | def extract_lookup_options_for_key(key, options) method has_environment_data_provider? (line 266) | def has_environment_data_provider?(lookup_invocation) method global_hiera_config_path (line 272) | def global_hiera_config_path method set_global_hiera_config_path (line 278) | def set_global_hiera_config_path(path) method global_only? (line 283) | def global_only? method set_global_only (line 289) | def set_global_only method validate_lookup_options (line 298) | def validate_lookup_options(options, module_name) method compile_patterns (line 317) | def compile_patterns(options) method do_lookup (line 332) | def do_lookup(key, lookup_invocation, merge) method retrieve_lookup_options (line 346) | def retrieve_lookup_options(module_name, lookup_invocation, merge_... method global_lookup_options (line 375) | def global_lookup_options(lookup_invocation, merge_strategy) method env_lookup_options (line 385) | def env_lookup_options(lookup_invocation, merge_strategy) method global_provider (line 401) | def global_provider(lookup_invocation) method env_provider (line 406) | def env_provider(lookup_invocation) method module_provider (line 411) | def module_provider(lookup_invocation, module_name) method initialize_module_provider (line 420) | def initialize_module_provider(lookup_invocation, module_name) method initialize_env_provider (line 467) | def initialize_env_provider(lookup_invocation) method environment (line 523) | def environment FILE: lib/puppet/pops/lookup/lookup_key.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class LookupKey (line 8) | class LookupKey method initialize (line 13) | def initialize(key) method dig (line 24) | def dig(lookup_invocation, value) method prune (line 37) | def prune(value) method undig (line 64) | def undig(value) method to_a (line 76) | def to_a method eql? (line 85) | def eql?(v) method hash (line 90) | def hash method to_s (line 94) | def to_s FILE: lib/puppet/pops/lookup/lookup_key_function_provider.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class LookupKeyFunctionProvider (line 8) | class LookupKeyFunctionProvider < FunctionProvider method unchecked_key_lookup (line 18) | def unchecked_key_lookup(key, lookup_invocation, merge) method invoke_with_location (line 27) | def invoke_with_location(lookup_invocation, location, root_key, me... method label (line 39) | def label method lookup_key (line 45) | def lookup_key(key, lookup_invocation, location, merge) class V3LookupKeyFunctionProvider (line 68) | class V3LookupKeyFunctionProvider < LookupKeyFunctionProvider method initialize (line 71) | def initialize(name, parent_data_provider, function_name, options,... method unchecked_key_lookup (line 76) | def unchecked_key_lookup(key, lookup_invocation, merge) FILE: lib/puppet/pops/lookup/module_data_provider.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup class ModuleDataProvider (line 8) | class ModuleDataProvider < ConfiguredDataProvider method initialize (line 11) | def initialize(module_name, config = nil) method place (line 16) | def place method key_lookup_in_default (line 26) | def key_lookup_in_default(key, lookup_invocation, merge) method validate_data_hash (line 47) | def validate_data_hash(data_hash) method assert_config_version (line 64) | def assert_config_version(config) method provider_root (line 83) | def provider_root(lookup_invocation) FILE: lib/puppet/pops/lookup/sub_lookup.rb type Puppet::Pops (line 3) | module Puppet::Pops type Lookup (line 4) | module Lookup type SubLookup (line 5) | module SubLookup function split_key (line 21) | def split_key(key) function sub_lookup (line 62) | def sub_lookup(key, context, segments, value) FILE: lib/puppet/pops/merge_strategy.rb type Puppet::Pops (line 5) | module Puppet::Pops class MergeStrategy (line 8) | class MergeStrategy method strategies (line 11) | def self.strategies method strategy (line 22) | def self.strategy(merge) method strategy_keys (line 49) | def self.strategy_keys method add_strategy (line 57) | def self.add_strategy(strategy_class) method merge (line 73) | def self.merge(e1, e2, merge) method key (line 77) | def self.key method initialize (line 83) | def initialize(options) method merge (line 95) | def merge(e1, e2) method merge_lookup (line 104) | def merge_lookup(lookup_variants) method lookup (line 126) | def lookup(lookup_variants, lookup_invocation) method convert_value (line 156) | def convert_value(value) method merge_single (line 163) | def merge_single(value) method options (line 167) | def options method configuration (line 171) | def configuration method options_t (line 186) | def options_t method value_t (line 195) | def value_t method checked_merge (line 199) | def checked_merge(e1, e2) method assert_type (line 203) | def assert_type(param, type, value) class FirstFoundStrategy (line 210) | class FirstFoundStrategy < MergeStrategy method key (line 213) | def self.key method lookup (line 223) | def lookup(lookup_variants, _) method value_t (line 232) | def value_t class DefaultMergeStrategy (line 240) | class DefaultMergeStrategy < FirstFoundStrategy method key (line 243) | def self.key class HashMergeStrategy (line 253) | class HashMergeStrategy < MergeStrategy method key (line 256) | def self.key method checked_merge (line 264) | def checked_merge(e1, e2) method value_t (line 270) | def value_t class UniqueMergeStrategy (line 283) | class UniqueMergeStrategy < MergeStrategy method key (line 286) | def self.key method checked_merge (line 294) | def checked_merge(e1, e2) method convert_value (line 298) | def convert_value(e) method merge_single (line 306) | def merge_single(value) method value_t (line 312) | def value_t class DeepMergeStrategy (line 365) | class DeepMergeStrategy < MergeStrategy method key (line 368) | def self.key method checked_merge (line 372) | def checked_merge(e1, e2) method deep_clone (line 379) | def deep_clone(value) method options_t (line 399) | def options_t method value_t (line 410) | def value_t class UnconstrainedDeepMergeStrategy (line 419) | class UnconstrainedDeepMergeStrategy < DeepMergeStrategy method key (line 420) | def self.key method options_t (line 425) | def self.options_t class ReverseDeepMergeStrategy (line 434) | class ReverseDeepMergeStrategy < UnconstrainedDeepMergeStrategy method key (line 437) | def self.key method checked_merge (line 441) | def checked_merge(e1, e2) FILE: lib/puppet/pops/migration/migration_checker.rb class Puppet::Pops::Migration::MigrationChecker (line 6) | class Puppet::Pops::Migration::MigrationChecker method initialize (line 7) | def initialize method singleton (line 11) | def self.singleton method available_migrations (line 18) | def available_migrations method report_ambiguous_integer (line 23) | def report_ambiguous_integer(o) method report_ambiguous_float (line 28) | def report_ambiguous_float(o) method report_empty_string_true (line 33) | def report_empty_string_true(value, o) method report_uc_bareword_type (line 38) | def report_uc_bareword_type(value, o) method report_equality_type_mismatch (line 43) | def report_equality_type_mismatch(left, right, o) method report_option_type_mismatch (line 48) | def report_option_type_mismatch(test_value, option_value, option_expr,... method report_in_expression (line 53) | def report_in_expression(o) method report_array_last_in_block (line 58) | def report_array_last_in_block(o) FILE: lib/puppet/pops/model/ast.rb type Puppet (line 5) | module Puppet type Pops (line 6) | module Pops type Model (line 7) | module Model class PopsObject (line 8) | class PopsObject method _pcore_type (line 9) | def self._pcore_type method from_hash (line 16) | def self.from_hash(init_hash) method from_asserted_hash (line 20) | def self.from_asserted_hash(init_hash) method create (line 24) | def self.create method initialize (line 29) | def initialize method _pcore_init_hash (line 33) | def _pcore_init_hash method _pcore_contents (line 37) | def _pcore_contents method _pcore_all_contents (line 40) | def _pcore_all_contents(path) method to_s (line 43) | def to_s method eql? (line 47) | def eql?(o) class Positioned (line 53) | class Positioned < PopsObject method _pcore_type (line 54) | def self._pcore_type method from_hash (line 84) | def self.from_hash(init_hash) method from_asserted_hash (line 88) | def self.from_asserted_hash(init_hash) method create (line 95) | def self.create(locator, offset, length) method file (line 108) | def file method line (line 112) | def line method pos (line 116) | def pos method initialize (line 120) | def initialize(locator, offset, length) method _pcore_init_hash (line 127) | def _pcore_init_hash class Expression (line 136) | class Expression < Positioned method _pcore_type (line 137) | def self._pcore_type class Nop (line 144) | class Nop < Expression method _pcore_type (line 145) | def self._pcore_type class BinaryExpression (line 152) | class BinaryExpression < Expression method _pcore_type (line 153) | def self._pcore_type method from_hash (line 164) | def self.from_hash(init_hash) method from_asserted_hash (line 168) | def self.from_asserted_hash(init_hash) method create (line 177) | def self.create(locator, offset, length, left_expr, right_expr) method initialize (line 191) | def initialize(locator, offset, length, left_expr, right_expr) method _pcore_init_hash (line 198) | def _pcore_init_hash method _pcore_contents (line 205) | def _pcore_contents method _pcore_all_contents (line 210) | def _pcore_all_contents(path, &block) method eql? (line 223) | def eql?(o) class UnaryExpression (line 231) | class UnaryExpression < Expression method _pcore_type (line 232) | def self._pcore_type method from_hash (line 242) | def self.from_hash(init_hash) method from_asserted_hash (line 246) | def self.from_asserted_hash(init_hash) method create (line 254) | def self.create(locator, offset, length, expr) method initialize (line 266) | def initialize(locator, offset, length, expr) method _pcore_init_hash (line 272) | def _pcore_init_hash method _pcore_contents (line 278) | def _pcore_contents method _pcore_all_contents (line 282) | def _pcore_all_contents(path, &block) method eql? (line 291) | def eql?(o) class ParenthesizedExpression (line 298) | class ParenthesizedExpression < UnaryExpression method _pcore_type (line 299) | def self._pcore_type method _pcore_contents (line 305) | def _pcore_contents method _pcore_all_contents (line 309) | def _pcore_all_contents(path, &block) class NotExpression (line 319) | class NotExpression < UnaryExpression method _pcore_type (line 320) | def self._pcore_type method _pcore_contents (line 326) | def _pcore_contents method _pcore_all_contents (line 330) | def _pcore_all_contents(path, &block) class UnaryMinusExpression (line 340) | class UnaryMinusExpression < UnaryExpression method _pcore_type (line 341) | def self._pcore_type method _pcore_contents (line 347) | def _pcore_contents method _pcore_all_contents (line 351) | def _pcore_all_contents(path, &block) class UnfoldExpression (line 361) | class UnfoldExpression < UnaryExpression method _pcore_type (line 362) | def self._pcore_type method _pcore_contents (line 368) | def _pcore_contents method _pcore_all_contents (line 372) | def _pcore_all_contents(path, &block) class AssignmentExpression (line 382) | class AssignmentExpression < BinaryExpression method _pcore_type (line 383) | def self._pcore_type method from_hash (line 393) | def self.from_hash(init_hash) method from_asserted_hash (line 397) | def self.from_asserted_hash(init_hash) method create (line 407) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 421) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 427) | def _pcore_init_hash method _pcore_contents (line 433) | def _pcore_contents method _pcore_all_contents (line 438) | def _pcore_all_contents(path, &block) method eql? (line 451) | def eql?(o) class ArithmeticExpression (line 458) | class ArithmeticExpression < BinaryExpression method _pcore_type (line 459) | def self._pcore_type method from_hash (line 470) | def self.from_hash(init_hash) method from_asserted_hash (line 474) | def self.from_asserted_hash(init_hash) method create (line 484) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 498) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 504) | def _pcore_init_hash method _pcore_contents (line 510) | def _pcore_contents method _pcore_all_contents (line 515) | def _pcore_all_contents(path, &block) method eql? (line 528) | def eql?(o) class RelationshipExpression (line 535) | class RelationshipExpression < BinaryExpression method _pcore_type (line 536) | def self._pcore_type method from_hash (line 545) | def self.from_hash(init_hash) method from_asserted_hash (line 549) | def self.from_asserted_hash(init_hash) method create (line 559) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 573) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 579) | def _pcore_init_hash method _pcore_contents (line 585) | def _pcore_contents method _pcore_all_contents (line 590) | def _pcore_all_contents(path, &block) method eql? (line 603) | def eql?(o) class AccessExpression (line 610) | class AccessExpression < Expression method _pcore_type (line 611) | def self._pcore_type method from_hash (line 626) | def self.from_hash(init_hash) method from_asserted_hash (line 630) | def self.from_asserted_hash(init_hash) method create (line 639) | def self.create(locator, offset, length, left_expr, keys = _pcor... method initialize (line 653) | def initialize(locator, offset, length, left_expr, keys = _pcore... method _pcore_init_hash (line 660) | def _pcore_init_hash method _pcore_contents (line 667) | def _pcore_contents method _pcore_all_contents (line 672) | def _pcore_all_contents(path, &block) method eql? (line 685) | def eql?(o) class ComparisonExpression (line 693) | class ComparisonExpression < BinaryExpression method _pcore_type (line 694) | def self._pcore_type method from_hash (line 705) | def self.from_hash(init_hash) method from_asserted_hash (line 709) | def self.from_asserted_hash(init_hash) method create (line 719) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 733) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 739) | def _pcore_init_hash method _pcore_contents (line 745) | def _pcore_contents method _pcore_all_contents (line 750) | def _pcore_all_contents(path, &block) method eql? (line 763) | def eql?(o) class MatchExpression (line 770) | class MatchExpression < BinaryExpression method _pcore_type (line 771) | def self._pcore_type method from_hash (line 782) | def self.from_hash(init_hash) method from_asserted_hash (line 786) | def self.from_asserted_hash(init_hash) method create (line 796) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 810) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 816) | def _pcore_init_hash method _pcore_contents (line 822) | def _pcore_contents method _pcore_all_contents (line 827) | def _pcore_all_contents(path, &block) method eql? (line 840) | def eql?(o) class InExpression (line 847) | class InExpression < BinaryExpression method _pcore_type (line 848) | def self._pcore_type method _pcore_contents (line 854) | def _pcore_contents method _pcore_all_contents (line 859) | def _pcore_all_contents(path, &block) class BooleanExpression (line 873) | class BooleanExpression < BinaryExpression method _pcore_type (line 874) | def self._pcore_type method _pcore_contents (line 880) | def _pcore_contents method _pcore_all_contents (line 885) | def _pcore_all_contents(path, &block) class AndExpression (line 899) | class AndExpression < BooleanExpression method _pcore_type (line 900) | def self._pcore_type method _pcore_contents (line 906) | def _pcore_contents method _pcore_all_contents (line 911) | def _pcore_all_contents(path, &block) class OrExpression (line 925) | class OrExpression < BooleanExpression method _pcore_type (line 926) | def self._pcore_type method _pcore_contents (line 932) | def _pcore_contents method _pcore_all_contents (line 937) | def _pcore_all_contents(path, &block) class LiteralList (line 951) | class LiteralList < Expression method _pcore_type (line 952) | def self._pcore_type method from_hash (line 966) | def self.from_hash(init_hash) method from_asserted_hash (line 970) | def self.from_asserted_hash(init_hash) method create (line 978) | def self.create(locator, offset, length, values = _pcore_type['v... method initialize (line 990) | def initialize(locator, offset, length, values = _pcore_type['va... method _pcore_init_hash (line 996) | def _pcore_init_hash method _pcore_contents (line 1002) | def _pcore_contents method _pcore_all_contents (line 1006) | def _pcore_all_contents(path, &block) method eql? (line 1015) | def eql?(o) class KeyedEntry (line 1022) | class KeyedEntry < Positioned method _pcore_type (line 1023) | def self._pcore_type method from_hash (line 1035) | def self.from_hash(init_hash) method from_asserted_hash (line 1039) | def self.from_asserted_hash(init_hash) method create (line 1048) | def self.create(locator, offset, length, key, value) method initialize (line 1062) | def initialize(locator, offset, length, key, value) method _pcore_init_hash (line 1069) | def _pcore_init_hash method _pcore_contents (line 1076) | def _pcore_contents method _pcore_all_contents (line 1081) | def _pcore_all_contents(path, &block) method eql? (line 1094) | def eql?(o) class LiteralHash (line 1102) | class LiteralHash < Expression method _pcore_type (line 1103) | def self._pcore_type method from_hash (line 1117) | def self.from_hash(init_hash) method from_asserted_hash (line 1121) | def self.from_asserted_hash(init_hash) method create (line 1129) | def self.create(locator, offset, length, entries = _pcore_type['... method initialize (line 1141) | def initialize(locator, offset, length, entries = _pcore_type['e... method _pcore_init_hash (line 1147) | def _pcore_init_hash method _pcore_contents (line 1153) | def _pcore_contents method _pcore_all_contents (line 1157) | def _pcore_all_contents(path, &block) method eql? (line 1166) | def eql?(o) class BlockExpression (line 1173) | class BlockExpression < Expression method _pcore_type (line 1174) | def self._pcore_type method from_hash (line 1188) | def self.from_hash(init_hash) method from_asserted_hash (line 1192) | def self.from_asserted_hash(init_hash) method create (line 1200) | def self.create(locator, offset, length, statements = _pcore_typ... method initialize (line 1212) | def initialize(locator, offset, length, statements = _pcore_type... method _pcore_init_hash (line 1218) | def _pcore_init_hash method _pcore_contents (line 1224) | def _pcore_contents method _pcore_all_contents (line 1228) | def _pcore_all_contents(path, &block) method eql? (line 1237) | def eql?(o) class ApplyBlockExpression (line 1244) | class ApplyBlockExpression < BlockExpression method _pcore_type (line 1245) | def self._pcore_type class CaseOption (line 1252) | class CaseOption < Expression method _pcore_type (line 1253) | def self._pcore_type method from_hash (line 1268) | def self.from_hash(init_hash) method from_asserted_hash (line 1272) | def self.from_asserted_hash(init_hash) method create (line 1281) | def self.create(locator, offset, length, values, then_expr = nil) method initialize (line 1295) | def initialize(locator, offset, length, values, then_expr = nil) method _pcore_init_hash (line 1302) | def _pcore_init_hash method _pcore_contents (line 1309) | def _pcore_contents method _pcore_all_contents (line 1314) | def _pcore_all_contents(path, &block) method eql? (line 1327) | def eql?(o) class CaseExpression (line 1335) | class CaseExpression < Expression method _pcore_type (line 1336) | def self._pcore_type method from_hash (line 1351) | def self.from_hash(init_hash) method from_asserted_hash (line 1355) | def self.from_asserted_hash(init_hash) method create (line 1364) | def self.create(locator, offset, length, test, options = _pcore_... method initialize (line 1378) | def initialize(locator, offset, length, test, options = _pcore_t... method _pcore_init_hash (line 1385) | def _pcore_init_hash method _pcore_contents (line 1392) | def _pcore_contents method _pcore_all_contents (line 1397) | def _pcore_all_contents(path, &block) method eql? (line 1410) | def eql?(o) class QueryExpression (line 1418) | class QueryExpression < Expression method _pcore_type (line 1419) | def self._pcore_type method from_hash (line 1433) | def self.from_hash(init_hash) method from_asserted_hash (line 1437) | def self.from_asserted_hash(init_hash) method create (line 1445) | def self.create(locator, offset, length, expr = nil) method initialize (line 1457) | def initialize(locator, offset, length, expr = nil) method _pcore_init_hash (line 1463) | def _pcore_init_hash method _pcore_contents (line 1469) | def _pcore_contents method _pcore_all_contents (line 1473) | def _pcore_all_contents(path, &block) method eql? (line 1482) | def eql?(o) class ExportedQuery (line 1489) | class ExportedQuery < QueryExpression method _pcore_type (line 1490) | def self._pcore_type method _pcore_contents (line 1496) | def _pcore_contents method _pcore_all_contents (line 1500) | def _pcore_all_contents(path, &block) class VirtualQuery (line 1510) | class VirtualQuery < QueryExpression method _pcore_type (line 1511) | def self._pcore_type method _pcore_contents (line 1517) | def _pcore_contents method _pcore_all_contents (line 1521) | def _pcore_all_contents(path, &block) class AbstractAttributeOperation (line 1531) | class AbstractAttributeOperation < Positioned method _pcore_type (line 1532) | def self._pcore_type class AttributeOperation (line 1539) | class AttributeOperation < AbstractAttributeOperation method _pcore_type (line 1540) | def self._pcore_type method from_hash (line 1553) | def self.from_hash(init_hash) method from_asserted_hash (line 1557) | def self.from_asserted_hash(init_hash) method create (line 1567) | def self.create(locator, offset, length, attribute_name, operato... method initialize (line 1583) | def initialize(locator, offset, length, attribute_name, operator... method _pcore_init_hash (line 1591) | def _pcore_init_hash method _pcore_contents (line 1599) | def _pcore_contents method _pcore_all_contents (line 1603) | def _pcore_all_contents(path, &block) method eql? (line 1612) | def eql?(o) class AttributesOperation (line 1621) | class AttributesOperation < AbstractAttributeOperation method _pcore_type (line 1622) | def self._pcore_type method from_hash (line 1633) | def self.from_hash(init_hash) method from_asserted_hash (line 1637) | def self.from_asserted_hash(init_hash) method create (line 1645) | def self.create(locator, offset, length, expr) method initialize (line 1657) | def initialize(locator, offset, length, expr) method _pcore_init_hash (line 1663) | def _pcore_init_hash method _pcore_contents (line 1669) | def _pcore_contents method _pcore_all_contents (line 1673) | def _pcore_all_contents(path, &block) method eql? (line 1682) | def eql?(o) class CollectExpression (line 1689) | class CollectExpression < Expression method _pcore_type (line 1690) | def self._pcore_type method from_hash (line 1706) | def self.from_hash(init_hash) method from_asserted_hash (line 1710) | def self.from_asserted_hash(init_hash) method create (line 1720) | def self.create(locator, offset, length, type_expr, query, opera... method initialize (line 1736) | def initialize(locator, offset, length, type_expr, query, operat... method _pcore_init_hash (line 1744) | def _pcore_init_hash method _pcore_contents (line 1752) | def _pcore_contents method _pcore_all_contents (line 1758) | def _pcore_all_contents(path, &block) method eql? (line 1775) | def eql?(o) class Parameter (line 1784) | class Parameter < Positioned method _pcore_type (line 1785) | def self._pcore_type method from_hash (line 1808) | def self.from_hash(init_hash) method from_asserted_hash (line 1812) | def self.from_asserted_hash(init_hash) method create (line 1823) | def self.create(locator, offset, length, name, value = nil, type... method initialize (line 1841) | def initialize(locator, offset, length, name, value = nil, type_... method _pcore_init_hash (line 1850) | def _pcore_init_hash method _pcore_contents (line 1859) | def _pcore_contents method _pcore_all_contents (line 1864) | def _pcore_all_contents(path, &block) method eql? (line 1877) | def eql?(o) class Definition (line 1887) | class Definition < Expression method _pcore_type (line 1888) | def self._pcore_type class NamedDefinition (line 1895) | class NamedDefinition < Definition method _pcore_type (line 1896) | def self._pcore_type method from_hash (line 1915) | def self.from_hash(init_hash) method from_asserted_hash (line 1919) | def self.from_asserted_hash(init_hash) method create (line 1929) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 1945) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 1953) | def _pcore_init_hash method _pcore_contents (line 1961) | def _pcore_contents method _pcore_all_contents (line 1966) | def _pcore_all_contents(path, &block) method eql? (line 1979) | def eql?(o) class FunctionDefinition (line 1988) | class FunctionDefinition < NamedDefinition method _pcore_type (line 1989) | def self._pcore_type method from_hash (line 2003) | def self.from_hash(init_hash) method from_asserted_hash (line 2007) | def self.from_asserted_hash(init_hash) method create (line 2018) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 2033) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 2039) | def _pcore_init_hash method _pcore_contents (line 2045) | def _pcore_contents method _pcore_all_contents (line 2051) | def _pcore_all_contents(path, &block) method eql? (line 2068) | def eql?(o) class ResourceTypeDefinition (line 2075) | class ResourceTypeDefinition < NamedDefinition method _pcore_type (line 2076) | def self._pcore_type method _pcore_contents (line 2082) | def _pcore_contents method _pcore_all_contents (line 2087) | def _pcore_all_contents(path, &block) class QRefDefinition (line 2101) | class QRefDefinition < Definition method _pcore_type (line 2102) | def self._pcore_type method from_hash (line 2113) | def self.from_hash(init_hash) method from_asserted_hash (line 2117) | def self.from_asserted_hash(init_hash) method create (line 2125) | def self.create(locator, offset, length, name) method initialize (line 2137) | def initialize(locator, offset, length, name) method _pcore_init_hash (line 2143) | def _pcore_init_hash method eql? (line 2149) | def eql?(o) class TypeAlias (line 2156) | class TypeAlias < QRefDefinition method _pcore_type (line 2157) | def self._pcore_type method from_hash (line 2171) | def self.from_hash(init_hash) method from_asserted_hash (line 2175) | def self.from_asserted_hash(init_hash) method create (line 2184) | def self.create(locator, offset, length, name, type_expr = nil) method initialize (line 2197) | def initialize(locator, offset, length, name, type_expr = nil) method _pcore_init_hash (line 2203) | def _pcore_init_hash method _pcore_contents (line 2209) | def _pcore_contents method _pcore_all_contents (line 2213) | def _pcore_all_contents(path, &block) method eql? (line 2222) | def eql?(o) class TypeMapping (line 2229) | class TypeMapping < Definition method _pcore_type (line 2230) | def self._pcore_type method from_hash (line 2248) | def self.from_hash(init_hash) method from_asserted_hash (line 2252) | def self.from_asserted_hash(init_hash) method create (line 2261) | def self.create(locator, offset, length, type_expr = nil, mappin... method initialize (line 2275) | def initialize(locator, offset, length, type_expr = nil, mapping... method _pcore_init_hash (line 2282) | def _pcore_init_hash method _pcore_contents (line 2289) | def _pcore_contents method _pcore_all_contents (line 2294) | def _pcore_all_contents(path, &block) method eql? (line 2307) | def eql?(o) class TypeDefinition (line 2315) | class TypeDefinition < QRefDefinition method _pcore_type (line 2316) | def self._pcore_type method from_hash (line 2334) | def self.from_hash(init_hash) method from_asserted_hash (line 2338) | def self.from_asserted_hash(init_hash) method create (line 2348) | def self.create(locator, offset, length, name, parent = nil, bod... method initialize (line 2363) | def initialize(locator, offset, length, name, parent = nil, body... method _pcore_init_hash (line 2370) | def _pcore_init_hash method _pcore_contents (line 2377) | def _pcore_contents method _pcore_all_contents (line 2381) | def _pcore_all_contents(path, &block) method eql? (line 2390) | def eql?(o) class NodeDefinition (line 2398) | class NodeDefinition < Definition method _pcore_type (line 2399) | def self._pcore_type method from_hash (line 2418) | def self.from_hash(init_hash) method from_asserted_hash (line 2422) | def self.from_asserted_hash(init_hash) method create (line 2432) | def self.create(locator, offset, length, host_matches, parent = ... method initialize (line 2448) | def initialize(locator, offset, length, host_matches, parent = n... method _pcore_init_hash (line 2456) | def _pcore_init_hash method _pcore_contents (line 2464) | def _pcore_contents method _pcore_all_contents (line 2470) | def _pcore_all_contents(path, &block) method eql? (line 2487) | def eql?(o) class HeredocExpression (line 2496) | class HeredocExpression < Expression method _pcore_type (line 2497) | def self._pcore_type method from_hash (line 2512) | def self.from_hash(init_hash) method from_asserted_hash (line 2516) | def self.from_asserted_hash(init_hash) method create (line 2525) | def self.create(locator, offset, length, text_expr, syntax = nil) method initialize (line 2539) | def initialize(locator, offset, length, text_expr, syntax = nil) method _pcore_init_hash (line 2546) | def _pcore_init_hash method _pcore_contents (line 2553) | def _pcore_contents method _pcore_all_contents (line 2557) | def _pcore_all_contents(path, &block) method eql? (line 2566) | def eql?(o) class HostClassDefinition (line 2574) | class HostClassDefinition < NamedDefinition method _pcore_type (line 2575) | def self._pcore_type method from_hash (line 2589) | def self.from_hash(init_hash) method from_asserted_hash (line 2593) | def self.from_asserted_hash(init_hash) method create (line 2604) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 2619) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 2625) | def _pcore_init_hash method _pcore_contents (line 2631) | def _pcore_contents method _pcore_all_contents (line 2636) | def _pcore_all_contents(path, &block) method eql? (line 2649) | def eql?(o) class PlanDefinition (line 2656) | class PlanDefinition < FunctionDefinition method _pcore_type (line 2657) | def self._pcore_type method _pcore_contents (line 2663) | def _pcore_contents method _pcore_all_contents (line 2669) | def _pcore_all_contents(path, &block) class LambdaExpression (line 2687) | class LambdaExpression < Expression method _pcore_type (line 2688) | def self._pcore_type method from_hash (line 2710) | def self.from_hash(init_hash) method from_asserted_hash (line 2714) | def self.from_asserted_hash(init_hash) method create (line 2724) | def self.create(locator, offset, length, parameters = _pcore_typ... method initialize (line 2740) | def initialize(locator, offset, length, parameters = _pcore_type... method _pcore_init_hash (line 2748) | def _pcore_init_hash method _pcore_contents (line 2756) | def _pcore_contents method _pcore_all_contents (line 2762) | def _pcore_all_contents(path, &block) method eql? (line 2779) | def eql?(o) class ApplyExpression (line 2788) | class ApplyExpression < Expression method _pcore_type (line 2789) | def self._pcore_type method from_hash (line 2807) | def self.from_hash(init_hash) method from_asserted_hash (line 2811) | def self.from_asserted_hash(init_hash) method create (line 2820) | def self.create(locator, offset, length, arguments = _pcore_type... method initialize (line 2834) | def initialize(locator, offset, length, arguments = _pcore_type[... method _pcore_init_hash (line 2841) | def _pcore_init_hash method _pcore_contents (line 2848) | def _pcore_contents method _pcore_all_contents (line 2853) | def _pcore_all_contents(path, &block) method eql? (line 2866) | def eql?(o) class IfExpression (line 2874) | class IfExpression < Expression method _pcore_type (line 2875) | def self._pcore_type method from_hash (line 2894) | def self.from_hash(init_hash) method from_asserted_hash (line 2898) | def self.from_asserted_hash(init_hash) method create (line 2908) | def self.create(locator, offset, length, test, then_expr = nil, ... method initialize (line 2924) | def initialize(locator, offset, length, test, then_expr = nil, e... method _pcore_init_hash (line 2932) | def _pcore_init_hash method _pcore_contents (line 2940) | def _pcore_contents method _pcore_all_contents (line 2946) | def _pcore_all_contents(path, &block) method eql? (line 2963) | def eql?(o) class UnlessExpression (line 2972) | class UnlessExpression < IfExpression method _pcore_type (line 2973) | def self._pcore_type method _pcore_contents (line 2979) | def _pcore_contents method _pcore_all_contents (line 2985) | def _pcore_all_contents(path, &block) class CallExpression (line 3003) | class CallExpression < Expression method _pcore_type (line 3004) | def self._pcore_type method from_hash (line 3027) | def self.from_hash(init_hash) method from_asserted_hash (line 3031) | def self.from_asserted_hash(init_hash) method create (line 3042) | def self.create(locator, offset, length, functor_expr, rval_requ... method initialize (line 3060) | def initialize(locator, offset, length, functor_expr, rval_requi... method _pcore_init_hash (line 3069) | def _pcore_init_hash method _pcore_contents (line 3078) | def _pcore_contents method _pcore_all_contents (line 3084) | def _pcore_all_contents(path, &block) method eql? (line 3101) | def eql?(o) class CallFunctionExpression (line 3111) | class CallFunctionExpression < CallExpression method _pcore_type (line 3112) | def self._pcore_type method _pcore_contents (line 3118) | def _pcore_contents method _pcore_all_contents (line 3124) | def _pcore_all_contents(path, &block) class CallNamedFunctionExpression (line 3142) | class CallNamedFunctionExpression < CallExpression method _pcore_type (line 3143) | def self._pcore_type method _pcore_contents (line 3149) | def _pcore_contents method _pcore_all_contents (line 3155) | def _pcore_all_contents(path, &block) class CallMethodExpression (line 3173) | class CallMethodExpression < CallExpression method _pcore_type (line 3174) | def self._pcore_type method _pcore_contents (line 3180) | def _pcore_contents method _pcore_all_contents (line 3186) | def _pcore_all_contents(path, &block) class Literal (line 3204) | class Literal < Expression method _pcore_type (line 3205) | def self._pcore_type class LiteralValue (line 3212) | class LiteralValue < Literal method _pcore_type (line 3213) | def self._pcore_type class LiteralRegularExpression (line 3220) | class LiteralRegularExpression < LiteralValue method _pcore_type (line 3221) | def self._pcore_type method from_hash (line 3233) | def self.from_hash(init_hash) method from_asserted_hash (line 3237) | def self.from_asserted_hash(init_hash) method create (line 3246) | def self.create(locator, offset, length, value, pattern) method initialize (line 3260) | def initialize(locator, offset, length, value, pattern) method _pcore_init_hash (line 3267) | def _pcore_init_hash method eql? (line 3274) | def eql?(o) class LiteralString (line 3282) | class LiteralString < LiteralValue method _pcore_type (line 3283) | def self._pcore_type method from_hash (line 3294) | def self.from_hash(init_hash) method from_asserted_hash (line 3298) | def self.from_asserted_hash(init_hash) method create (line 3306) | def self.create(locator, offset, length, value) method initialize (line 3318) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3324) | def _pcore_init_hash method eql? (line 3330) | def eql?(o) class LiteralNumber (line 3337) | class LiteralNumber < LiteralValue method _pcore_type (line 3338) | def self._pcore_type class LiteralInteger (line 3345) | class LiteralInteger < LiteralNumber method _pcore_type (line 3346) | def self._pcore_type method from_hash (line 3361) | def self.from_hash(init_hash) method from_asserted_hash (line 3365) | def self.from_asserted_hash(init_hash) method create (line 3374) | def self.create(locator, offset, length, value, radix = 10) method initialize (line 3388) | def initialize(locator, offset, length, value, radix = 10) method _pcore_init_hash (line 3395) | def _pcore_init_hash method eql? (line 3402) | def eql?(o) class LiteralFloat (line 3410) | class LiteralFloat < LiteralNumber method _pcore_type (line 3411) | def self._pcore_type method from_hash (line 3422) | def self.from_hash(init_hash) method from_asserted_hash (line 3426) | def self.from_asserted_hash(init_hash) method create (line 3434) | def self.create(locator, offset, length, value) method initialize (line 3446) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3452) | def _pcore_init_hash method eql? (line 3458) | def eql?(o) class LiteralUndef (line 3465) | class LiteralUndef < Literal method _pcore_type (line 3466) | def self._pcore_type class LiteralDefault (line 3473) | class LiteralDefault < Literal method _pcore_type (line 3474) | def self._pcore_type class LiteralBoolean (line 3481) | class LiteralBoolean < LiteralValue method _pcore_type (line 3482) | def self._pcore_type method from_hash (line 3493) | def self.from_hash(init_hash) method from_asserted_hash (line 3497) | def self.from_asserted_hash(init_hash) method create (line 3505) | def self.create(locator, offset, length, value) method initialize (line 3517) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3523) | def _pcore_init_hash method eql? (line 3529) | def eql?(o) class TextExpression (line 3536) | class TextExpression < UnaryExpression method _pcore_type (line 3537) | def self._pcore_type method _pcore_contents (line 3543) | def _pcore_contents method _pcore_all_contents (line 3547) | def _pcore_all_contents(path, &block) class ConcatenatedString (line 3557) | class ConcatenatedString < Expression method _pcore_type (line 3558) | def self._pcore_type method from_hash (line 3572) | def self.from_hash(init_hash) method from_asserted_hash (line 3576) | def self.from_asserted_hash(init_hash) method create (line 3584) | def self.create(locator, offset, length, segments = _pcore_type[... method initialize (line 3596) | def initialize(locator, offset, length, segments = _pcore_type['... method _pcore_init_hash (line 3602) | def _pcore_init_hash method _pcore_contents (line 3608) | def _pcore_contents method _pcore_all_contents (line 3612) | def _pcore_all_contents(path, &block) method eql? (line 3621) | def eql?(o) class QualifiedName (line 3628) | class QualifiedName < LiteralValue method _pcore_type (line 3629) | def self._pcore_type method from_hash (line 3640) | def self.from_hash(init_hash) method from_asserted_hash (line 3644) | def self.from_asserted_hash(init_hash) method create (line 3652) | def self.create(locator, offset, length, value) method initialize (line 3664) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3670) | def _pcore_init_hash method eql? (line 3676) | def eql?(o) class ReservedWord (line 3683) | class ReservedWord < LiteralValue method _pcore_type (line 3684) | def self._pcore_type method from_hash (line 3699) | def self.from_hash(init_hash) method from_asserted_hash (line 3703) | def self.from_asserted_hash(init_hash) method create (line 3712) | def self.create(locator, offset, length, word, future = nil) method initialize (line 3726) | def initialize(locator, offset, length, word, future = nil) method _pcore_init_hash (line 3733) | def _pcore_init_hash method eql? (line 3740) | def eql?(o) class QualifiedReference (line 3748) | class QualifiedReference < LiteralValue method _pcore_type (line 3749) | def self._pcore_type method from_hash (line 3764) | def self.from_hash(init_hash) method from_asserted_hash (line 3768) | def self.from_asserted_hash(init_hash) method create (line 3776) | def self.create(locator, offset, length, cased_value) method value (line 3788) | def value method initialize (line 3792) | def initialize(locator, offset, length, cased_value) method _pcore_init_hash (line 3798) | def _pcore_init_hash method eql? (line 3804) | def eql?(o) class VariableExpression (line 3811) | class VariableExpression < UnaryExpression method _pcore_type (line 3812) | def self._pcore_type method _pcore_contents (line 3818) | def _pcore_contents method _pcore_all_contents (line 3822) | def _pcore_all_contents(path, &block) class EppExpression (line 3832) | class EppExpression < Expression method _pcore_type (line 3833) | def self._pcore_type method from_hash (line 3851) | def self.from_hash(init_hash) method from_asserted_hash (line 3855) | def self.from_asserted_hash(init_hash) method create (line 3864) | def self.create(locator, offset, length, parameters_specified = ... method initialize (line 3878) | def initialize(locator, offset, length, parameters_specified = n... method _pcore_init_hash (line 3885) | def _pcore_init_hash method _pcore_contents (line 3892) | def _pcore_contents method _pcore_all_contents (line 3896) | def _pcore_all_contents(path, &block) method eql? (line 3905) | def eql?(o) class RenderStringExpression (line 3913) | class RenderStringExpression < LiteralString method _pcore_type (line 3914) | def self._pcore_type class RenderExpression (line 3921) | class RenderExpression < UnaryExpression method _pcore_type (line 3922) | def self._pcore_type method _pcore_contents (line 3928) | def _pcore_contents method _pcore_all_contents (line 3932) | def _pcore_all_contents(path, &block) class ResourceBody (line 3942) | class ResourceBody < Positioned method _pcore_type (line 3943) | def self._pcore_type method from_hash (line 3961) | def self.from_hash(init_hash) method from_asserted_hash (line 3965) | def self.from_asserted_hash(init_hash) method create (line 3974) | def self.create(locator, offset, length, title = nil, operations... method initialize (line 3988) | def initialize(locator, offset, length, title = nil, operations ... method _pcore_init_hash (line 3995) | def _pcore_init_hash method _pcore_contents (line 4002) | def _pcore_contents method _pcore_all_contents (line 4007) | def _pcore_all_contents(path, &block) method eql? (line 4020) | def eql?(o) class AbstractResource (line 4028) | class AbstractResource < Expression method _pcore_type (line 4029) | def self._pcore_type method from_hash (line 4051) | def self.from_hash(init_hash) method from_asserted_hash (line 4055) | def self.from_asserted_hash(init_hash) method create (line 4063) | def self.create(locator, offset, length, form = "regular") method virtual (line 4075) | def virtual method exported (line 4079) | def exported method initialize (line 4083) | def initialize(locator, offset, length, form = "regular") method _pcore_init_hash (line 4089) | def _pcore_init_hash method eql? (line 4095) | def eql?(o) class ResourceExpression (line 4102) | class ResourceExpression < AbstractResource method _pcore_type (line 4103) | def self._pcore_type method from_hash (line 4118) | def self.from_hash(init_hash) method from_asserted_hash (line 4122) | def self.from_asserted_hash(init_hash) method create (line 4132) | def self.create(locator, offset, length, type_name, form = "regu... method initialize (line 4147) | def initialize(locator, offset, length, type_name, form = "regul... method _pcore_init_hash (line 4154) | def _pcore_init_hash method _pcore_contents (line 4161) | def _pcore_contents method _pcore_all_contents (line 4166) | def _pcore_all_contents(path, &block) method eql? (line 4179) | def eql?(o) class ResourceDefaultsExpression (line 4187) | class ResourceDefaultsExpression < AbstractResource method _pcore_type (line 4188) | def self._pcore_type method from_hash (line 4206) | def self.from_hash(init_hash) method from_asserted_hash (line 4210) | def self.from_asserted_hash(init_hash) method create (line 4220) | def self.create(locator, offset, length, form = "regular", type_... method initialize (line 4235) | def initialize(locator, offset, length, form = "regular", type_r... method _pcore_init_hash (line 4242) | def _pcore_init_hash method _pcore_contents (line 4249) | def _pcore_contents method _pcore_all_contents (line 4254) | def _pcore_all_contents(path, &block) method eql? (line 4267) | def eql?(o) class ResourceOverrideExpression (line 4275) | class ResourceOverrideExpression < AbstractResource method _pcore_type (line 4276) | def self._pcore_type method from_hash (line 4291) | def self.from_hash(init_hash) method from_asserted_hash (line 4295) | def self.from_asserted_hash(init_hash) method create (line 4305) | def self.create(locator, offset, length, resources, form = "regu... method initialize (line 4320) | def initialize(locator, offset, length, resources, form = "regul... method _pcore_init_hash (line 4327) | def _pcore_init_hash method _pcore_contents (line 4334) | def _pcore_contents method _pcore_all_contents (line 4339) | def _pcore_all_contents(path, &block) method eql? (line 4352) | def eql?(o) class SelectorEntry (line 4360) | class SelectorEntry < Positioned method _pcore_type (line 4361) | def self._pcore_type method from_hash (line 4373) | def self.from_hash(init_hash) method from_asserted_hash (line 4377) | def self.from_asserted_hash(init_hash) method create (line 4386) | def self.create(locator, offset, length, matching_expr, value_expr) method initialize (line 4400) | def initialize(locator, offset, length, matching_expr, value_expr) method _pcore_init_hash (line 4407) | def _pcore_init_hash method _pcore_contents (line 4414) | def _pcore_contents method _pcore_all_contents (line 4419) | def _pcore_all_contents(path, &block) method eql? (line 4432) | def eql?(o) class SelectorExpression (line 4440) | class SelectorExpression < Expression method _pcore_type (line 4441) | def self._pcore_type method from_hash (line 4456) | def self.from_hash(init_hash) method from_asserted_hash (line 4460) | def self.from_asserted_hash(init_hash) method create (line 4469) | def self.create(locator, offset, length, left_expr, selectors = ... method initialize (line 4483) | def initialize(locator, offset, length, left_expr, selectors = _... method _pcore_init_hash (line 4490) | def _pcore_init_hash method _pcore_contents (line 4497) | def _pcore_contents method _pcore_all_contents (line 4502) | def _pcore_all_contents(path, &block) method eql? (line 4515) | def eql?(o) class NamedAccessExpression (line 4523) | class NamedAccessExpression < BinaryExpression method _pcore_type (line 4524) | def self._pcore_type method _pcore_contents (line 4532) | def _pcore_contents method _pcore_all_contents (line 4537) | def _pcore_all_contents(path, &block) class Program (line 4551) | class Program < PopsObject method _pcore_type (line 4552) | def self._pcore_type method from_hash (line 4584) | def self.from_hash(init_hash) method from_asserted_hash (line 4588) | def self.from_asserted_hash(init_hash) method create (line 4595) | def self.create(locator, body = nil, definitions = _pcore_type['... method current (line 4608) | def current method source_text (line 4612) | def source_text method source_ref (line 4616) | def source_ref method line_offsets (line 4620) | def line_offsets method initialize (line 4624) | def initialize(locator, body = nil, definitions = _pcore_type['d... method _pcore_init_hash (line 4632) | def _pcore_init_hash method _pcore_contents (line 4640) | def _pcore_contents method _pcore_all_contents (line 4645) | def _pcore_all_contents(path, &block) method eql? (line 4658) | def eql?(o) function register_pcore_types (line 4670) | def self.register_pcore_types type Model (line 4668) | module Model class PopsObject (line 8) | class PopsObject method _pcore_type (line 9) | def self._pcore_type method from_hash (line 16) | def self.from_hash(init_hash) method from_asserted_hash (line 20) | def self.from_asserted_hash(init_hash) method create (line 24) | def self.create method initialize (line 29) | def initialize method _pcore_init_hash (line 33) | def _pcore_init_hash method _pcore_contents (line 37) | def _pcore_contents method _pcore_all_contents (line 40) | def _pcore_all_contents(path) method to_s (line 43) | def to_s method eql? (line 47) | def eql?(o) class Positioned (line 53) | class Positioned < PopsObject method _pcore_type (line 54) | def self._pcore_type method from_hash (line 84) | def self.from_hash(init_hash) method from_asserted_hash (line 88) | def self.from_asserted_hash(init_hash) method create (line 95) | def self.create(locator, offset, length) method file (line 108) | def file method line (line 112) | def line method pos (line 116) | def pos method initialize (line 120) | def initialize(locator, offset, length) method _pcore_init_hash (line 127) | def _pcore_init_hash class Expression (line 136) | class Expression < Positioned method _pcore_type (line 137) | def self._pcore_type class Nop (line 144) | class Nop < Expression method _pcore_type (line 145) | def self._pcore_type class BinaryExpression (line 152) | class BinaryExpression < Expression method _pcore_type (line 153) | def self._pcore_type method from_hash (line 164) | def self.from_hash(init_hash) method from_asserted_hash (line 168) | def self.from_asserted_hash(init_hash) method create (line 177) | def self.create(locator, offset, length, left_expr, right_expr) method initialize (line 191) | def initialize(locator, offset, length, left_expr, right_expr) method _pcore_init_hash (line 198) | def _pcore_init_hash method _pcore_contents (line 205) | def _pcore_contents method _pcore_all_contents (line 210) | def _pcore_all_contents(path, &block) method eql? (line 223) | def eql?(o) class UnaryExpression (line 231) | class UnaryExpression < Expression method _pcore_type (line 232) | def self._pcore_type method from_hash (line 242) | def self.from_hash(init_hash) method from_asserted_hash (line 246) | def self.from_asserted_hash(init_hash) method create (line 254) | def self.create(locator, offset, length, expr) method initialize (line 266) | def initialize(locator, offset, length, expr) method _pcore_init_hash (line 272) | def _pcore_init_hash method _pcore_contents (line 278) | def _pcore_contents method _pcore_all_contents (line 282) | def _pcore_all_contents(path, &block) method eql? (line 291) | def eql?(o) class ParenthesizedExpression (line 298) | class ParenthesizedExpression < UnaryExpression method _pcore_type (line 299) | def self._pcore_type method _pcore_contents (line 305) | def _pcore_contents method _pcore_all_contents (line 309) | def _pcore_all_contents(path, &block) class NotExpression (line 319) | class NotExpression < UnaryExpression method _pcore_type (line 320) | def self._pcore_type method _pcore_contents (line 326) | def _pcore_contents method _pcore_all_contents (line 330) | def _pcore_all_contents(path, &block) class UnaryMinusExpression (line 340) | class UnaryMinusExpression < UnaryExpression method _pcore_type (line 341) | def self._pcore_type method _pcore_contents (line 347) | def _pcore_contents method _pcore_all_contents (line 351) | def _pcore_all_contents(path, &block) class UnfoldExpression (line 361) | class UnfoldExpression < UnaryExpression method _pcore_type (line 362) | def self._pcore_type method _pcore_contents (line 368) | def _pcore_contents method _pcore_all_contents (line 372) | def _pcore_all_contents(path, &block) class AssignmentExpression (line 382) | class AssignmentExpression < BinaryExpression method _pcore_type (line 383) | def self._pcore_type method from_hash (line 393) | def self.from_hash(init_hash) method from_asserted_hash (line 397) | def self.from_asserted_hash(init_hash) method create (line 407) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 421) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 427) | def _pcore_init_hash method _pcore_contents (line 433) | def _pcore_contents method _pcore_all_contents (line 438) | def _pcore_all_contents(path, &block) method eql? (line 451) | def eql?(o) class ArithmeticExpression (line 458) | class ArithmeticExpression < BinaryExpression method _pcore_type (line 459) | def self._pcore_type method from_hash (line 470) | def self.from_hash(init_hash) method from_asserted_hash (line 474) | def self.from_asserted_hash(init_hash) method create (line 484) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 498) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 504) | def _pcore_init_hash method _pcore_contents (line 510) | def _pcore_contents method _pcore_all_contents (line 515) | def _pcore_all_contents(path, &block) method eql? (line 528) | def eql?(o) class RelationshipExpression (line 535) | class RelationshipExpression < BinaryExpression method _pcore_type (line 536) | def self._pcore_type method from_hash (line 545) | def self.from_hash(init_hash) method from_asserted_hash (line 549) | def self.from_asserted_hash(init_hash) method create (line 559) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 573) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 579) | def _pcore_init_hash method _pcore_contents (line 585) | def _pcore_contents method _pcore_all_contents (line 590) | def _pcore_all_contents(path, &block) method eql? (line 603) | def eql?(o) class AccessExpression (line 610) | class AccessExpression < Expression method _pcore_type (line 611) | def self._pcore_type method from_hash (line 626) | def self.from_hash(init_hash) method from_asserted_hash (line 630) | def self.from_asserted_hash(init_hash) method create (line 639) | def self.create(locator, offset, length, left_expr, keys = _pcor... method initialize (line 653) | def initialize(locator, offset, length, left_expr, keys = _pcore... method _pcore_init_hash (line 660) | def _pcore_init_hash method _pcore_contents (line 667) | def _pcore_contents method _pcore_all_contents (line 672) | def _pcore_all_contents(path, &block) method eql? (line 685) | def eql?(o) class ComparisonExpression (line 693) | class ComparisonExpression < BinaryExpression method _pcore_type (line 694) | def self._pcore_type method from_hash (line 705) | def self.from_hash(init_hash) method from_asserted_hash (line 709) | def self.from_asserted_hash(init_hash) method create (line 719) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 733) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 739) | def _pcore_init_hash method _pcore_contents (line 745) | def _pcore_contents method _pcore_all_contents (line 750) | def _pcore_all_contents(path, &block) method eql? (line 763) | def eql?(o) class MatchExpression (line 770) | class MatchExpression < BinaryExpression method _pcore_type (line 771) | def self._pcore_type method from_hash (line 782) | def self.from_hash(init_hash) method from_asserted_hash (line 786) | def self.from_asserted_hash(init_hash) method create (line 796) | def self.create(locator, offset, length, left_expr, right_expr, ... method initialize (line 810) | def initialize(locator, offset, length, left_expr, right_expr, o... method _pcore_init_hash (line 816) | def _pcore_init_hash method _pcore_contents (line 822) | def _pcore_contents method _pcore_all_contents (line 827) | def _pcore_all_contents(path, &block) method eql? (line 840) | def eql?(o) class InExpression (line 847) | class InExpression < BinaryExpression method _pcore_type (line 848) | def self._pcore_type method _pcore_contents (line 854) | def _pcore_contents method _pcore_all_contents (line 859) | def _pcore_all_contents(path, &block) class BooleanExpression (line 873) | class BooleanExpression < BinaryExpression method _pcore_type (line 874) | def self._pcore_type method _pcore_contents (line 880) | def _pcore_contents method _pcore_all_contents (line 885) | def _pcore_all_contents(path, &block) class AndExpression (line 899) | class AndExpression < BooleanExpression method _pcore_type (line 900) | def self._pcore_type method _pcore_contents (line 906) | def _pcore_contents method _pcore_all_contents (line 911) | def _pcore_all_contents(path, &block) class OrExpression (line 925) | class OrExpression < BooleanExpression method _pcore_type (line 926) | def self._pcore_type method _pcore_contents (line 932) | def _pcore_contents method _pcore_all_contents (line 937) | def _pcore_all_contents(path, &block) class LiteralList (line 951) | class LiteralList < Expression method _pcore_type (line 952) | def self._pcore_type method from_hash (line 966) | def self.from_hash(init_hash) method from_asserted_hash (line 970) | def self.from_asserted_hash(init_hash) method create (line 978) | def self.create(locator, offset, length, values = _pcore_type['v... method initialize (line 990) | def initialize(locator, offset, length, values = _pcore_type['va... method _pcore_init_hash (line 996) | def _pcore_init_hash method _pcore_contents (line 1002) | def _pcore_contents method _pcore_all_contents (line 1006) | def _pcore_all_contents(path, &block) method eql? (line 1015) | def eql?(o) class KeyedEntry (line 1022) | class KeyedEntry < Positioned method _pcore_type (line 1023) | def self._pcore_type method from_hash (line 1035) | def self.from_hash(init_hash) method from_asserted_hash (line 1039) | def self.from_asserted_hash(init_hash) method create (line 1048) | def self.create(locator, offset, length, key, value) method initialize (line 1062) | def initialize(locator, offset, length, key, value) method _pcore_init_hash (line 1069) | def _pcore_init_hash method _pcore_contents (line 1076) | def _pcore_contents method _pcore_all_contents (line 1081) | def _pcore_all_contents(path, &block) method eql? (line 1094) | def eql?(o) class LiteralHash (line 1102) | class LiteralHash < Expression method _pcore_type (line 1103) | def self._pcore_type method from_hash (line 1117) | def self.from_hash(init_hash) method from_asserted_hash (line 1121) | def self.from_asserted_hash(init_hash) method create (line 1129) | def self.create(locator, offset, length, entries = _pcore_type['... method initialize (line 1141) | def initialize(locator, offset, length, entries = _pcore_type['e... method _pcore_init_hash (line 1147) | def _pcore_init_hash method _pcore_contents (line 1153) | def _pcore_contents method _pcore_all_contents (line 1157) | def _pcore_all_contents(path, &block) method eql? (line 1166) | def eql?(o) class BlockExpression (line 1173) | class BlockExpression < Expression method _pcore_type (line 1174) | def self._pcore_type method from_hash (line 1188) | def self.from_hash(init_hash) method from_asserted_hash (line 1192) | def self.from_asserted_hash(init_hash) method create (line 1200) | def self.create(locator, offset, length, statements = _pcore_typ... method initialize (line 1212) | def initialize(locator, offset, length, statements = _pcore_type... method _pcore_init_hash (line 1218) | def _pcore_init_hash method _pcore_contents (line 1224) | def _pcore_contents method _pcore_all_contents (line 1228) | def _pcore_all_contents(path, &block) method eql? (line 1237) | def eql?(o) class ApplyBlockExpression (line 1244) | class ApplyBlockExpression < BlockExpression method _pcore_type (line 1245) | def self._pcore_type class CaseOption (line 1252) | class CaseOption < Expression method _pcore_type (line 1253) | def self._pcore_type method from_hash (line 1268) | def self.from_hash(init_hash) method from_asserted_hash (line 1272) | def self.from_asserted_hash(init_hash) method create (line 1281) | def self.create(locator, offset, length, values, then_expr = nil) method initialize (line 1295) | def initialize(locator, offset, length, values, then_expr = nil) method _pcore_init_hash (line 1302) | def _pcore_init_hash method _pcore_contents (line 1309) | def _pcore_contents method _pcore_all_contents (line 1314) | def _pcore_all_contents(path, &block) method eql? (line 1327) | def eql?(o) class CaseExpression (line 1335) | class CaseExpression < Expression method _pcore_type (line 1336) | def self._pcore_type method from_hash (line 1351) | def self.from_hash(init_hash) method from_asserted_hash (line 1355) | def self.from_asserted_hash(init_hash) method create (line 1364) | def self.create(locator, offset, length, test, options = _pcore_... method initialize (line 1378) | def initialize(locator, offset, length, test, options = _pcore_t... method _pcore_init_hash (line 1385) | def _pcore_init_hash method _pcore_contents (line 1392) | def _pcore_contents method _pcore_all_contents (line 1397) | def _pcore_all_contents(path, &block) method eql? (line 1410) | def eql?(o) class QueryExpression (line 1418) | class QueryExpression < Expression method _pcore_type (line 1419) | def self._pcore_type method from_hash (line 1433) | def self.from_hash(init_hash) method from_asserted_hash (line 1437) | def self.from_asserted_hash(init_hash) method create (line 1445) | def self.create(locator, offset, length, expr = nil) method initialize (line 1457) | def initialize(locator, offset, length, expr = nil) method _pcore_init_hash (line 1463) | def _pcore_init_hash method _pcore_contents (line 1469) | def _pcore_contents method _pcore_all_contents (line 1473) | def _pcore_all_contents(path, &block) method eql? (line 1482) | def eql?(o) class ExportedQuery (line 1489) | class ExportedQuery < QueryExpression method _pcore_type (line 1490) | def self._pcore_type method _pcore_contents (line 1496) | def _pcore_contents method _pcore_all_contents (line 1500) | def _pcore_all_contents(path, &block) class VirtualQuery (line 1510) | class VirtualQuery < QueryExpression method _pcore_type (line 1511) | def self._pcore_type method _pcore_contents (line 1517) | def _pcore_contents method _pcore_all_contents (line 1521) | def _pcore_all_contents(path, &block) class AbstractAttributeOperation (line 1531) | class AbstractAttributeOperation < Positioned method _pcore_type (line 1532) | def self._pcore_type class AttributeOperation (line 1539) | class AttributeOperation < AbstractAttributeOperation method _pcore_type (line 1540) | def self._pcore_type method from_hash (line 1553) | def self.from_hash(init_hash) method from_asserted_hash (line 1557) | def self.from_asserted_hash(init_hash) method create (line 1567) | def self.create(locator, offset, length, attribute_name, operato... method initialize (line 1583) | def initialize(locator, offset, length, attribute_name, operator... method _pcore_init_hash (line 1591) | def _pcore_init_hash method _pcore_contents (line 1599) | def _pcore_contents method _pcore_all_contents (line 1603) | def _pcore_all_contents(path, &block) method eql? (line 1612) | def eql?(o) class AttributesOperation (line 1621) | class AttributesOperation < AbstractAttributeOperation method _pcore_type (line 1622) | def self._pcore_type method from_hash (line 1633) | def self.from_hash(init_hash) method from_asserted_hash (line 1637) | def self.from_asserted_hash(init_hash) method create (line 1645) | def self.create(locator, offset, length, expr) method initialize (line 1657) | def initialize(locator, offset, length, expr) method _pcore_init_hash (line 1663) | def _pcore_init_hash method _pcore_contents (line 1669) | def _pcore_contents method _pcore_all_contents (line 1673) | def _pcore_all_contents(path, &block) method eql? (line 1682) | def eql?(o) class CollectExpression (line 1689) | class CollectExpression < Expression method _pcore_type (line 1690) | def self._pcore_type method from_hash (line 1706) | def self.from_hash(init_hash) method from_asserted_hash (line 1710) | def self.from_asserted_hash(init_hash) method create (line 1720) | def self.create(locator, offset, length, type_expr, query, opera... method initialize (line 1736) | def initialize(locator, offset, length, type_expr, query, operat... method _pcore_init_hash (line 1744) | def _pcore_init_hash method _pcore_contents (line 1752) | def _pcore_contents method _pcore_all_contents (line 1758) | def _pcore_all_contents(path, &block) method eql? (line 1775) | def eql?(o) class Parameter (line 1784) | class Parameter < Positioned method _pcore_type (line 1785) | def self._pcore_type method from_hash (line 1808) | def self.from_hash(init_hash) method from_asserted_hash (line 1812) | def self.from_asserted_hash(init_hash) method create (line 1823) | def self.create(locator, offset, length, name, value = nil, type... method initialize (line 1841) | def initialize(locator, offset, length, name, value = nil, type_... method _pcore_init_hash (line 1850) | def _pcore_init_hash method _pcore_contents (line 1859) | def _pcore_contents method _pcore_all_contents (line 1864) | def _pcore_all_contents(path, &block) method eql? (line 1877) | def eql?(o) class Definition (line 1887) | class Definition < Expression method _pcore_type (line 1888) | def self._pcore_type class NamedDefinition (line 1895) | class NamedDefinition < Definition method _pcore_type (line 1896) | def self._pcore_type method from_hash (line 1915) | def self.from_hash(init_hash) method from_asserted_hash (line 1919) | def self.from_asserted_hash(init_hash) method create (line 1929) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 1945) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 1953) | def _pcore_init_hash method _pcore_contents (line 1961) | def _pcore_contents method _pcore_all_contents (line 1966) | def _pcore_all_contents(path, &block) method eql? (line 1979) | def eql?(o) class FunctionDefinition (line 1988) | class FunctionDefinition < NamedDefinition method _pcore_type (line 1989) | def self._pcore_type method from_hash (line 2003) | def self.from_hash(init_hash) method from_asserted_hash (line 2007) | def self.from_asserted_hash(init_hash) method create (line 2018) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 2033) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 2039) | def _pcore_init_hash method _pcore_contents (line 2045) | def _pcore_contents method _pcore_all_contents (line 2051) | def _pcore_all_contents(path, &block) method eql? (line 2068) | def eql?(o) class ResourceTypeDefinition (line 2075) | class ResourceTypeDefinition < NamedDefinition method _pcore_type (line 2076) | def self._pcore_type method _pcore_contents (line 2082) | def _pcore_contents method _pcore_all_contents (line 2087) | def _pcore_all_contents(path, &block) class QRefDefinition (line 2101) | class QRefDefinition < Definition method _pcore_type (line 2102) | def self._pcore_type method from_hash (line 2113) | def self.from_hash(init_hash) method from_asserted_hash (line 2117) | def self.from_asserted_hash(init_hash) method create (line 2125) | def self.create(locator, offset, length, name) method initialize (line 2137) | def initialize(locator, offset, length, name) method _pcore_init_hash (line 2143) | def _pcore_init_hash method eql? (line 2149) | def eql?(o) class TypeAlias (line 2156) | class TypeAlias < QRefDefinition method _pcore_type (line 2157) | def self._pcore_type method from_hash (line 2171) | def self.from_hash(init_hash) method from_asserted_hash (line 2175) | def self.from_asserted_hash(init_hash) method create (line 2184) | def self.create(locator, offset, length, name, type_expr = nil) method initialize (line 2197) | def initialize(locator, offset, length, name, type_expr = nil) method _pcore_init_hash (line 2203) | def _pcore_init_hash method _pcore_contents (line 2209) | def _pcore_contents method _pcore_all_contents (line 2213) | def _pcore_all_contents(path, &block) method eql? (line 2222) | def eql?(o) class TypeMapping (line 2229) | class TypeMapping < Definition method _pcore_type (line 2230) | def self._pcore_type method from_hash (line 2248) | def self.from_hash(init_hash) method from_asserted_hash (line 2252) | def self.from_asserted_hash(init_hash) method create (line 2261) | def self.create(locator, offset, length, type_expr = nil, mappin... method initialize (line 2275) | def initialize(locator, offset, length, type_expr = nil, mapping... method _pcore_init_hash (line 2282) | def _pcore_init_hash method _pcore_contents (line 2289) | def _pcore_contents method _pcore_all_contents (line 2294) | def _pcore_all_contents(path, &block) method eql? (line 2307) | def eql?(o) class TypeDefinition (line 2315) | class TypeDefinition < QRefDefinition method _pcore_type (line 2316) | def self._pcore_type method from_hash (line 2334) | def self.from_hash(init_hash) method from_asserted_hash (line 2338) | def self.from_asserted_hash(init_hash) method create (line 2348) | def self.create(locator, offset, length, name, parent = nil, bod... method initialize (line 2363) | def initialize(locator, offset, length, name, parent = nil, body... method _pcore_init_hash (line 2370) | def _pcore_init_hash method _pcore_contents (line 2377) | def _pcore_contents method _pcore_all_contents (line 2381) | def _pcore_all_contents(path, &block) method eql? (line 2390) | def eql?(o) class NodeDefinition (line 2398) | class NodeDefinition < Definition method _pcore_type (line 2399) | def self._pcore_type method from_hash (line 2418) | def self.from_hash(init_hash) method from_asserted_hash (line 2422) | def self.from_asserted_hash(init_hash) method create (line 2432) | def self.create(locator, offset, length, host_matches, parent = ... method initialize (line 2448) | def initialize(locator, offset, length, host_matches, parent = n... method _pcore_init_hash (line 2456) | def _pcore_init_hash method _pcore_contents (line 2464) | def _pcore_contents method _pcore_all_contents (line 2470) | def _pcore_all_contents(path, &block) method eql? (line 2487) | def eql?(o) class HeredocExpression (line 2496) | class HeredocExpression < Expression method _pcore_type (line 2497) | def self._pcore_type method from_hash (line 2512) | def self.from_hash(init_hash) method from_asserted_hash (line 2516) | def self.from_asserted_hash(init_hash) method create (line 2525) | def self.create(locator, offset, length, text_expr, syntax = nil) method initialize (line 2539) | def initialize(locator, offset, length, text_expr, syntax = nil) method _pcore_init_hash (line 2546) | def _pcore_init_hash method _pcore_contents (line 2553) | def _pcore_contents method _pcore_all_contents (line 2557) | def _pcore_all_contents(path, &block) method eql? (line 2566) | def eql?(o) class HostClassDefinition (line 2574) | class HostClassDefinition < NamedDefinition method _pcore_type (line 2575) | def self._pcore_type method from_hash (line 2589) | def self.from_hash(init_hash) method from_asserted_hash (line 2593) | def self.from_asserted_hash(init_hash) method create (line 2604) | def self.create(locator, offset, length, name, parameters = _pco... method initialize (line 2619) | def initialize(locator, offset, length, name, parameters = _pcor... method _pcore_init_hash (line 2625) | def _pcore_init_hash method _pcore_contents (line 2631) | def _pcore_contents method _pcore_all_contents (line 2636) | def _pcore_all_contents(path, &block) method eql? (line 2649) | def eql?(o) class PlanDefinition (line 2656) | class PlanDefinition < FunctionDefinition method _pcore_type (line 2657) | def self._pcore_type method _pcore_contents (line 2663) | def _pcore_contents method _pcore_all_contents (line 2669) | def _pcore_all_contents(path, &block) class LambdaExpression (line 2687) | class LambdaExpression < Expression method _pcore_type (line 2688) | def self._pcore_type method from_hash (line 2710) | def self.from_hash(init_hash) method from_asserted_hash (line 2714) | def self.from_asserted_hash(init_hash) method create (line 2724) | def self.create(locator, offset, length, parameters = _pcore_typ... method initialize (line 2740) | def initialize(locator, offset, length, parameters = _pcore_type... method _pcore_init_hash (line 2748) | def _pcore_init_hash method _pcore_contents (line 2756) | def _pcore_contents method _pcore_all_contents (line 2762) | def _pcore_all_contents(path, &block) method eql? (line 2779) | def eql?(o) class ApplyExpression (line 2788) | class ApplyExpression < Expression method _pcore_type (line 2789) | def self._pcore_type method from_hash (line 2807) | def self.from_hash(init_hash) method from_asserted_hash (line 2811) | def self.from_asserted_hash(init_hash) method create (line 2820) | def self.create(locator, offset, length, arguments = _pcore_type... method initialize (line 2834) | def initialize(locator, offset, length, arguments = _pcore_type[... method _pcore_init_hash (line 2841) | def _pcore_init_hash method _pcore_contents (line 2848) | def _pcore_contents method _pcore_all_contents (line 2853) | def _pcore_all_contents(path, &block) method eql? (line 2866) | def eql?(o) class IfExpression (line 2874) | class IfExpression < Expression method _pcore_type (line 2875) | def self._pcore_type method from_hash (line 2894) | def self.from_hash(init_hash) method from_asserted_hash (line 2898) | def self.from_asserted_hash(init_hash) method create (line 2908) | def self.create(locator, offset, length, test, then_expr = nil, ... method initialize (line 2924) | def initialize(locator, offset, length, test, then_expr = nil, e... method _pcore_init_hash (line 2932) | def _pcore_init_hash method _pcore_contents (line 2940) | def _pcore_contents method _pcore_all_contents (line 2946) | def _pcore_all_contents(path, &block) method eql? (line 2963) | def eql?(o) class UnlessExpression (line 2972) | class UnlessExpression < IfExpression method _pcore_type (line 2973) | def self._pcore_type method _pcore_contents (line 2979) | def _pcore_contents method _pcore_all_contents (line 2985) | def _pcore_all_contents(path, &block) class CallExpression (line 3003) | class CallExpression < Expression method _pcore_type (line 3004) | def self._pcore_type method from_hash (line 3027) | def self.from_hash(init_hash) method from_asserted_hash (line 3031) | def self.from_asserted_hash(init_hash) method create (line 3042) | def self.create(locator, offset, length, functor_expr, rval_requ... method initialize (line 3060) | def initialize(locator, offset, length, functor_expr, rval_requi... method _pcore_init_hash (line 3069) | def _pcore_init_hash method _pcore_contents (line 3078) | def _pcore_contents method _pcore_all_contents (line 3084) | def _pcore_all_contents(path, &block) method eql? (line 3101) | def eql?(o) class CallFunctionExpression (line 3111) | class CallFunctionExpression < CallExpression method _pcore_type (line 3112) | def self._pcore_type method _pcore_contents (line 3118) | def _pcore_contents method _pcore_all_contents (line 3124) | def _pcore_all_contents(path, &block) class CallNamedFunctionExpression (line 3142) | class CallNamedFunctionExpression < CallExpression method _pcore_type (line 3143) | def self._pcore_type method _pcore_contents (line 3149) | def _pcore_contents method _pcore_all_contents (line 3155) | def _pcore_all_contents(path, &block) class CallMethodExpression (line 3173) | class CallMethodExpression < CallExpression method _pcore_type (line 3174) | def self._pcore_type method _pcore_contents (line 3180) | def _pcore_contents method _pcore_all_contents (line 3186) | def _pcore_all_contents(path, &block) class Literal (line 3204) | class Literal < Expression method _pcore_type (line 3205) | def self._pcore_type class LiteralValue (line 3212) | class LiteralValue < Literal method _pcore_type (line 3213) | def self._pcore_type class LiteralRegularExpression (line 3220) | class LiteralRegularExpression < LiteralValue method _pcore_type (line 3221) | def self._pcore_type method from_hash (line 3233) | def self.from_hash(init_hash) method from_asserted_hash (line 3237) | def self.from_asserted_hash(init_hash) method create (line 3246) | def self.create(locator, offset, length, value, pattern) method initialize (line 3260) | def initialize(locator, offset, length, value, pattern) method _pcore_init_hash (line 3267) | def _pcore_init_hash method eql? (line 3274) | def eql?(o) class LiteralString (line 3282) | class LiteralString < LiteralValue method _pcore_type (line 3283) | def self._pcore_type method from_hash (line 3294) | def self.from_hash(init_hash) method from_asserted_hash (line 3298) | def self.from_asserted_hash(init_hash) method create (line 3306) | def self.create(locator, offset, length, value) method initialize (line 3318) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3324) | def _pcore_init_hash method eql? (line 3330) | def eql?(o) class LiteralNumber (line 3337) | class LiteralNumber < LiteralValue method _pcore_type (line 3338) | def self._pcore_type class LiteralInteger (line 3345) | class LiteralInteger < LiteralNumber method _pcore_type (line 3346) | def self._pcore_type method from_hash (line 3361) | def self.from_hash(init_hash) method from_asserted_hash (line 3365) | def self.from_asserted_hash(init_hash) method create (line 3374) | def self.create(locator, offset, length, value, radix = 10) method initialize (line 3388) | def initialize(locator, offset, length, value, radix = 10) method _pcore_init_hash (line 3395) | def _pcore_init_hash method eql? (line 3402) | def eql?(o) class LiteralFloat (line 3410) | class LiteralFloat < LiteralNumber method _pcore_type (line 3411) | def self._pcore_type method from_hash (line 3422) | def self.from_hash(init_hash) method from_asserted_hash (line 3426) | def self.from_asserted_hash(init_hash) method create (line 3434) | def self.create(locator, offset, length, value) method initialize (line 3446) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3452) | def _pcore_init_hash method eql? (line 3458) | def eql?(o) class LiteralUndef (line 3465) | class LiteralUndef < Literal method _pcore_type (line 3466) | def self._pcore_type class LiteralDefault (line 3473) | class LiteralDefault < Literal method _pcore_type (line 3474) | def self._pcore_type class LiteralBoolean (line 3481) | class LiteralBoolean < LiteralValue method _pcore_type (line 3482) | def self._pcore_type method from_hash (line 3493) | def self.from_hash(init_hash) method from_asserted_hash (line 3497) | def self.from_asserted_hash(init_hash) method create (line 3505) | def self.create(locator, offset, length, value) method initialize (line 3517) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3523) | def _pcore_init_hash method eql? (line 3529) | def eql?(o) class TextExpression (line 3536) | class TextExpression < UnaryExpression method _pcore_type (line 3537) | def self._pcore_type method _pcore_contents (line 3543) | def _pcore_contents method _pcore_all_contents (line 3547) | def _pcore_all_contents(path, &block) class ConcatenatedString (line 3557) | class ConcatenatedString < Expression method _pcore_type (line 3558) | def self._pcore_type method from_hash (line 3572) | def self.from_hash(init_hash) method from_asserted_hash (line 3576) | def self.from_asserted_hash(init_hash) method create (line 3584) | def self.create(locator, offset, length, segments = _pcore_type[... method initialize (line 3596) | def initialize(locator, offset, length, segments = _pcore_type['... method _pcore_init_hash (line 3602) | def _pcore_init_hash method _pcore_contents (line 3608) | def _pcore_contents method _pcore_all_contents (line 3612) | def _pcore_all_contents(path, &block) method eql? (line 3621) | def eql?(o) class QualifiedName (line 3628) | class QualifiedName < LiteralValue method _pcore_type (line 3629) | def self._pcore_type method from_hash (line 3640) | def self.from_hash(init_hash) method from_asserted_hash (line 3644) | def self.from_asserted_hash(init_hash) method create (line 3652) | def self.create(locator, offset, length, value) method initialize (line 3664) | def initialize(locator, offset, length, value) method _pcore_init_hash (line 3670) | def _pcore_init_hash method eql? (line 3676) | def eql?(o) class ReservedWord (line 3683) | class ReservedWord < LiteralValue method _pcore_type (line 3684) | def self._pcore_type method from_hash (line 3699) | def self.from_hash(init_hash) method from_asserted_hash (line 3703) | def self.from_asserted_hash(init_hash) method create (line 3712) | def self.create(locator, offset, length, word, future = nil) method initialize (line 3726) | def initialize(locator, offset, length, word, future = nil) method _pcore_init_hash (line 3733) | def _pcore_init_hash method eql? (line 3740) | def eql?(o) class QualifiedReference (line 3748) | class QualifiedReference < LiteralValue method _pcore_type (line 3749) | def self._pcore_type method from_hash (line 3764) | def self.from_hash(init_hash) method from_asserted_hash (line 3768) | def self.from_asserted_hash(init_hash) method create (line 3776) | def self.create(locator, offset, length, cased_value) method value (line 3788) | def value method initialize (line 3792) | def initialize(locator, offset, length, cased_value) method _pcore_init_hash (line 3798) | def _pcore_init_hash method eql? (line 3804) | def eql?(o) class VariableExpression (line 3811) | class VariableExpression < UnaryExpression method _pcore_type (line 3812) | def self._pcore_type method _pcore_contents (line 3818) | def _pcore_contents method _pcore_all_contents (line 3822) | def _pcore_all_contents(path, &block) class EppExpression (line 3832) | class EppExpression < Expression method _pcore_type (line 3833) | def self._pcore_type method from_hash (line 3851) | def self.from_hash(init_hash) method from_asserted_hash (line 3855) | def self.from_asserted_hash(init_hash) method create (line 3864) | def self.create(locator, offset, length, parameters_specified = ... method initialize (line 3878) | def initialize(locator, offset, length, parameters_specified = n... method _pcore_init_hash (line 3885) | def _pcore_init_hash method _pcore_contents (line 3892) | def _pcore_contents method _pcore_all_contents (line 3896) | def _pcore_all_contents(path, &block) method eql? (line 3905) | def eql?(o) class RenderStringExpression (line 3913) | class RenderStringExpression < LiteralString method _pcore_type (line 3914) | def self._pcore_type class RenderExpression (line 3921) | class RenderExpression < UnaryExpression method _pcore_type (line 3922) | def self._pcore_type method _pcore_contents (line 3928) | def _pcore_contents method _pcore_all_contents (line 3932) | def _pcore_all_contents(path, &block) class ResourceBody (line 3942) | class ResourceBody < Positioned method _pcore_type (line 3943) | def self._pcore_type method from_hash (line 3961) | def self.from_hash(init_hash) method from_asserted_hash (line 3965) | def self.from_asserted_hash(init_hash) method create (line 3974) | def self.create(locator, offset, length, title = nil, operations... method initialize (line 3988) | def initialize(locator, offset, length, title = nil, operations ... method _pcore_init_hash (line 3995) | def _pcore_init_hash method _pcore_contents (line 4002) | def _pcore_contents method _pcore_all_contents (line 4007) | def _pcore_all_contents(path, &block) method eql? (line 4020) | def eql?(o) class AbstractResource (line 4028) | class AbstractResource < Expression method _pcore_type (line 4029) | def self._pcore_type method from_hash (line 4051) | def self.from_hash(init_hash) method from_asserted_hash (line 4055) | def self.from_asserted_hash(init_hash) method create (line 4063) | def self.create(locator, offset, length, form = "regular") method virtual (line 4075) | def virtual method exported (line 4079) | def exported method initialize (line 4083) | def initialize(locator, offset, length, form = "regular") method _pcore_init_hash (line 4089) | def _pcore_init_hash method eql? (line 4095) | def eql?(o) class ResourceExpression (line 4102) | class ResourceExpression < AbstractResource method _pcore_type (line 4103) | def self._pcore_type method from_hash (line 4118) | def self.from_hash(init_hash) method from_asserted_hash (line 4122) | def self.from_asserted_hash(init_hash) method create (line 4132) | def self.create(locator, offset, length, type_name, form = "regu... method initialize (line 4147) | def initialize(locator, offset, length, type_name, form = "regul... method _pcore_init_hash (line 4154) | def _pcore_init_hash method _pcore_contents (line 4161) | def _pcore_contents method _pcore_all_contents (line 4166) | def _pcore_all_contents(path, &block) method eql? (line 4179) | def eql?(o) class ResourceDefaultsExpression (line 4187) | class ResourceDefaultsExpression < AbstractResource method _pcore_type (line 4188) | def self._pcore_type method from_hash (line 4206) | def self.from_hash(init_hash) method from_asserted_hash (line 4210) | def self.from_asserted_hash(init_hash) method create (line 4220) | def self.create(locator, offset, length, form = "regular", type_... method initialize (line 4235) | def initialize(locator, offset, length, form = "regular", type_r... method _pcore_init_hash (line 4242) | def _pcore_init_hash method _pcore_contents (line 4249) | def _pcore_contents method _pcore_all_contents (line 4254) | def _pcore_all_contents(path, &block) method eql? (line 4267) | def eql?(o) class ResourceOverrideExpression (line 4275) | class ResourceOverrideExpression < AbstractResource method _pcore_type (line 4276) | def self._pcore_type method from_hash (line 4291) | def self.from_hash(init_hash) method from_asserted_hash (line 4295) | def self.from_asserted_hash(init_hash) method create (line 4305) | def self.create(locator, offset, length, resources, form = "regu... method initialize (line 4320) | def initialize(locator, offset, length, resources, form = "regul... method _pcore_init_hash (line 4327) | def _pcore_init_hash method _pcore_contents (line 4334) | def _pcore_contents method _pcore_all_contents (line 4339) | def _pcore_all_contents(path, &block) method eql? (line 4352) | def eql?(o) class SelectorEntry (line 4360) | class SelectorEntry < Positioned method _pcore_type (line 4361) | def self._pcore_type method from_hash (line 4373) | def self.from_hash(init_hash) method from_asserted_hash (line 4377) | def self.from_asserted_hash(init_hash) method create (line 4386) | def self.create(locator, offset, length, matching_expr, value_expr) method initialize (line 4400) | def initialize(locator, offset, length, matching_expr, value_expr) method _pcore_init_hash (line 4407) | def _pcore_init_hash method _pcore_contents (line 4414) | def _pcore_contents method _pcore_all_contents (line 4419) | def _pcore_all_contents(path, &block) method eql? (line 4432) | def eql?(o) class SelectorExpression (line 4440) | class SelectorExpression < Expression method _pcore_type (line 4441) | def self._pcore_type method from_hash (line 4456) | def self.from_hash(init_hash) method from_asserted_hash (line 4460) | def self.from_asserted_hash(init_hash) method create (line 4469) | def self.create(locator, offset, length, left_expr, selectors = ... method initialize (line 4483) | def initialize(locator, offset, length, left_expr, selectors = _... method _pcore_init_hash (line 4490) | def _pcore_init_hash method _pcore_contents (line 4497) | def _pcore_contents method _pcore_all_contents (line 4502) | def _pcore_all_contents(path, &block) method eql? (line 4515) | def eql?(o) class NamedAccessExpression (line 4523) | class NamedAccessExpression < BinaryExpression method _pcore_type (line 4524) | def self._pcore_type method _pcore_contents (line 4532) | def _pcore_contents method _pcore_all_contents (line 4537) | def _pcore_all_contents(path, &block) class Program (line 4551) | class Program < PopsObject method _pcore_type (line 4552) | def self._pcore_type method from_hash (line 4584) | def self.from_hash(init_hash) method from_asserted_hash (line 4588) | def self.from_asserted_hash(init_hash) method create (line 4595) | def self.create(locator, body = nil, definitions = _pcore_type['... method current (line 4608) | def current method source_text (line 4612) | def source_text method source_ref (line 4616) | def source_ref method line_offsets (line 4620) | def line_offsets method initialize (line 4624) | def initialize(locator, body = nil, definitions = _pcore_type['d... method _pcore_init_hash (line 4632) | def _pcore_init_hash method _pcore_contents (line 4640) | def _pcore_contents method _pcore_all_contents (line 4645) | def _pcore_all_contents(path, &block) method eql? (line 4658) | def eql?(o) function register_pcore_types (line 4670) | def self.register_pcore_types FILE: lib/puppet/pops/model/ast_transformer.rb class Puppet::Pops::Model::AstTransformer (line 10) | class Puppet::Pops::Model::AstTransformer method initialize (line 16) | def initialize(source_file = "unknown-file", importer = nil) method ast (line 34) | def ast(o, klass, hash = {}) method merge_location (line 46) | def merge_location(hash, o) method transform (line 63) | def transform(o) method query (line 73) | def query(o) method hostname (line 78) | def hostname(o) method query_Object (line 84) | def query_Object(o) method hostname_Array (line 89) | def hostname_Array(o) method hostname_LiteralValue (line 93) | def hostname_LiteralValue(o) method hostname_QualifiedName (line 97) | def hostname_QualifiedName(o) method hostname_LiteralNumber (line 101) | def hostname_LiteralNumber(o) method hostname_LiteralDefault (line 105) | def hostname_LiteralDefault(o) method hostname_LiteralRegularExpression (line 109) | def hostname_LiteralRegularExpression(o) method hostname_Object (line 113) | def hostname_Object(o) method transform_Object (line 117) | def transform_Object(o) method is_nop? (line 124) | def is_nop?(o) method nil_or_empty? (line 128) | def nil_or_empty?(x) FILE: lib/puppet/pops/model/factory.rb type Puppet::Pops (line 11) | module Puppet::Pops type Model (line 12) | module Model class Factory (line 13) | class Factory method infer (line 35) | def self.infer(o) method [] (line 45) | def [](key) method []= (line 49) | def []=(key, value) method all_factories (line 53) | def all_factories(&block) method model (line 58) | def model method create_model (line 77) | def create_model method initialize (line 85) | def initialize(o, *args) method map_offset (line 95) | def map_offset(model, locator) method map_offset_Object (line 99) | def map_offset_Object(o, locator) method map_offset_Factory (line 103) | def map_offset_Factory(o, locator) method map_offset_Positioned (line 107) | def map_offset_Positioned(o, locator) method interpolate (line 119) | def interpolate method build_ArithmeticExpression (line 125) | def build_ArithmeticExpression(o, op, a, b) method build_AssignmentExpression (line 130) | def build_AssignmentExpression(o, op, a, b) method build_AttributeOperation (line 135) | def build_AttributeOperation(o, name, op, value) method build_AttributesOperation (line 141) | def build_AttributesOperation(o, value) method build_AccessExpression (line 145) | def build_AccessExpression(o, left, keys) method build_BinaryExpression (line 150) | def build_BinaryExpression(o, left, right) method build_BlockExpression (line 155) | def build_BlockExpression(o, args) method build_EppExpression (line 159) | def build_EppExpression(o, parameters_specified, body) method build_CallExpression (line 166) | def build_CallExpression(o, functor, rval_required, args) method build_CallMethodExpression (line 172) | def build_CallMethodExpression(o, functor, rval_required, lambda, ... method build_CaseExpression (line 177) | def build_CaseExpression(o, test, args) method build_CaseOption (line 182) | def build_CaseOption(o, value_list, then_expr) method build_CollectExpression (line 189) | def build_CollectExpression(o, type_expr, query_expr, attribute_op... method build_ComparisonExpression (line 195) | def build_ComparisonExpression(o, op, a, b) method build_ConcatenatedString (line 200) | def build_ConcatenatedString(o, args) method build_HeredocExpression (line 205) | def build_HeredocExpression(o, name, expr) method build_HostClassDefinition (line 216) | def build_HostClassDefinition(o, name, parameters, parent_class_na... method build_ResourceOverrideExpression (line 221) | def build_ResourceOverrideExpression(o, resources, attribute_opera... method build_ReservedWord (line 226) | def build_ReservedWord(o, name, future) method build_KeyedEntry (line 231) | def build_KeyedEntry(o, k, v) method build_LiteralHash (line 236) | def build_LiteralHash(o, keyed_entries, unfolded) method build_LiteralList (line 241) | def build_LiteralList(o, values) method build_LiteralFloat (line 245) | def build_LiteralFloat(o, val) method build_LiteralInteger (line 249) | def build_LiteralInteger(o, val, radix) method build_LiteralString (line 254) | def build_LiteralString(o, value) method build_IfExpression (line 258) | def build_IfExpression(o, t, ift, els) method build_ApplyExpression (line 264) | def build_ApplyExpression(o, args, body) method build_MatchExpression (line 269) | def build_MatchExpression(o, op, a, b) method infer_String (line 278) | def infer_String(o) method infer_NilClass (line 283) | def infer_NilClass(o) method infer_TrueClass (line 287) | def infer_TrueClass(o) method infer_FalseClass (line 292) | def infer_FalseClass(o) method infer_Integer (line 297) | def infer_Integer(o) method infer_Float (line 302) | def infer_Float(o) method infer_Regexp (line 307) | def infer_Regexp(o) method infer_Symbol (line 316) | def infer_Symbol(o) method infer_Array (line 328) | def infer_Array(o) method infer_Hash (line 336) | def infer_Hash(o) method f_build_body (line 342) | def f_build_body(body) method build_LambdaExpression (line 355) | def build_LambdaExpression(o, parameters, body, return_type) method build_NamedDefinition (line 362) | def build_NamedDefinition(o, name, parameters, body) method build_FunctionDefinition (line 369) | def build_FunctionDefinition(o, name, parameters, body, return_type) method build_PlanDefinition (line 377) | def build_PlanDefinition(o, name, parameters, body, return_type = ... method build_NodeDefinition (line 385) | def build_NodeDefinition(o, hosts, parent, body) method build_Parameter (line 392) | def build_Parameter(o, name, expr) method build_QualifiedReference (line 397) | def build_QualifiedReference(o, name) method build_RelationshipExpression (line 401) | def build_RelationshipExpression(o, op, a, b) method build_ResourceExpression (line 406) | def build_ResourceExpression(o, type_name, bodies) method build_RenderStringExpression (line 411) | def build_RenderStringExpression(o, string) method build_ResourceBody (line 415) | def build_ResourceBody(o, title_expression, attribute_operations) method build_ResourceDefaultsExpression (line 420) | def build_ResourceDefaultsExpression(o, type_ref, attribute_operat... method build_SelectorExpression (line 425) | def build_SelectorExpression(o, left, *selectors) method build_SelectorEntry (line 430) | def build_SelectorEntry(o, matching, value) method build_QueryExpression (line 435) | def build_QueryExpression(o, expr) method build_TypeAlias (line 439) | def build_TypeAlias(o, name, type_expr) method build_TypeMapping (line 472) | def build_TypeMapping(o, lhs, rhs) method build_TypeDefinition (line 477) | def build_TypeDefinition(o, name, parent, body) method build_UnaryExpression (line 484) | def build_UnaryExpression(o, expr) method build_Program (line 488) | def build_Program(o, body, definitions, locator) method build_QualifiedName (line 495) | def build_QualifiedName(o, name) method build_TokenValue (line 499) | def build_TokenValue(o) method f_build_unary (line 504) | def f_build_unary(klazz, expr) method f_build_binary_op (line 508) | def f_build_binary_op(klazz, op, left, right) method f_build_binary (line 512) | def f_build_binary(klazz, left, right) method f_arithmetic (line 516) | def f_arithmetic(op, r) method f_comparison (line 520) | def f_comparison(op, r) method f_match (line 524) | def f_match(op, r) method in (line 529) | def in(r) f_build_binary(InExpression, self, r); end method or (line 531) | def or(r) f_build_binary(OrExpression, self, r); end method and (line 533) | def and(r) f_build_binary(AndExpression, self, r); end method not (line 535) | def not(); f_build_unary(NotExpression, self); end method minus (line 537) | def minus(); f_build_unary(UnaryMinusExpression, self); end method unfold (line 539) | def unfold(); f_build_unary(UnfoldExpression, self); end method text (line 541) | def text(); f_build_unary(TextExpression, self); end method var (line 543) | def var(); f_build_unary(VariableExpression, self); end method access (line 545) | def access(r); f_build_binary(AccessExpression, self, r); end method dot (line 547) | def dot r; f_build_binary(NamedAccessExpression, self, r); end method + (line 549) | def + r; f_arithmetic('+', r); end method - (line 551) | def - r; f_arithmetic('-', r); end method / (line 553) | def / r; f_arithmetic('/', r); end method * (line 555) | def * r; f_arithmetic('*', r); end method % (line 557) | def % r; f_arithmetic('%', r); end method << (line 559) | def << r; f_arithmetic('<<', r); end method >> (line 561) | def >> r; f_arithmetic('>>', r); end method < (line 563) | def < r; f_comparison('<', r); end method <= (line 565) | def <= r; f_comparison('<=', r); end method > (line 567) | def > r; f_comparison('>', r); end method >= (line 569) | def >= r; f_comparison('>=', r); end method eq (line 571) | def eq r; f_comparison('==', r); end method ne (line 573) | def ne r; f_comparison('!=', r); end method =~ (line 575) | def =~ r; f_match('=~', r); end method mne (line 577) | def mne r; f_match('!~', r); end method paren (line 579) | def paren; f_build_unary(ParenthesizedExpression, self); end method relop (line 581) | def relop(op, r) method select (line 585) | def select(*args) method access_at (line 590) | def access_at(*r) method default (line 595) | def default(r) method lambda= (line 600) | def lambda=(lambda) method set (line 605) | def set(r) method plus_set (line 610) | def plus_set(r) method minus_set (line 615) | def minus_set(r) method attributes (line 619) | def attributes(*args) method offset (line 624) | def offset method length (line 628) | def length method record_position (line 634) | def record_position(locator, start_locatable, end_locatable) method set_resource_form (line 646) | def self.set_resource_form(expr, form) method resource_shape (line 661) | def self.resource_shape(expr) method literal (line 688) | def self.literal(o); infer(o); ... method minus (line 690) | def self.minus(o); infer(o).minus; ... method unfold (line 692) | def self.unfold(o); infer(o).unfold; ... method var (line 694) | def self.var(o); infer(o).var; ... method block (line 696) | def self.block(*args); new(BlockExpression, args.m... method string (line 698) | def self.string(*args); new(ConcatenatedString, arg... method text (line 700) | def self.text(o); infer(o).text; end method IF (line 702) | def self.IF(test_e, then_e, else_e); new(IfExpression, test_e,... method UNLESS (line 704) | def self.UNLESS(test_e, then_e, else_e); new(UnlessExpression, tes... method CASE (line 706) | def self.CASE(test_e, *options); new(CaseExpression, test_e, optio... method WHEN (line 708) | def self.WHEN(values_list, block); new(CaseOption, values_list... method MAP (line 710) | def self.MAP(match, value); new(SelectorEntry, match, v... method KEY_ENTRY (line 712) | def self.KEY_ENTRY(key, val); new(KeyedEntry, key, val); ... method HASH (line 714) | def self.HASH(entries); new(LiteralHash, entries, f... method HASH_UNFOLDED (line 716) | def self.HASH_UNFOLDED(entries); new(LiteralHash, entries, t... method HEREDOC (line 718) | def self.HEREDOC(name, expr); new(HeredocExpression, name... method STRING (line 720) | def self.STRING(*args); new(ConcatenatedString, arg... method LIST (line 722) | def self.LIST(entries); new(LiteralList, entries); ... method PARAM (line 724) | def self.PARAM(name, expr = nil); new(Parameter, name, expr); end method NODE (line 726) | def self.NODE(hosts, parent, body); new(NodeDefinition, hosts, par... method captures_rest (line 731) | def captures_rest method type_expr (line 736) | def type_expr(o) method fqn (line 743) | def self.fqn(o) method fqr (line 750) | def self.fqr(o) method SUBLOCATE (line 754) | def self.SUBLOCATE(token, expr_factory) method TEXT (line 767) | def self.TEXT(expr) method RENDER_STRING (line 772) | def self.RENDER_STRING(o) method RENDER_EXPR (line 776) | def self.RENDER_EXPR(expr) method EPP (line 780) | def self.EPP(parameters, body) method RESERVED (line 791) | def self.RESERVED(name, future = false) method QNAME (line 798) | def self.QNAME(name) method NUMBER (line 802) | def self.NUMBER(name_or_numeric) method QNAME_OR_NUMBER (line 821) | def self.QNAME_OR_NUMBER(name) method QREF (line 835) | def self.QREF(name) method VIRTUAL_QUERY (line 839) | def self.VIRTUAL_QUERY(query_expr) method EXPORTED_QUERY (line 843) | def self.EXPORTED_QUERY(query_expr) method ARGUMENTS (line 847) | def self.ARGUMENTS(args, arg) method ATTRIBUTE_OP (line 858) | def self.ATTRIBUTE_OP(name, op, expr) method ATTRIBUTES_OP (line 862) | def self.ATTRIBUTES_OP(expr) method call_named (line 867) | def self.call_named(name, rval_required, *argument_list) method CALL_NAMED (line 871) | def self.CALL_NAMED(name, rval_required, argument_list) method CALL_METHOD (line 875) | def self.CALL_METHOD(functor, argument_list) method COLLECT (line 879) | def self.COLLECT(type_expr, query_expr, attribute_operations) method NAMED_ACCESS (line 883) | def self.NAMED_ACCESS(type_name, bodies) method RESOURCE (line 887) | def self.RESOURCE(type_name, bodies) method RESOURCE_DEFAULTS (line 891) | def self.RESOURCE_DEFAULTS(type_name, attribute_operations) method RESOURCE_OVERRIDE (line 895) | def self.RESOURCE_OVERRIDE(resource_ref, attribute_operations) method RESOURCE_BODY (line 899) | def self.RESOURCE_BODY(resource_title, attribute_operations) method PROGRAM (line 903) | def self.PROGRAM(body, definitions, locator) method block_or_expression (line 908) | def self.block_or_expression(args, left_brace = nil, right_brace =... method HOSTCLASS (line 926) | def self.HOSTCLASS(name, parameters, parent, body) method DEFINITION (line 930) | def self.DEFINITION(name, parameters, body) method PLAN (line 934) | def self.PLAN(name, parameters, body) method APPLY (line 938) | def self.APPLY(arguments, body) method APPLY_BLOCK (line 942) | def self.APPLY_BLOCK(statements) method FUNCTION (line 946) | def self.FUNCTION(name, parameters, body, return_type) method LAMBDA (line 950) | def self.LAMBDA(parameters, body, return_type) method TYPE_ASSIGNMENT (line 954) | def self.TYPE_ASSIGNMENT(lhs, rhs) method TYPE_DEFINITION (line 962) | def self.TYPE_DEFINITION(name, parent, body) method nop? (line 966) | def self.nop? o method name_is_statement? (line 993) | def self.name_is_statement?(name) class ArgsToNonCallError (line 997) | class ArgsToNonCallError < RuntimeError method initialize (line 1000) | def initialize(args, name_expr) method transform_calls (line 1009) | def self.transform_calls(expressions) method transform_resource_wo_title (line 1043) | def self.transform_resource_wo_title(left, attribute_ops, lbrace_t... method interpolate_Factory (line 1058) | def interpolate_Factory(c) method interpolate_LiteralInteger (line 1062) | def interpolate_LiteralInteger(c) method interpolate_Object (line 1067) | def interpolate_Object(c) method interpolate_QualifiedName (line 1071) | def interpolate_QualifiedName(c) method interpolate_AccessExpression (line 1079) | def interpolate_AccessExpression(c) method interpolate_NamedAccessExpression (line 1087) | def interpolate_NamedAccessExpression(c) method interpolate_CallMethodExpression (line 1096) | def interpolate_CallMethodExpression(c) method is_interop_rewriteable? (line 1104) | def is_interop_rewriteable?(o) method concat (line 1116) | def self.concat(*args) method to_s (line 1130) | def to_s method factory_to_model (line 1134) | def factory_to_model(value) method contained_current (line 1144) | def contained_current(container) FILE: lib/puppet/pops/model/model_label_provider.rb type Puppet::Pops (line 3) | module Puppet::Pops type Model (line 4) | module Model class ModelLabelProvider (line 9) | class ModelLabelProvider method initialize (line 12) | def initialize method label (line 19) | def label o method label_Factory (line 24) | def label_Factory o ; label(o.model) ... method label_Array (line 25) | def label_Array o ; "Array" ... method label_LiteralInteger (line 26) | def label_LiteralInteger o ; "Literal Integer" ... method label_LiteralFloat (line 27) | def label_LiteralFloat o ; "Literal Float" ... method label_ArithmeticExpression (line 28) | def label_ArithmeticExpression o ; "'#{o.operator}' express... method label_AccessExpression (line 29) | def label_AccessExpression o ; "'[]' expression" ... method label_MatchExpression (line 30) | def label_MatchExpression o ; "'#{o.operator}' express... method label_CollectExpression (line 31) | def label_CollectExpression o ; label(o.query) ... method label_EppExpression (line 32) | def label_EppExpression o ; "Epp Template" ... method label_ExportedQuery (line 33) | def label_ExportedQuery o ; "Exported Query" ... method label_VirtualQuery (line 34) | def label_VirtualQuery o ; "Virtual Query" ... method label_QueryExpression (line 35) | def label_QueryExpression o ; "Collect Query" ... method label_ComparisonExpression (line 36) | def label_ComparisonExpression o ; "'#{o.operator}' express... method label_AndExpression (line 37) | def label_AndExpression o ; "'and' expression" ... method label_OrExpression (line 38) | def label_OrExpression o ; "'or' expression" ... method label_InExpression (line 39) | def label_InExpression o ; "'in' expression" ... method label_AssignmentExpression (line 40) | def label_AssignmentExpression o ; "'#{o.operator}' express... method label_AttributeOperation (line 41) | def label_AttributeOperation o ; "'#{o.operator}' express... method label_LiteralList (line 42) | def label_LiteralList o ; "Array Expression" ... method label_LiteralHash (line 43) | def label_LiteralHash o ; "Hash Expression" ... method label_KeyedEntry (line 44) | def label_KeyedEntry o ; "Hash Entry" ... method label_LiteralBoolean (line 45) | def label_LiteralBoolean o ; "Boolean" ... method label_TrueClass (line 46) | def label_TrueClass o ; "Boolean" ... method label_FalseClass (line 47) | def label_FalseClass o ; "Boolean" ... method label_LiteralString (line 48) | def label_LiteralString o ; "String" ... method label_LambdaExpression (line 49) | def label_LambdaExpression o ; "Lambda" ... method label_LiteralDefault (line 50) | def label_LiteralDefault o ; "'default' expression" ... method label_LiteralUndef (line 51) | def label_LiteralUndef o ; "'undef' expression" ... method label_LiteralRegularExpression (line 52) | def label_LiteralRegularExpression o ; "Regular Expression" ... method label_Nop (line 53) | def label_Nop o ; "Nop Expression" ... method label_NamedAccessExpression (line 54) | def label_NamedAccessExpression o ; "'.' expression" ... method label_NilClass (line 55) | def label_NilClass o ; "Undef Value" ... method label_NotExpression (line 56) | def label_NotExpression o ; "'not' expression" ... method label_VariableExpression (line 57) | def label_VariableExpression o ; "Variable" ... method label_TextExpression (line 58) | def label_TextExpression o ; "Expression in Interpola... method label_UnaryMinusExpression (line 59) | def label_UnaryMinusExpression o ; "Unary Minus" ... method label_UnfoldExpression (line 60) | def label_UnfoldExpression o ; "Unfold" ... method label_BlockExpression (line 61) | def label_BlockExpression o ; "Block Expression" ... method label_ApplyBlockExpression (line 62) | def label_ApplyBlockExpression o ; "Apply Block Expression"... method label_ConcatenatedString (line 63) | def label_ConcatenatedString o ; "Double Quoted String" ... method label_HeredocExpression (line 64) | def label_HeredocExpression o ; "'@(#{o.syntax})' expres... method label_HostClassDefinition (line 65) | def label_HostClassDefinition o ; "Host Class Definition" ... method label_FunctionDefinition (line 66) | def label_FunctionDefinition o ; "Function Definition" ... method label_PlanDefinition (line 67) | def label_PlanDefinition o ; "Plan Definition" ... method label_NodeDefinition (line 68) | def label_NodeDefinition o ; "Node Definition" ... method label_ResourceTypeDefinition (line 69) | def label_ResourceTypeDefinition o ; "'define' expression" ... method label_ResourceOverrideExpression (line 70) | def label_ResourceOverrideExpression o ; "Resource Override" ... method label_Parameter (line 71) | def label_Parameter o ; "Parameter Definition" ... method label_ParenthesizedExpression (line 72) | def label_ParenthesizedExpression o ; "Parenthesized Expressio... method label_IfExpression (line 73) | def label_IfExpression o ; "'if' statement" ... method label_UnlessExpression (line 74) | def label_UnlessExpression o ; "'unless' Statement" ... method label_CallNamedFunctionExpression (line 75) | def label_CallNamedFunctionExpression o ; "Function Call" ... method label_CallMethodExpression (line 76) | def label_CallMethodExpression o ; "Method call" ... method label_ApplyExpression (line 77) | def label_ApplyExpression o ; "'apply' expression" ... method label_CaseExpression (line 78) | def label_CaseExpression o ; "'case' statement" ... method label_CaseOption (line 79) | def label_CaseOption o ; "Case Option" ... method label_RenderStringExpression (line 80) | def label_RenderStringExpression o ; "Epp Text" ... method label_RenderExpression (line 81) | def label_RenderExpression o ; "Epp Interpolated Expres... method label_RelationshipExpression (line 82) | def label_RelationshipExpression o ; "'#{o.operator}' express... method label_ResourceBody (line 83) | def label_ResourceBody o ; "Resource Instance Defin... method label_ResourceDefaultsExpression (line 84) | def label_ResourceDefaultsExpression o ; "Resource Defaults Expre... method label_ResourceExpression (line 85) | def label_ResourceExpression o ; "Resource Statement" ... method label_SelectorExpression (line 86) | def label_SelectorExpression o ; "Selector Expression" ... method label_SelectorEntry (line 87) | def label_SelectorEntry o ; "Selector Option" ... method label_Integer (line 88) | def label_Integer o ; "Integer" ... method label_Float (line 89) | def label_Float o ; "Float" ... method label_String (line 90) | def label_String o ; "String" ... method label_Regexp (line 91) | def label_Regexp o ; "Regexp" ... method label_Object (line 92) | def label_Object o ; "Object" ... method label_Hash (line 93) | def label_Hash o ; "Hash" ... method label_QualifiedName (line 94) | def label_QualifiedName o ; "Name" ... method label_QualifiedReference (line 95) | def label_QualifiedReference o ; "Type-Name" ... method label_PAnyType (line 96) | def label_PAnyType o ; "#{o}-Type" end method label_ReservedWord (line 97) | def label_ReservedWord o ; "Reserved Word '#{o.word... method label_CatalogCollector (line 98) | def label_CatalogCollector o ; "Catalog-Collector" ... method label_ExportedCollector (line 99) | def label_ExportedCollector o ; "Exported-Collector" ... method label_TypeAlias (line 100) | def label_TypeAlias o ; "Type Alias" ... method label_TypeMapping (line 101) | def label_TypeMapping o ; "Type Mapping" ... method label_TypeDefinition (line 102) | def label_TypeDefinition o ; "Type Definition" ... method label_Binary (line 103) | def label_Binary o ; "Binary" ... method label_Sensitive (line 104) | def label_Sensitive o ; "Sensitive" ... method label_Timestamp (line 105) | def label_Timestamp o ; "Timestamp" ... method label_Timespan (line 106) | def label_Timespan o ; "Timespan" ... method label_Version (line 107) | def label_Version o ; "Semver" ... method label_VersionRange (line 108) | def label_VersionRange o ; "SemverRange" ... method label_PResourceType (line 111) | def label_PResourceType o method label_Resource (line 119) | def label_Resource o method label_Class (line 123) | def label_Class o FILE: lib/puppet/pops/model/model_tree_dumper.rb class Puppet::Pops::Model::ModelTreeDumper (line 7) | class Puppet::Pops::Model::ModelTreeDumper < Puppet::Pops::Model::TreeDu... method dump_Array (line 8) | def dump_Array o method dump_LiteralFloat (line 12) | def dump_LiteralFloat o method dump_LiteralInteger (line 16) | def dump_LiteralInteger o method dump_LiteralValue (line 29) | def dump_LiteralValue o method dump_QualifiedReference (line 33) | def dump_QualifiedReference o method dump_Factory (line 37) | def dump_Factory o method dump_ArithmeticExpression (line 42) | def dump_ArithmeticExpression o method dump_AccessExpression (line 47) | def dump_AccessExpression o method dump_MatchesExpression (line 55) | def dump_MatchesExpression o method dump_CollectExpression (line 59) | def dump_CollectExpression o method dump_EppExpression (line 68) | def dump_EppExpression o method dump_ExportedQuery (line 79) | def dump_ExportedQuery o method dump_VirtualQuery (line 85) | def dump_VirtualQuery o method dump_QueryExpression (line 91) | def dump_QueryExpression o method dump_ComparisonExpression (line 95) | def dump_ComparisonExpression o method dump_AndExpression (line 99) | def dump_AndExpression o method dump_OrExpression (line 103) | def dump_OrExpression o method dump_InExpression (line 107) | def dump_InExpression o method dump_AssignmentExpression (line 111) | def dump_AssignmentExpression o method dump_AttributeOperation (line 116) | def dump_AttributeOperation o method dump_AttributesOperation (line 120) | def dump_AttributesOperation o method dump_LiteralList (line 124) | def dump_LiteralList o method dump_LiteralHash (line 128) | def dump_LiteralHash o method dump_KeyedEntry (line 132) | def dump_KeyedEntry o method dump_MatchExpression (line 136) | def dump_MatchExpression o method dump_LiteralString (line 140) | def dump_LiteralString o method dump_LambdaExpression (line 144) | def dump_LambdaExpression o method dump_LiteralDefault (line 156) | def dump_LiteralDefault o method dump_LiteralUndef (line 160) | def dump_LiteralUndef o method dump_LiteralRegularExpression (line 164) | def dump_LiteralRegularExpression o method dump_Nop (line 168) | def dump_Nop o method dump_NamedAccessExpression (line 172) | def dump_NamedAccessExpression o method dump_NilClass (line 176) | def dump_NilClass o method dump_NotExpression (line 180) | def dump_NotExpression o method dump_VariableExpression (line 184) | def dump_VariableExpression o method dump_TextExpression (line 189) | def dump_TextExpression o method dump_UnaryMinusExpression (line 193) | def dump_UnaryMinusExpression o method dump_UnfoldExpression (line 197) | def dump_UnfoldExpression o method dump_BlockExpression (line 201) | def dump_BlockExpression o method dump_ConcatenatedString (line 209) | def dump_ConcatenatedString o method dump_HeredocExpression (line 213) | def dump_HeredocExpression(o) method dump_HostClassDefinition (line 217) | def dump_HostClassDefinition o method dump_PlanDefinition (line 229) | def dump_PlanDefinition o method dump_NodeDefinition (line 240) | def dump_NodeDefinition o method dump_NamedDefinition (line 252) | def dump_NamedDefinition o method dump_FunctionDefinition (line 264) | def dump_FunctionDefinition o method dump_ResourceTypeDefinition (line 276) | def dump_ResourceTypeDefinition o method dump_ResourceOverrideExpression (line 282) | def dump_ResourceOverrideExpression o method dump_ReservedWord (line 292) | def dump_ReservedWord o method dump_Parameter (line 297) | def dump_Parameter o method dump_ParenthesizedExpression (line 311) | def dump_ParenthesizedExpression o method dump_Program (line 317) | def dump_Program(o) method dump_IfExpression (line 321) | def dump_IfExpression o method dump_UnlessExpression (line 331) | def dump_UnlessExpression o method dump_CallNamedFunctionExpression (line 344) | def dump_CallNamedFunctionExpression o method dump_CallMethodExpression (line 357) | def dump_CallMethodExpression o method dump_CaseExpression (line 364) | def dump_CaseExpression o method dump_CaseOption (line 372) | def dump_CaseOption o method dump_RelationshipExpression (line 379) | def dump_RelationshipExpression o method dump_RenderStringExpression (line 383) | def dump_RenderStringExpression o method dump_RenderExpression (line 387) | def dump_RenderExpression o method dump_ResourceBody (line 391) | def dump_ResourceBody o method dump_ResourceDefaultsExpression (line 400) | def dump_ResourceDefaultsExpression o method dump_ResourceExpression (line 410) | def dump_ResourceExpression o method dump_SelectorExpression (line 420) | def dump_SelectorExpression o method dump_SelectorEntry (line 424) | def dump_SelectorEntry o method dump_TypeAlias (line 428) | def dump_TypeAlias(o) method dump_TypeMapping (line 432) | def dump_TypeMapping(o) method dump_TypeDefinition (line 436) | def dump_TypeDefinition(o) method dump_Object (line 440) | def dump_Object o method is_nop? (line 444) | def is_nop? o FILE: lib/puppet/pops/model/pn_transformer.rb type Puppet::Pops (line 5) | module Puppet::Pops type Model (line 6) | module Model class PNTransformer (line 7) | class PNTransformer method transform (line 10) | def self.transform(ast) method initialize (line 14) | def initialize method transform (line 18) | def transform(ast) method transform_AccessExpression (line 22) | def transform_AccessExpression(e) method transform_AndExpression (line 26) | def transform_AndExpression(e) method transform_ArithmeticExpression (line 30) | def transform_ArithmeticExpression(e) method transform_Array (line 34) | def transform_Array(a) method transform_AssignmentExpression (line 38) | def transform_AssignmentExpression(e) method transform_AttributeOperation (line 42) | def transform_AttributeOperation(e) method transform_AttributesOperation (line 46) | def transform_AttributesOperation(e) method transform_BlockExpression (line 50) | def transform_BlockExpression(e) method transform_CallFunctionExpression (line 54) | def transform_CallFunctionExpression(e) method transform_CallMethodExpression (line 58) | def transform_CallMethodExpression(e) method transform_CallNamedFunctionExpression (line 62) | def transform_CallNamedFunctionExpression(e) method transform_CaseExpression (line 66) | def transform_CaseExpression(e) method transform_CaseOption (line 70) | def transform_CaseOption(e) method transform_CollectExpression (line 74) | def transform_CollectExpression(e) method transform_ComparisonExpression (line 80) | def transform_ComparisonExpression(e) method transform_ConcatenatedString (line 84) | def transform_ConcatenatedString(e) method transform_EppExpression (line 88) | def transform_EppExpression(e) method transform_ExportedQuery (line 92) | def transform_ExportedQuery(e) method transform_Factory (line 96) | def transform_Factory(e) method transform_FunctionDefinition (line 100) | def transform_FunctionDefinition(e) method transform_HeredocExpression (line 104) | def transform_HeredocExpression(e) method transform_HostClassDefinition (line 111) | def transform_HostClassDefinition(e) method transform_IfExpression (line 115) | def transform_IfExpression(e) method transform_InExpression (line 119) | def transform_InExpression(e) method transform_KeyedEntry (line 123) | def transform_KeyedEntry(e) method transform_LambdaExpression (line 127) | def transform_LambdaExpression(e) method transform_LiteralBoolean (line 135) | def transform_LiteralBoolean(e) method transform_LiteralDefault (line 139) | def transform_LiteralDefault(_) method transform_LiteralFloat (line 143) | def transform_LiteralFloat(e) method transform_LiteralHash (line 147) | def transform_LiteralHash(e) method transform_LiteralInteger (line 151) | def transform_LiteralInteger(e) method transform_LiteralList (line 156) | def transform_LiteralList(e) method transform_LiteralRegularExpression (line 160) | def transform_LiteralRegularExpression(e) method transform_LiteralString (line 164) | def transform_LiteralString(e) method transform_LiteralUndef (line 168) | def transform_LiteralUndef(_) method transform_MatchExpression (line 172) | def transform_MatchExpression(e) method transform_NamedAccessExpression (line 176) | def transform_NamedAccessExpression(e) method transform_NodeDefinition (line 180) | def transform_NodeDefinition(e) method transform_Nop (line 187) | def transform_Nop(_) method transform_NilClass (line 192) | def transform_NilClass(e) method transform_NotExpression (line 196) | def transform_NotExpression(e) method transform_OrExpression (line 200) | def transform_OrExpression(e) method transform_Parameter (line 204) | def transform_Parameter(e) method transform_ParenthesizedExpression (line 212) | def transform_ParenthesizedExpression(e) method transform_PlanDefinition (line 216) | def transform_PlanDefinition(e) method transform_Program (line 220) | def transform_Program(e) method transform_QualifiedName (line 224) | def transform_QualifiedName(e) method transform_QualifiedReference (line 228) | def transform_QualifiedReference(e) method transform_RelationshipExpression (line 232) | def transform_RelationshipExpression(e) method transform_RenderExpression (line 236) | def transform_RenderExpression(e) method transform_RenderStringExpression (line 240) | def transform_RenderStringExpression(e) method transform_ReservedWord (line 244) | def transform_ReservedWord(e) method transform_ResourceBody (line 248) | def transform_ResourceBody(e) method transform_ResourceDefaultsExpression (line 255) | def transform_ResourceDefaultsExpression(e) method transform_ResourceExpression (line 261) | def transform_ResourceExpression(e) method transform_ResourceOverrideExpression (line 270) | def transform_ResourceOverrideExpression(e) method transform_ResourceTypeDefinition (line 276) | def transform_ResourceTypeDefinition(e) method transform_SelectorEntry (line 280) | def transform_SelectorEntry(e) method transform_SelectorExpression (line 284) | def transform_SelectorExpression(e) method transform_TextExpression (line 288) | def transform_TextExpression(e) method transform_TypeAlias (line 292) | def transform_TypeAlias(e) method transform_TypeDefinition (line 296) | def transform_TypeDefinition(e) method transform_TypeMapping (line 300) | def transform_TypeMapping(e) method transform_UnaryMinusExpression (line 304) | def transform_UnaryMinusExpression(e) method transform_UnfoldExpression (line 314) | def transform_UnfoldExpression(e) method transform_UnlessExpression (line 318) | def transform_UnlessExpression(e) method transform_VariableExpression (line 322) | def transform_VariableExpression(e) method transform_VirtualQuery (line 327) | def transform_VirtualQuery(e) method is_nop? (line 331) | def is_nop?(e) method binary_op (line 335) | def binary_op(e, op) method definition_to_pn (line 339) | def definition_to_pn(e, type_name, parent = nil, return_type = nil) method parameters_entry (line 348) | def parameters_entry(parameters) method block_as_entry (line 358) | def block_as_entry(name, expr) method pn_array (line 366) | def pn_array(a) method call_to_pn (line 370) | def call_to_pn(e, r, nr) method if_to_pn (line 376) | def if_to_pn(e, name) FILE: lib/puppet/pops/model/tree_dumper.rb class Puppet::Pops::Model::TreeDumper (line 5) | class Puppet::Pops::Model::TreeDumper method initialize (line 8) | def initialize initial_indentation = 0 method dump (line 13) | def dump(o) method do_dump (line 17) | def do_dump(o) method indent (line 21) | def indent method format (line 25) | def format(x) method format_r (line 38) | def format_r(x) method is_nop? (line 59) | def is_nop? o FILE: lib/puppet/pops/parser/code_merger.rb class Puppet::Pops::Parser::CodeMerger (line 3) | class Puppet::Pops::Parser::CodeMerger method concatenate (line 7) | def concatenate(parse_results) FILE: lib/puppet/pops/parser/eparser.rb type Puppet (line 12) | module Puppet class ParseError (line 13) | class ParseError < Puppet::Error; end class ImportError (line 14) | class ImportError < Racc::ParseError; end class AlreadyImportedError (line 15) | class AlreadyImportedError < ImportError; end type Pops (line 19) | module Pops type Parser (line 20) | module Parser class Parser (line 21) | class Parser < Racc::Parser method _reduce_none (line 3177) | def _reduce_none(val, _values, result) type Puppet (line 18) | module Puppet class ParseError (line 13) | class ParseError < Puppet::Error; end class ImportError (line 14) | class ImportError < Racc::ParseError; end class AlreadyImportedError (line 15) | class AlreadyImportedError < ImportError; end type Pops (line 19) | module Pops type Parser (line 20) | module Parser class Parser (line 21) | class Parser < Racc::Parser method _reduce_none (line 3177) | def _reduce_none(val, _values, result) FILE: lib/puppet/pops/parser/epp_parser.rb class Puppet::Pops::Parser::EppParser (line 4) | class Puppet::Pops::Parser::EppParser < Puppet::Pops::Parser::Parser method initvars (line 9) | def initvars method parse_file (line 14) | def parse_file(file) method _parse (line 32) | def _parse FILE: lib/puppet/pops/parser/epp_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser type EppSupport (line 9) | module EppSupport function fullscan_epp (line 16) | def fullscan_epp function scan_epp (line 30) | def scan_epp function interpolate_epp (line 61) | def interpolate_epp(skip_leading = false) class EppScanner (line 143) | class EppScanner method initialize (line 164) | def initialize(scanner) method message (line 171) | def message method scan (line 181) | def scan(skip_leading = false) FILE: lib/puppet/pops/parser/evaluating_parser.rb type Puppet::Pops (line 5) | module Puppet::Pops type Parser (line 6) | module Parser class EvaluatingParser (line 9) | class EvaluatingParser method initialize (line 14) | def initialize method parse_string (line 18) | def parse_string(s, file_source = nil) method parse_file (line 37) | def parse_file(file) method evaluate_string (line 42) | def evaluate_string(scope, s, file_source = nil) method evaluate_file (line 46) | def evaluate_file(scope, file) method clear (line 50) | def clear method closure (line 55) | def closure(model, scope) method evaluate (line 59) | def evaluate(scope, model) method evaluate_expression_with_bindings (line 68) | def evaluate_expression_with_bindings(scope, variable_bindings, ex... method evaluator (line 72) | def evaluator method convert_to_3x (line 82) | def convert_to_3x(object, scope) method validate (line 86) | def validate(parse_result) method acceptor (line 92) | def acceptor method validator (line 96) | def validator(acceptor) method assert_and_report (line 100) | def assert_and_report(parse_result, file_source) method quote (line 113) | def quote(x) method quote (line 130) | def self.quote(x) class EvaluatingEppParser (line 159) | class EvaluatingEppParser < EvaluatingParser method initialize (line 160) | def initialize FILE: lib/puppet/pops/parser/heredoc_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser type HeredocSupport (line 5) | module HeredocSupport function heredoc (line 13) | def heredoc function heredoc_text (line 133) | def heredoc_text(lines, leading, has_margin, remove_break) FILE: lib/puppet/pops/parser/interpolation_support.rb type Puppet::Pops::Parser::InterpolationSupport (line 9) | module Puppet::Pops::Parser::InterpolationSupport function interpolate_dq (line 18) | def interpolate_dq function interpolate_tail_dq (line 61) | def interpolate_tail_dq function interpolate_uq (line 106) | def interpolate_uq function interpolate_tail_uq (line 147) | def interpolate_tail_uq function enqueue_until (line 189) | def enqueue_until brace_count function transform_to_variable (line 228) | def transform_to_variable(token) function interpolate_uq_to (line 242) | def interpolate_uq_to(lexer) FILE: lib/puppet/pops/parser/lexer2.rb type Puppet::Pops (line 17) | module Puppet::Pops type Parser (line 18) | module Parser class Lexer2 (line 19) | class Lexer2 method initialize (line 188) | def initialize method escaped_end (line 590) | def escaped_end(value) method clear (line 607) | def clear method string= (line 619) | def string=(string) method lex_string (line 623) | def lex_string(string, path = nil) method lex_unquoted_string (line 636) | def lex_unquoted_string(string, locator, escapes, interpolate) method file= (line 652) | def file=(file) method file (line 659) | def file method lex_file (line 665) | def lex_file(file) method initvars (line 673) | def initvars method fullscan (line 688) | def fullscan method scan (line 702) | def scan method lex_token (line 732) | def lex_token method emit (line 738) | def emit(token, byte_offset) method emit_completed (line 746) | def emit_completed(token, byte_offset) method enqueue_completed (line 751) | def enqueue_completed(token, byte_offset) method enqueue (line 757) | def enqueue(emitted_token) method regexp_acceptable? (line 767) | def regexp_acceptable? FILE: lib/puppet/pops/parser/lexer_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser type LexerSupport (line 10) | module LexerSupport function followed_by (line 12) | def followed_by function format_quote (line 23) | def format_quote(q) function lex_error_without_pos (line 32) | def lex_error_without_pos(issue, args = {}) function lex_error (line 37) | def lex_error(issue, args = {}, pos = nil) function filename (line 41) | def filename function line (line 46) | def line(pos) function position (line 50) | def position(pos) function lex_warning (line 54) | def lex_warning(issue, args = {}, pos = nil) function create_lex_error (line 69) | def create_lex_error(issue, args = {}, pos = nil) function assert_numeric (line 84) | def assert_numeric(value, pos) class TokenValue (line 104) | class TokenValue < Locatable method initialize (line 109) | def initialize(token_array, offset, locator) method length (line 115) | def length method [] (line 119) | def [](key) method to_s (line 140) | def to_s function assert_not_bom (line 168) | def assert_not_bom(content) function get_bom (line 207) | def get_bom(content) FILE: lib/puppet/pops/parser/locatable.rb class Puppet::Pops::Parser::Locatable (line 4) | class Puppet::Pops::Parser::Locatable method offset (line 6) | def offset method length (line 10) | def length class Fixed (line 14) | class Fixed < Puppet::Pops::Parser::Locatable method initialize (line 18) | def initialize(offset, length) FILE: lib/puppet/pops/parser/locator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser class Locator (line 7) | class Locator method locator (line 11) | def self.locator(string, file, index = nil, char_offsets = false) method file (line 20) | def file method string (line 24) | def string method to_s (line 27) | def to_s method pos_on_line (line 32) | def pos_on_line(offset) method line_for_offset (line 36) | def line_for_offset(offset) method offset_on_line (line 41) | def offset_on_line(offset) method char_offset (line 45) | def char_offset(byte_offset) method char_length (line 49) | def char_length(offset, end_offset) method extract_text (line 54) | def extract_text(offset, length) method extract_tree_text (line 57) | def extract_tree_text(ast) method line_index (line 74) | def line_index method compute_line_index (line 78) | def self.compute_line_index(string) method to_uri (line 88) | def to_uri(ast) class AbstractLocator (line 99) | class AbstractLocator < Locator method initialize (line 107) | def initialize(string, file, line_index = nil) method pos_on_line (line 116) | def pos_on_line(offset) method to_location_hash (line 120) | def to_location_hash(reported_offset, end_offset) method ary_bsearch_i (line 136) | def ary_bsearch_i(ary, value) method hash (line 169) | def hash method eql? (line 174) | def eql?(o) method line_for_offset (line 179) | def line_for_offset(offset) class SubLocator (line 220) | class SubLocator < AbstractLocator method initialize (line 227) | def initialize(locator, str, leading_line_count, leading_offset,... method file (line 247) | def file method to_global (line 265) | def to_global(offset, length) method char_offset (line 282) | def char_offset(offset) method char_length (line 287) | def char_length(offset, end_offset) class LocatorForChars (line 292) | class LocatorForChars < AbstractLocator method offset_on_line (line 293) | def offset_on_line(offset) method char_offset (line 298) | def char_offset(char_offset) method char_length (line 302) | def char_length(offset, end_offset) method extract_text (line 308) | def extract_text(offset, length) class Locator19 (line 317) | class Locator19 < AbstractLocator method _pcore_type (line 321) | def self._pcore_type method offset_on_line (line 337) | def offset_on_line(offset) method char_offset (line 344) | def char_offset(byte_offset) method char_length (line 349) | def char_length(offset, end_offset) method extract_text (line 355) | def extract_text(offset, length) FILE: lib/puppet/pops/parser/parser_support.rb type Puppet::Pops (line 9) | module Puppet::Pops type Parser (line 10) | module Parser class Parser (line 15) | class Parser method token_text (line 30) | def token_text t method classname (line 49) | def classname(name) method error (line 56) | def error(semantic, message) method parse_file (line 77) | def parse_file(file) method initialize (line 87) | def initialize method on_error (line 95) | def on_error(token, value, stack) method parse_string (line 141) | def parse_string(code, path = nil) method loc (line 150) | def loc(factory, start_locatable, end_locatable = nil) method heredoc_loc (line 158) | def heredoc_loc(factory, start_locatable, end_locatable = nil) method aryfy (line 162) | def aryfy(o) method namespace (line 167) | def namespace method namestack (line 171) | def namestack(name) method namepop (line 175) | def namepop method add_definition (line 179) | def add_definition(definition) method transform_calls (line 187) | def transform_calls(expressions) method transform_resource_wo_title (line 209) | def transform_resource_wo_title(left, resource, lbrace_token, rbra... method create_program (line 215) | def create_program(body) method create_empty_program (line 222) | def create_empty_program method _parse (line 239) | def _parse FILE: lib/puppet/pops/parser/pn_parser.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser class PNParser (line 5) | class PNParser method initialize (line 36) | def initialize method parse (line 40) | def parse(text, locator = nil, offset = nil) method char_types (line 52) | def self.char_types method parse_next (line 71) | def parse_next method parse_error (line 88) | def parse_error(message) method parse_literal (line 106) | def parse_literal method parse_array (line 112) | def parse_array method parse_map (line 117) | def parse_map method parse_call (line 130) | def parse_call method parse_elements (line 138) | def parse_elements(end_token) method next_token (line 150) | def next_token method consume_identifier (line 198) | def consume_identifier(s) method consume_string (line 219) | def consume_string method consume_float (line 267) | def consume_float(s, d) method skip_decimal_digits (line 282) | def skip_decimal_digits method skip_white (line 298) | def skip_white method next_cp (line 304) | def next_cp method peek_cp (line 313) | def peek_cp FILE: lib/puppet/pops/parser/slurp_support.rb type Puppet::Pops (line 3) | module Puppet::Pops type Parser (line 4) | module Parser type SlurpSupport (line 13) | module SlurpSupport function slurp_sqstring (line 26) | def slurp_sqstring function slurp_dqstring (line 34) | def slurp_dqstring function slurp_uqstring (line 48) | def slurp_uqstring function slurp (line 68) | def slurp(scanner, pattern, escapes, ignore_invalid_escapes) FILE: lib/puppet/pops/patterns.rb type Puppet::Pops::Patterns (line 4) | module Puppet::Pops::Patterns FILE: lib/puppet/pops/pcore.rb type Puppet::Pops (line 5) | module Puppet::Pops type Pcore (line 6) | module Pcore function _pcore_type (line 25) | def self._pcore_type function annotate (line 29) | def self.annotate(instance, annotations_hash) function init_env (line 36) | def self.init_env(loader) function init (line 60) | def self.init(loader, ir) function create_object_type (line 102) | def self.create_object_type(loader, ir, impl_class, type_name, paren... function add_object_type (line 112) | def self.add_object_type(name, body, loader) function add_alias (line 116) | def self.add_alias(name, type, loader, name_authority = RUNTIME_NAME... function add_type (line 120) | def self.add_type(type, loader, name_authority = RUNTIME_NAME_AUTHOR... function register_implementations (line 125) | def self.register_implementations(impls, name_authority = RUNTIME_NA... function register_aliases (line 129) | def self.register_aliases(aliases, name_authority = RUNTIME_NAME_AUT... FILE: lib/puppet/pops/pn.rb type Puppet::Pops (line 3) | module Puppet::Pops type PN (line 4) | module PN function pnError (line 7) | def pnError(message) function as_call (line 11) | def as_call(name) function as_parameters (line 15) | def as_parameters function == (line 19) | def ==(o) function to_s (line 23) | def to_s function with_name (line 29) | def with_name(name) function double_quote (line 33) | def double_quote(str, bld) function format_elements (line 60) | def format_elements(elements, indent, b) class Indent (line 71) | class Indent method initialize (line 74) | def initialize(indent = ' ', current = '') method increase (line 79) | def increase class Call (line 84) | class Call method initialize (line 88) | def initialize(name, *elements) method [] (line 93) | def [](idx) method as_call (line 97) | def as_call(name) method as_parameters (line 101) | def as_parameters method eql? (line 105) | def eql?(o) method format (line 109) | def format(indent, b) method to_data (line 118) | def to_data class Entry (line 123) | class Entry method initialize (line 126) | def initialize(key, value) method eql? (line 131) | def eql?(o) class List (line 138) | class List method initialize (line 142) | def initialize(elements) method [] (line 146) | def [](idx) method as_call (line 150) | def as_call(name) method as_parameters (line 154) | def as_parameters method eql? (line 158) | def eql?(o) method format (line 162) | def format(indent, b) method to_data (line 168) | def to_data class Literal (line 173) | class Literal method initialize (line 177) | def initialize(value) method format (line 181) | def format(indent, b) method eql? (line 191) | def eql?(o) method to_data (line 195) | def to_data class Map (line 200) | class Map method initialize (line 204) | def initialize(entries) method eql? (line 209) | def eql?(o) method format (line 213) | def format(indent, b) method to_data (line 229) | def to_data FILE: lib/puppet/pops/puppet_stack.rb type Puppet (line 5) | module Puppet type Pops (line 6) | module Pops type PuppetStack (line 31) | module PuppetStack function stack (line 34) | def self.stack(file, line, obj, message, args, &block) function stacktrace (line 52) | def self.stacktrace function top_of_stack (line 58) | def self.top_of_stack FILE: lib/puppet/pops/resource/param.rb type Puppet::Pops (line 17) | module Puppet::Pops type Resource (line 18) | module Resource class Param (line 19) | class Param method register_ptype (line 23) | def self.register_ptype(loader, ir) method initialize (line 41) | def initialize(type, name, name_var = false) method to_s (line 47) | def to_s method _pcore_type (line 51) | def self._pcore_type FILE: lib/puppet/pops/resource/resource_type_impl.rb type Puppet::Pops (line 5) | module Puppet::Pops type Resource (line 6) | module Resource function register_ptypes (line 7) | def self.register_ptypes(loader, ir) class ResourceTypeImpl (line 14) | class ResourceTypeImpl method _pcore_type (line 25) | def self._pcore_type method register_ptype (line 29) | def self.register_ptype(loader, ir) method eql? (line 61) | def eql?(other) method <=> (line 72) | def <=>(other) method initialize (line 104) | def initialize(name, properties = EMPTY_ARRAY, parameters = EMPTY_... method is_3x_ruby_plugin? (line 175) | def is_3x_ruby_plugin? method valid_parameter? (line 183) | def valid_parameter?(name) method finish (line 193) | def finish method instantiate_resource (line 201) | def instantiate_resource(scope, resource) method isomorphic? (line 225) | def isomorphic? method key_attributes (line 231) | def key_attributes method deprecate_params (line 238) | def deprecate_params(title, attributes) method attrtype (line 251) | def attrtype(name) method attrclass (line 257) | def attrclass(name) method allattrs (line 269) | def allattrs method apply_to (line 275) | def apply_to method apply_to_host (line 279) | def apply_to_host method apply_to_device (line 283) | def apply_to_device method apply_to_all (line 287) | def apply_to_all method can_apply_to_target (line 291) | def can_apply_to_target(target) FILE: lib/puppet/pops/semantic_error.rb class Puppet::Pops::SemanticError (line 5) | class Puppet::Pops::SemanticError < RuntimeError method initialize (line 14) | def initialize(issue, semantic = nil, options = {}) method file (line 20) | def file method line (line 24) | def line method pos (line 28) | def pos FILE: lib/puppet/pops/serialization.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization function not_implemented (line 5) | def self.not_implemented(impl, method_name) class SerializationError (line 9) | class SerializationError < Puppet::Error FILE: lib/puppet/pops/serialization/abstract_reader.rb type Puppet::Pops (line 6) | module Puppet::Pops type Serialization (line 7) | module Serialization class AbstractReader (line 26) | class AbstractReader method initialize (line 30) | def initialize(unpacker, extension_unpacker = nil) method read (line 40) | def read method primitive_count (line 56) | def primitive_count method read_payload (line 61) | def read_payload(data) method read_tpl_qname (line 66) | def read_tpl_qname(ep) method read_tpl (line 71) | def read_tpl(ep) method extension_unpacker (line 83) | def extension_unpacker method register_type (line 88) | def register_type(extension_number, &block) method register_types (line 93) | def register_types FILE: lib/puppet/pops/serialization/abstract_writer.rb type Puppet::Pops (line 5) | module Puppet::Pops type Serialization (line 6) | module Serialization class AbstractWriter (line 28) | class AbstractWriter method initialize (line 34) | def initialize(packer, options, extension_packer = nil) method finish (line 45) | def finish method supports_binary? (line 49) | def supports_binary? method write (line 55) | def write(value) method build_payload (line 81) | def build_payload method extension_packer (line 86) | def extension_packer method write_tpl_qname (line 93) | def write_tpl_qname(ep, qname) method write_tpl (line 102) | def write_tpl(ep, value) method register_type (line 118) | def register_type(extension_number, payload_class, &block) method register_types (line 123) | def register_types method to_s (line 215) | def to_s method inspect (line 219) | def inspect FILE: lib/puppet/pops/serialization/deserializer.rb type Puppet::Pops (line 5) | module Puppet::Pops type Serialization (line 6) | module Serialization class Deserializer (line 10) | class Deserializer method initialize (line 18) | def initialize(reader, loader) method read (line 28) | def read method remember (line 77) | def remember(value) FILE: lib/puppet/pops/serialization/extension.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization type Extension (line 5) | module Extension type NotTabulated (line 38) | module NotTabulated; end type SequenceStart (line 41) | module SequenceStart; end class Default (line 44) | class Default class Tabulation (line 50) | class Tabulation method initialize (line 54) | def initialize(index) class InnerTabulation (line 60) | class InnerTabulation < Tabulation class MapStart (line 64) | class MapStart method initialize (line 69) | def initialize(size) method sequence_size (line 74) | def sequence_size class ArrayStart (line 80) | class ArrayStart method initialize (line 85) | def initialize(size) method sequence_size (line 89) | def sequence_size class SensitiveStart (line 95) | class SensitiveStart class PcoreObjectStart (line 102) | class PcoreObjectStart method initialize (line 106) | def initialize(type_name, attribute_count) method hash (line 111) | def hash method eql? (line 115) | def eql?(o) method sequence_size (line 120) | def sequence_size class ObjectStart (line 125) | class ObjectStart method initialize (line 129) | def initialize(attribute_count) method hash (line 133) | def hash method eql? (line 137) | def eql?(o) method sequence_size (line 142) | def sequence_size class Comment (line 148) | class Comment method initialize (line 151) | def initialize(comment) method hash (line 155) | def hash method eql? (line 159) | def eql?(o) FILE: lib/puppet/pops/serialization/from_data_converter.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization class Builder (line 5) | class Builder method initialize (line 6) | def initialize(values) method [] (line 11) | def [](key) method []= (line 15) | def []=(key, value) method resolve (line 20) | def resolve class ObjectHashBuilder (line 34) | class ObjectHashBuilder < Builder method initialize (line 35) | def initialize(instance) method resolve (line 40) | def resolve class ObjectArrayBuilder (line 46) | class ObjectArrayBuilder < Builder method initialize (line 47) | def initialize(instance) method resolve (line 52) | def resolve class FromDataConverter (line 62) | class FromDataConverter method convert (line 74) | def self.convert(value, options = EMPTY_HASH) method initialize (line 87) | def initialize(options = EMPTY_HASH) method convert (line 156) | def convert(value) method with (line 174) | def with(key) method with_value (line 181) | def with_value(value) method without_value (line 190) | def without_value method build (line 198) | def build(value, &block) method build_object (line 205) | def build_object(builder, &block) method pcore_type_hash_to_value (line 211) | def pcore_type_hash_to_value(pcore_type, value) FILE: lib/puppet/pops/serialization/instance_reader.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization type InstanceReader (line 11) | module InstanceReader function read (line 16) | def read(impl_class, value_count, deserializer) FILE: lib/puppet/pops/serialization/instance_writer.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization type InstanceWriter (line 7) | module InstanceWriter function write (line 11) | def write(type, value, serializer) FILE: lib/puppet/pops/serialization/json.rb type Puppet::Pops (line 5) | module Puppet::Pops type Serialization (line 6) | module Serialization type JSON (line 11) | module JSON class Writer (line 14) | class Writer < AbstractWriter method initialize (line 15) | def initialize(io, options = {}) method clear_io (line 22) | def clear_io method extension_packer (line 26) | def extension_packer method packer (line 30) | def packer method build_payload (line 34) | def build_payload method to_a (line 38) | def to_a method to_json (line 42) | def to_json class Reader (line 49) | class Reader < AbstractReader method initialize (line 50) | def initialize(io) method re_initialize (line 54) | def re_initialize(io) method read_payload (line 58) | def read_payload(data) class Packer (line 65) | class Packer method initialize (line 66) | def initialize(io, options = {}) method register_type (line 76) | def register_type(type, klass, &block) method clear_io (line 80) | def clear_io method empty? (line 89) | def empty? method flush (line 93) | def flush method write (line 106) | def write(obj) method write_array_header (line 122) | def write_array_header(n) method write_map_header (line 131) | def write_map_header(n) method write_nil (line 140) | def write_nil method to_s (line 145) | def to_s method to_a (line 149) | def to_a method to_json (line 153) | def to_json method write_pl (line 162) | def write_pl(obj) method io_string (line 166) | def io_string method write_delim (line 176) | def write_delim method write_scalar (line 197) | def write_scalar(obj) method write_extension (line 213) | def write_extension(ext, obj) method write_extension_payload (line 232) | def write_extension_payload(ext, obj) method extension_indicator (line 237) | def extension_indicator(ext) class Unpacker (line 243) | class Unpacker method initialize (line 244) | def initialize(io) method re_initialize (line 250) | def re_initialize(io) method read (line 257) | def read method register_type (line 282) | def register_type(extension_number, &block) method parse_io (line 288) | def parse_io(io) FILE: lib/puppet/pops/serialization/json_path.rb type Puppet::Pops (line 5) | module Puppet::Pops type Serialization (line 6) | module Serialization type JsonPath (line 7) | module JsonPath function to_json_path (line 14) | def self.to_json_path(path) class Resolver (line 37) | class Resolver method initialize (line 40) | def initialize method resolve (line 50) | def resolve(context, path) method resolve_any (line 56) | def resolve_any(ast, context, path) method resolve_AccessExpression (line 60) | def resolve_AccessExpression(ast, context, path) method resolve_NamedAccessExpression (line 71) | def resolve_NamedAccessExpression(ast, context, path) method resolve_QualifiedName (line 81) | def resolve_QualifiedName(ast, _, _) method resolve_QualifiedReference (line 86) | def resolve_QualifiedReference(ast, _, _) method resolve_ReservedWord (line 91) | def resolve_ReservedWord(ast, _, _) method resolve_LiteralUndef (line 95) | def resolve_LiteralUndef(_, _, _) method resolve_LiteralDefault (line 99) | def resolve_LiteralDefault(_, _, _) method resolve_VariableExpression (line 103) | def resolve_VariableExpression(ast, context, path) method resolve_CallMethodExpression (line 109) | def resolve_CallMethodExpression(ast, context, path) method resolve_LiteralValue (line 114) | def resolve_LiteralValue(ast, _, _) method resolve_Object (line 118) | def resolve_Object(ast, _, path) method bad_json_path (line 122) | def bad_json_path(path) FILE: lib/puppet/pops/serialization/object.rb type Puppet::Pops (line 6) | module Puppet::Pops type Serialization (line 7) | module Serialization class ObjectReader (line 10) | class ObjectReader method read (line 13) | def read(type, impl_class, value_count, deserializer) class ObjectWriter (line 43) | class ObjectWriter method write (line 46) | def write(type, value, serializer) FILE: lib/puppet/pops/serialization/serializer.rb type Puppet::Pops (line 5) | module Puppet::Pops type Serialization (line 6) | module Serialization class Serializer (line 10) | class Serializer method initialize (line 19) | def initialize(writer, options = EMPTY_HASH) method finish (line 29) | def finish method write (line 36) | def write(value) method start_array (line 55) | def start_array(size) method start_map (line 62) | def start_map(size) method start_pcore_object (line 70) | def start_pcore_object(type_ref, attr_count) method start_object (line 77) | def start_object(attr_count) method push_written (line 81) | def push_written(value) method start_sensitive (line 87) | def start_sensitive method type_by_reference? (line 91) | def type_by_reference? method to_s (line 95) | def to_s method inspect (line 99) | def inspect method write_tabulated_first_time (line 107) | def write_tabulated_first_time(value) FILE: lib/puppet/pops/serialization/time_factory.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization class TimeFactory (line 11) | class TimeFactory method at (line 14) | def self.at(*args) method gm (line 18) | def self.gm(*args) method local (line 22) | def self.local(*args) method mktime (line 26) | def self.mktime(*args) method new (line 30) | def self.new(*args) method now (line 34) | def self.now method utc (line 38) | def self.utc(*args) method from_sec_nsec (line 54) | def self.from_sec_nsec(sec, nsec) method sec_nsec_safe (line 63) | def self.sec_nsec_safe(t) FILE: lib/puppet/pops/serialization/to_data_converter.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization class ToDataConverter (line 8) | class ToDataConverter method convert (line 23) | def self.convert(value, options = EMPTY_HASH) method initialize (line 36) | def initialize(options = EMPTY_HASH) method convert (line 59) | def convert(value) method path_to_s (line 67) | def path_to_s method to_data (line 73) | def to_data(value) method process (line 139) | def process(value, &block) method with (line 171) | def with(key) method with_recursive_guard (line 181) | def with_recursive_guard(value) method unknown_to_data (line 196) | def unknown_to_data(value) method unknown_key_to_string_with_warning (line 200) | def unknown_key_to_string_with_warning(value) method unknown_to_string_with_warning (line 206) | def unknown_to_string_with_warning(value) method unknown_to_string (line 212) | def unknown_to_string(value) method non_string_keyed_hash_to_data (line 216) | def non_string_keyed_hash_to_data(hash) method to_key_extended_hash (line 238) | def to_key_extended_hash(hash) method value_to_data_hash (line 248) | def value_to_data_hash(value) method pcore_type_to_data (line 291) | def pcore_type_to_data(pcore_type) method serialization_issue (line 301) | def serialization_issue(issue, options = EMPTY_HASH) FILE: lib/puppet/pops/serialization/to_stringified_converter.rb type Puppet::Pops (line 3) | module Puppet::Pops type Serialization (line 4) | module Serialization class ToStringifiedConverter (line 19) | class ToStringifiedConverter method convert (line 31) | def self.convert(value, options = EMPTY_HASH) method initialize (line 40) | def initialize(options = EMPTY_HASH) method convert (line 51) | def convert(value) method path_to_s (line 59) | def path_to_s method to_data (line 65) | def to_data(value) method to_string_or_binary (line 100) | def to_string_or_binary(value) method process (line 120) | def process(value, &block) method with (line 131) | def with(key) method with_recursive_guard (line 141) | def with_recursive_guard(value) method unknown_key_to_string (line 157) | def unknown_key_to_string(value) method unknown_to_string (line 161) | def unknown_to_string(value) method non_string_keyed_hash_to_data (line 196) | def non_string_keyed_hash_to_data(hash) method serialization_issue (line 212) | def serialization_issue(issue, options = EMPTY_HASH) FILE: lib/puppet/pops/time/timespan.rb type Puppet::Pops (line 5) | module Puppet::Pops type Time (line 6) | module Time class TimeData (line 28) | class TimeData < Numeric method initialize (line 33) | def initialize(nanoseconds) method <=> (line 37) | def <=>(o) method label (line 50) | def label(o) method to_f (line 55) | def to_f method to_int (line 60) | def to_int method to_i (line 64) | def to_i method to_c (line 69) | def to_c method to_r (line 74) | def to_r class Timespan (line 81) | class Timespan < TimeData method from_fields (line 82) | def self.from_fields(negative, days, hours, minutes, seconds, mill... method from_hash (line 87) | def self.from_hash(hash) method from_string_hash (line 91) | def self.from_string_hash(hash) method from_fields_hash (line 95) | def self.from_fields_hash(hash) method parse (line 108) | def self.parse(str, format = Format::DEFAULTS) method negative? (line 124) | def negative? method + (line 128) | def +(o) method - (line 142) | def -(o) method -@ (line 154) | def -@ method * (line 158) | def *(o) method divmod (line 167) | def divmod(o) method modulo (line 178) | def modulo(o) method % (line 182) | def %(o) method div (line 186) | def div(o) method / (line 198) | def /(o) method days (line 203) | def days method hours (line 208) | def hours method minutes (line 213) | def minutes method seconds (line 218) | def seconds method milliseconds (line 223) | def milliseconds method nanoseconds (line 228) | def nanoseconds method format (line 238) | def format(format) method to_s (line 247) | def to_s method to_hash (line 251) | def to_hash(compact = false) method add_unless_zero (line 274) | def add_unless_zero(result, key, value) method total_days (line 280) | def total_days method total_hours (line 285) | def total_hours method total_minutes (line 290) | def total_minutes method total_seconds (line 295) | def total_seconds method total_milliseconds (line 300) | def total_milliseconds method total_microseconds (line 305) | def total_microseconds method total_nanoseconds (line 310) | def total_nanoseconds class Format (line 317) | class Format class Segment (line 320) | class Segment method append_to (line 321) | def append_to(bld, ts) method append_regexp (line 325) | def append_regexp(bld, ts) method multiplier (line 329) | def multiplier class LiteralSegment (line 334) | class LiteralSegment < Segment method append_regexp (line 335) | def append_regexp(bld) method initialize (line 339) | def initialize(literal) method append_to (line 343) | def append_to(bld, ts) method concat (line 347) | def concat(codepoint) method nanoseconds (line 351) | def nanoseconds class ValueSegment (line 356) | class ValueSegment < Segment method initialize (line 357) | def initialize(padchar, width, default_width) method create_format (line 365) | def create_format method append_regexp (line 376) | def append_regexp(bld) method nanoseconds (line 398) | def nanoseconds(group) method multiplier (line 402) | def multiplier method set_use_total (line 406) | def set_use_total method use_total? (line 410) | def use_total? method append_value (line 414) | def append_value(bld, n) class DaySegment (line 419) | class DaySegment < ValueSegment method initialize (line 420) | def initialize(padchar, width) method multiplier (line 424) | def multiplier method append_to (line 428) | def append_to(bld, ts) class HourSegment (line 433) | class HourSegment < ValueSegment method initialize (line 434) | def initialize(padchar, width) method multiplier (line 438) | def multiplier method append_to (line 442) | def append_to(bld, ts) class MinuteSegment (line 447) | class MinuteSegment < ValueSegment method initialize (line 448) | def initialize(padchar, width) method multiplier (line 452) | def multiplier method append_to (line 456) | def append_to(bld, ts) class SecondSegment (line 461) | class SecondSegment < ValueSegment method initialize (line 462) | def initialize(padchar, width) method multiplier (line 466) | def multiplier method append_to (line 470) | def append_to(bld, ts) class FragmentSegment (line 477) | class FragmentSegment < ValueSegment method nanoseconds (line 478) | def nanoseconds(group) method create_format (line 488) | def create_format method append_value (line 496) | def append_value(bld, n) class MilliSecondSegment (line 503) | class MilliSecondSegment < FragmentSegment method initialize (line 504) | def initialize(padchar, width) method multiplier (line 508) | def multiplier method append_to (line 512) | def append_to(bld, ts) class NanoSecondSegment (line 517) | class NanoSecondSegment < FragmentSegment method initialize (line 518) | def initialize(padchar, width) method multiplier (line 522) | def multiplier method append_to (line 531) | def append_to(bld, ts) method initialize (line 545) | def initialize(format, segments) method format (line 550) | def format(timespan) method parse (line 556) | def parse(timespan) method to_s (line 573) | def to_s method regexp (line 579) | def regexp method build_regexp (line 583) | def build_regexp class FormatParser (line 592) | class FormatParser method initialize (line 595) | def initialize method parse_format (line 599) | def parse_format(format) method bad_format_specifier (line 616) | def bad_format_specifier(format, start, position) method append_literal (line 620) | def append_literal(bld, codepoint) method internal_parse (line 633) | def internal_parse(str) class Format (line 723) | class Format class Segment (line 320) | class Segment method append_to (line 321) | def append_to(bld, ts) method append_regexp (line 325) | def append_regexp(bld, ts) method multiplier (line 329) | def multiplier class LiteralSegment (line 334) | class LiteralSegment < Segment method append_regexp (line 335) | def append_regexp(bld) method initialize (line 339) | def initialize(literal) method append_to (line 343) | def append_to(bld, ts) method concat (line 347) | def concat(codepoint) method nanoseconds (line 351) | def nanoseconds class ValueSegment (line 356) | class ValueSegment < Segment method initialize (line 357) | def initialize(padchar, width, default_width) method create_format (line 365) | def create_format method append_regexp (line 376) | def append_regexp(bld) method nanoseconds (line 398) | def nanoseconds(group) method multiplier (line 402) | def multiplier method set_use_total (line 406) | def set_use_total method use_total? (line 410) | def use_total? method append_value (line 414) | def append_value(bld, n) class DaySegment (line 419) | class DaySegment < ValueSegment method initialize (line 420) | def initialize(padchar, width) method multiplier (line 424) | def multiplier method append_to (line 428) | def append_to(bld, ts) class HourSegment (line 433) | class HourSegment < ValueSegment method initialize (line 434) | def initialize(padchar, width) method multiplier (line 438) | def multiplier method append_to (line 442) | def append_to(bld, ts) class MinuteSegment (line 447) | class MinuteSegment < ValueSegment method initialize (line 448) | def initialize(padchar, width) method multiplier (line 452) | def multiplier method append_to (line 456) | def append_to(bld, ts) class SecondSegment (line 461) | class SecondSegment < ValueSegment method initialize (line 462) | def initialize(padchar, width) method multiplier (line 466) | def multiplier method append_to (line 470) | def append_to(bld, ts) class FragmentSegment (line 477) | class FragmentSegment < ValueSegment method nanoseconds (line 478) | def nanoseconds(group) method create_format (line 488) | def create_format method append_value (line 496) | def append_value(bld, n) class MilliSecondSegment (line 503) | class MilliSecondSegment < FragmentSegment method initialize (line 504) | def initialize(padchar, width) method multiplier (line 508) | def multiplier method append_to (line 512) | def append_to(bld, ts) class NanoSecondSegment (line 517) | class NanoSecondSegment < FragmentSegment method initialize (line 518) | def initialize(padchar, width) method multiplier (line 522) | def multiplier method append_to (line 531) | def append_to(bld, ts) method initialize (line 545) | def initialize(format, segments) method format (line 550) | def format(timespan) method parse (line 556) | def parse(timespan) method to_s (line 573) | def to_s method regexp (line 579) | def regexp method build_regexp (line 583) | def build_regexp FILE: lib/puppet/pops/time/timestamp.rb type Puppet::Pops (line 3) | module Puppet::Pops type Time (line 4) | module Time class Timestamp (line 5) | class Timestamp < TimeData method convert_timezone (line 17) | def self.convert_timezone(tz) method utc_offset (line 36) | def self.utc_offset(timezone) method format_time (line 49) | def self.format_time(format, time, timezone) method now (line 56) | def self.now method from_time (line 60) | def self.from_time(t) method from_hash (line 64) | def self.from_hash(args_hash) method parse (line 68) | def self.parse(str, format = :default, timezone = nil) method + (line 128) | def +(o) method - (line 139) | def -(o) method format (line 154) | def format(format, timezone = nil) method to_s (line 158) | def to_s method to_time (line 162) | def to_time FILE: lib/puppet/pops/types/annotatable.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types type Annotatable (line 10) | module Annotatable function annotations (line 15) | def annotations function init_annotatable (line 20) | def init_annotatable(init_hash) function annotatable_accept (line 25) | def annotatable_accept(visitor, guard) function _pcore_init_hash (line 30) | def _pcore_init_hash FILE: lib/puppet/pops/types/annotation.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class Annotation (line 6) | class Annotation < Adaptable::Adapter method register_ptype (line 12) | def self.register_ptype(loader, ir) method _pcore_type (line 16) | def self._pcore_type method annotate (line 29) | def self.annotate(o) method annotate_new (line 51) | def self.annotate_new(o, init_hash) method type_name (line 68) | def self.type_name FILE: lib/puppet/pops/types/class_loader.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class ClassLoader (line 9) | class ClassLoader method provide (line 21) | def self.provide(name) method provide_from_type (line 37) | def self.provide_from_type(type) method provide_from_string (line 79) | def self.provide_from_string(name) method provide_from_name_path (line 86) | def self.provide_from_name_path(name, name_path) method find_class (line 106) | def self.find_class(name_path) method paths_for_name (line 115) | def self.paths_for_name(fq_named_parts) method de_camel (line 124) | def self.de_camel(fq_name) FILE: lib/puppet/pops/types/implementation_registry.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class ImplementationRegistry (line 10) | class ImplementationRegistry method initialize (line 16) | def initialize(parent = nil) method register_type_mapping (line 32) | def register_type_mapping(runtime_type, puppet_type_or_pattern, _ ... method register_implementation_namespace (line 48) | def register_implementation_namespace(type_namespace, impl_namespa... method register_implementation_regexp (line 60) | def register_implementation_regexp(type_name_subst, impl_name_subs... method register_implementation (line 70) | def register_implementation(type, impl_module, _ = nil) method module_name_for_type (line 82) | def module_name_for_type(type) method module_for_type (line 92) | def module_for_type(type) method type_name_for_module (line 102) | def type_name_for_module(impl_module) method type_for_module (line 114) | def type_for_module(impl_module) method find_mapping (line 125) | def find_mapping(name, names, substitutions) FILE: lib/puppet/pops/types/iterable.rb type Puppet::Pops::Types (line 3) | module Puppet::Pops::Types type IteratorProducer (line 5) | module IteratorProducer function iterator (line 6) | def iterator type Iterable (line 12) | module Iterable function asserted_iterable (line 34) | def self.asserted_iterable(my_caller, obj, infer_elements = false) function on (line 63) | def self.on(o, element_type = nil, infer_elements = true) function unbounded? (line 143) | def self.unbounded?(object) function each (line 155) | def each(&block) function element_type (line 159) | def element_type function reverse_each (line 163) | def reverse_each(&block) function step (line 169) | def step(step, &block) function to_a (line 175) | def to_a function hash_style? (line 181) | def hash_style? function unbounded? (line 185) | def unbounded? class Iterator (line 191) | class Iterator method initialize (line 197) | def initialize(element_type, enumeration) method element_type (line 202) | def element_type method size (line 206) | def size method respond_to_missing? (line 210) | def respond_to_missing?(name, include_private) method method_missing (line 214) | def method_missing(name, *arguments, &block) method next (line 218) | def next method map (line 222) | def map(*args, &block) method reduce (line 226) | def reduce(*args, &block) method all? (line 230) | def all?(&block) method any? (line 234) | def any?(&block) method step (line 238) | def step(step, &block) method reverse_each (line 259) | def reverse_each(&block) method step_iterator (line 264) | def step_iterator(step) method to_s (line 268) | def to_s method unbounded? (line 273) | def unbounded? class HashIterator (line 280) | class HashIterator < Iterator method hash_style? (line 281) | def hash_style? class StepIterator (line 287) | class StepIterator < Iterator method initialize (line 290) | def initialize(element_type, enumeration, step_size) method next (line 297) | def next method reverse_each (line 309) | def reverse_each(&block) method size (line 314) | def size class IntegerRangeIterator (line 320) | class IntegerRangeIterator < Iterator method initialize (line 323) | def initialize(range, step = 1) method element_type (line 331) | def element_type method next (line 335) | def next method reverse_each (line 345) | def reverse_each(&block) method size (line 350) | def size method step_iterator (line 354) | def step_iterator(step) method unbounded? (line 371) | def unbounded? FILE: lib/puppet/pops/types/p_binary_type.rb type Puppet::Pops (line 4) | module Puppet::Pops type Types (line 5) | module Types class PBinaryType (line 17) | class PBinaryType < PAnyType class Binary (line 20) | class Binary method from_base64 (line 26) | def self.from_base64(str) method from_base64_urlsafe (line 33) | def self.from_base64_urlsafe(str) method from_base64_strict (line 42) | def self.from_base64_strict(str) method from_binary_string (line 57) | def self.from_binary_string(bin) method from_string (line 74) | def self.from_string(encoded_string) method initialize (line 94) | def initialize(bin) method to_s (line 100) | def to_s method relaxed_to_s (line 106) | def relaxed_to_s method urlsafe_to_s (line 112) | def urlsafe_to_s method hash (line 116) | def hash method eql? (line 120) | def eql?(o) method == (line 124) | def ==(o) method length (line 128) | def length method register_ptype (line 133) | def self.register_ptype(loader, ir) method instance? (line 139) | def instance?(o, guard = nil) method eql? (line 143) | def eql?(o) method roundtrip_with_string? (line 149) | def roundtrip_with_string? method new_function (line 154) | def self.new_function(type) method _assignable? (line 227) | def _assignable?(o, guard) FILE: lib/puppet/pops/types/p_init_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PInitType (line 6) | class PInitType < PTypeWithContainedType method register_ptype (line 7) | def self.register_ptype(loader, ir) method initialize (line 21) | def initialize(type, init_args) method instance? (line 34) | def instance?(o, guard = nil) method really_instance? (line 39) | def really_instance?(o, guard = nil) method eql? (line 64) | def eql?(o) method hash (line 68) | def hash method new_function (line 72) | def new_function method assert_initialized (line 142) | def assert_initialized method accept (line 204) | def accept(visitor, guard) method _assignable? (line 214) | def _assignable?(o, guard) method guarded_recursion (line 231) | def guarded_recursion(guard, dflt) FILE: lib/puppet/pops/types/p_meta_type.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types class PMetaType (line 11) | class PMetaType < PAnyType method register_ptype (line 16) | def self.register_ptype(loader, ir) method accept (line 20) | def accept(visitor, guard) method instance? (line 25) | def instance?(o, guard = nil) method resolve (line 37) | def resolve(loader) method resolve_literal_hash (line 61) | def resolve_literal_hash(loader, init_hash_expression) method resolve_hash (line 65) | def resolve_hash(loader, init_hash) method resolve_type_refs (line 69) | def resolve_type_refs(loader, o) method resolved? (line 82) | def resolved? method to_s (line 90) | def to_s FILE: lib/puppet/pops/types/p_object_type.rb type Puppet::Pops (line 6) | module Puppet::Pops type Types (line 7) | module Types class PObjectType (line 21) | class PObjectType < PMetaType method register_ptype (line 87) | def self.register_ptype(loader, ir) class PAnnotatedMember (line 102) | class PAnnotatedMember method initialize (line 126) | def initialize(name, container, init_hash) method accept (line 141) | def accept(visitor, guard) method assert_override (line 153) | def assert_override(parent_members) method assert_can_be_overridden (line 172) | def assert_can_be_overridden(member) method constant? (line 190) | def constant? method final? (line 196) | def final? method override? (line 202) | def override? method hash (line 207) | def hash method eql? (line 212) | def eql?(o) method == (line 217) | def ==(o) method _pcore_init_hash (line 224) | def _pcore_init_hash method feature_type (line 233) | def feature_type method label (line 238) | def label method invoke (line 251) | def invoke(receiver, scope, args, &block) method create_dispatch (line 262) | def create_dispatch(instance) method feature_type (line 274) | def self.feature_type method label (line 278) | def self.label(container, name) class PAttribute (line 285) | class PAttribute < PAnnotatedMember method initialize (line 296) | def initialize(name, container, init_hash) method callable_type (line 326) | def callable_type method eql? (line 331) | def eql?(o) method _pcore_init_hash (line 338) | def _pcore_init_hash method constant? (line 348) | def constant? method default_value? (line 353) | def default_value?(value) method value? (line 358) | def value? method value (line 368) | def value method feature_type (line 376) | def self.feature_type class PTypeParameter (line 381) | class PTypeParameter < PAttribute method _pcore_init_hash (line 384) | def _pcore_init_hash method feature_type (line 392) | def self.feature_type class PFunction (line 399) | class PFunction < PAnnotatedMember method initialize (line 404) | def initialize(name, container, init_hash) method callable_type (line 408) | def callable_type method feature_type (line 413) | def self.feature_type method initialize (line 441) | def initialize(_pcore_init_hash, init_hash_expression = nil) # rub... method instance? (line 454) | def instance?(o, guard = nil) method new_function (line 468) | def new_function method reader= (line 475) | def reader=(reader) method writer= (line 482) | def writer=(writer) method read (line 491) | def read(value_count, deserializer) method write (line 499) | def write(value, serializer) method create_new_function (line 504) | def create_new_function method implementation_class (line 551) | def implementation_class(create = true) method implementation_class= (line 573) | def implementation_class=(cls) method implementation_override= (line 587) | def implementation_override=(block) method extract_init_hash (line 595) | def extract_init_hash(o) method parameter_info (line 610) | def parameter_info(impl_class) method attr_reader_name (line 674) | def attr_reader_name(se) method from_hash (line 682) | def self.from_hash(hash) method _pcore_init_from_hash (line 687) | def _pcore_init_from_hash(init_hash) method [] (line 828) | def [](name) method accept (line 837) | def accept(visitor, guard) method callable_args? (line 847) | def callable_args?(callable, guard) method init_hash_type (line 855) | def init_hash_type method allocate (line 859) | def allocate method create (line 863) | def create(*args) method from_hash (line 867) | def from_hash(hash) method create_init_hash_type (line 875) | def create_init_hash_type method _pcore_init_hash (line 894) | def _pcore_init_hash(include_name = true) method eql? (line 919) | def eql?(o) method hash (line 930) | def hash method kind_of_callable? (line 934) | def kind_of_callable?(optional = true, guard = nil) method iterable? (line 938) | def iterable?(guard = nil) method iterable_type (line 942) | def iterable_type(guard = nil) method parameterized? (line 946) | def parameterized? method members (line 960) | def members(include_parent = false) method attributes (line 970) | def attributes(include_parent = false) method equality_attributes (line 978) | def equality_attributes method equality_include_type? (line 986) | def equality_include_type? method functions (line 996) | def functions(include_parent = false) method check_self_recursion (line 1003) | def check_self_recursion(originator) method label (line 1012) | def label method resolved_parent (line 1017) | def resolved_parent method simple_name (line 1025) | def simple_name method type_parameters (line 1035) | def type_parameters(include_parent = false) method _assignable? (line 1045) | def _assignable?(o, guard) method get_members (line 1061) | def get_members(include_parent, member_type) method collect_members (line 1067) | def collect_members(collector, include_parent, member_type) method collect_equality_attributes (line 1077) | def collect_equality_attributes(collector) method collect_type_parameters (line 1089) | def collect_type_parameters(collector, include_parent) method compressed_members_hash (line 1100) | def compressed_members_hash(features) method find_equality_definer_of (line 1112) | def find_equality_definer_of(attr) method guarded_recursion (line 1124) | def guarded_recursion(guard, dflt) method reader (line 1133) | def reader method writer (line 1137) | def writer FILE: lib/puppet/pops/types/p_object_type_extension.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PObjectTypeExtension (line 10) | class PObjectTypeExtension < PAnyType method register_ptype (line 13) | def self.register_ptype(loader, ir) method create (line 26) | def self.create(base_type, init_parameters) method create_from_instance (line 38) | def self.create_from_instance(base_type, instance) method [] (line 48) | def [](name) method initialize (line 53) | def initialize(base_type, init_parameters) method check_param (line 91) | def check_param(type_param, v) method init_parameters (line 99) | def init_parameters method eql? (line 115) | def eql?(o) method generalize (line 120) | def generalize method hash (line 125) | def hash method loader (line 130) | def loader method check_self_recursion (line 135) | def check_self_recursion(originator) method create (line 140) | def create(*args) method instance? (line 145) | def instance?(o, guard = nil) method new_function (line 150) | def new_function method simple_name (line 155) | def simple_name method implementation_class (line 160) | def implementation_class(create = true) method parameter_info (line 165) | def parameter_info(impl_class) method test_assignable? (line 182) | def test_assignable?(param_values, guard) method test_instance? (line 209) | def test_instance?(o, guard) method _assignable? (line 220) | def _assignable?(o, guard = nil) FILE: lib/puppet/pops/types/p_runtime_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PRuntimeType (line 6) | class PRuntimeType < PAnyType method register_ptype (line 9) | def self.register_ptype(loader, ir) method initialize (line 28) | def initialize(runtime, name_or_pattern) method hash (line 36) | def hash method eql? (line 40) | def eql?(o) method instance? (line 44) | def instance?(o, guard = nil) method iterable? (line 48) | def iterable?(guard = nil) method iterable_type (line 59) | def iterable_type(guard = nil) method runtime_type_name (line 64) | def runtime_type_name method class_or_module (line 69) | def class_or_module method from_puppet_name (line 80) | def from_puppet_name(puppet_name) method _assignable? (line 97) | def _assignable?(o, guard) FILE: lib/puppet/pops/types/p_sem_ver_range_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PSemVerRangeType (line 8) | class PSemVerRangeType < PAnyType method register_ptype (line 9) | def self.register_ptype(loader, ir) method include? (line 21) | def self.include?(range, version) method convert (line 44) | def self.convert(version_range) method covered_by? (line 60) | def self.covered_by?(a, b) method merge (line 72) | def self.merge(a, b) method roundtrip_with_string? (line 94) | def roundtrip_with_string? method instance? (line 98) | def instance?(o, guard = nil) method eql? (line 102) | def eql?(o) method hash? (line 106) | def hash? method new_function (line 110) | def self.new_function(type) method _assignable? (line 170) | def _assignable?(o, guard) method range_pattern (line 174) | def self.range_pattern FILE: lib/puppet/pops/types/p_sem_ver_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PSemVerType (line 9) | class PSemVerType < PScalarType method register_ptype (line 10) | def self.register_ptype(loader, ir) method initialize (line 20) | def initialize(ranges) method instance? (line 26) | def instance?(o, guard = nil) method eql? (line 30) | def eql?(o) method hash? (line 34) | def hash? method convert (line 46) | def self.convert(version) method new_function (line 58) | def self.new_function(type) method _assignable? (line 121) | def _assignable?(o, guard) method merge_ranges (line 135) | def merge_ranges(ranges) FILE: lib/puppet/pops/types/p_sensitive_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PSensitiveType (line 10) | class PSensitiveType < PTypeWithContainedType class Sensitive (line 11) | class Sensitive method initialize (line 12) | def initialize(value) method unwrap (line 16) | def unwrap method to_s (line 20) | def to_s method inspect (line 24) | def inspect method hash (line 28) | def hash method == (line 32) | def ==(other) method register_ptype (line 39) | def self.register_ptype(loader, ir) method initialize (line 43) | def initialize(type = nil) method instance? (line 47) | def instance?(o, guard = nil) method new_function (line 51) | def self.new_function(type) method _assignable? (line 74) | def _assignable?(o, guard) FILE: lib/puppet/pops/types/p_timespan_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PAbstractTimeDataType (line 5) | class PAbstractTimeDataType < PScalarType method initialize (line 8) | def initialize(from, to = nil) method intersect? (line 19) | def intersect?(o) method from (line 25) | def from method to (line 31) | def to method numeric_from (line 37) | def numeric_from method numeric_to (line 43) | def numeric_to method hash (line 47) | def hash method eql? (line 51) | def eql?(o) method unbounded? (line 55) | def unbounded? method convert_arg (line 59) | def convert_arg(arg, min) method merge (line 86) | def merge(o) method _assignable? (line 96) | def _assignable?(o, guard) class PTimespanType (line 101) | class PTimespanType < PAbstractTimeDataType method register_ptype (line 102) | def self.register_ptype(loader, ir) method new_function (line 108) | def self.new_function(type) method generalize (line 179) | def generalize method impl_class (line 183) | def impl_class method instance? (line 187) | def instance?(o, guard = nil) FILE: lib/puppet/pops/types/p_timestamp_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PTimestampType (line 5) | class PTimestampType < PAbstractTimeDataType method register_ptype (line 6) | def self.register_ptype(loader, ir) method new_function (line 12) | def self.new_function(type) method generalize (line 59) | def generalize method impl_class (line 63) | def impl_class method instance? (line 67) | def instance?(o, guard = nil) FILE: lib/puppet/pops/types/p_type_set_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PTypeSetType (line 12) | class PTypeSetType < PMetaType class TypeSetLoader (line 16) | class TypeSetLoader < Loader::BaseLoader method initialize (line 17) | def initialize(type_set, parent) method name_authority (line 22) | def name_authority method model_loader (line 26) | def model_loader method find (line 30) | def find(typed_name) method register_ptype (line 64) | def self.register_ptype(loader, ir) method initialize (line 94) | def initialize(name_or_init_hash, init_hash_expression = nil, name... method _pcore_init_from_hash (line 109) | def _pcore_init_from_hash(init_hash) method _pcore_init_hash (line 178) | def _pcore_init_hash method [] (line 198) | def [](qname) method defines_type? (line 229) | def defines_type?(t) method name_for (line 238) | def name_for(t, default_name) method accept (line 253) | def accept(visitor, guard) method label (line 260) | def label method resolve (line 265) | def resolve(loader) method resolve_literal_hash (line 274) | def resolve_literal_hash(loader, init_hash_expression) method resolve_hash (line 328) | def resolve_hash(loader, init_hash) method hash (line 349) | def hash method eql? (line 353) | def eql?(o) method instance? (line 357) | def instance?(o, guard = nil) method _assignable? (line 374) | def _assignable?(o, guard) method resolve_name_authority (line 380) | def resolve_name_authority(init_hash, loader) FILE: lib/puppet/pops/types/p_uri_type.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class PURIType (line 5) | class PURIType < PAnyType method register_ptype (line 74) | def self.register_ptype(loader, ir) method new_function (line 81) | def self.new_function(type) method initialize (line 107) | def initialize(parameters = nil) method eql? (line 120) | def eql?(o) method == (line 124) | def ==(o) method [] (line 128) | def [](key) method generalize (line 132) | def generalize method hash (line 136) | def hash method instance? (line 140) | def instance?(o, guard = nil) method roundtrip_with_string? (line 148) | def roundtrip_with_string? method _pcore_init_hash (line 152) | def _pcore_init_hash method _assignable? (line 158) | def _assignable?(o, guard = nil) method uri_to_hash (line 178) | def uri_to_hash(uri) FILE: lib/puppet/pops/types/puppet_object.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types type PuppetObject (line 7) | module PuppetObject function _pcore_type (line 12) | def _pcore_type function _pcore_all_contents (line 26) | def _pcore_all_contents(path, &block) function _pcore_contents (line 29) | def _pcore_contents function _pcore_init_hash (line 32) | def _pcore_init_hash function to_s (line 36) | def to_s FILE: lib/puppet/pops/types/recursion_guard.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class RecursionGuard (line 17) | class RecursionGuard method initialize (line 25) | def initialize method recursive_this? (line 32) | def recursive_this?(instance) method recursive_that? (line 39) | def recursive_that?(instance) method with_this (line 46) | def with_this(instance) method with_that (line 66) | def with_that(instance) method add_this (line 86) | def add_this(instance) method add_that (line 96) | def add_that(instance) method this_count (line 104) | def this_count method that_count (line 109) | def that_count method this_put (line 115) | def this_put(o) method that_put (line 128) | def that_put(o) FILE: lib/puppet/pops/types/ruby_generator.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class RubyGenerator (line 6) | class RubyGenerator < TypeFormatter method protect_reserved_name (line 35) | def self.protect_reserved_name(name) method unprotect_reserved_name (line 39) | def self.unprotect_reserved_name(name) method remove_common_namespace (line 43) | def remove_common_namespace(namespace_segments, name) method namespace_relative (line 53) | def namespace_relative(namespace_segments, name) method create_class (line 57) | def create_class(obj) method module_definition_from_typeset (line 77) | def module_definition_from_typeset(typeset, *impl_subst) method module_definition (line 85) | def module_definition(types, comment, *impl_subst) method start_module (line 134) | def start_module(common_prefix, comment, bld) method end_module (line 139) | def end_module(common_prefix, aliases, class_names, bld) method implementation_names (line 160) | def implementation_names(object_types) method class_definition (line 170) | def class_definition(obj, namespace_segments, bld, class_name, *im... method scoped_class_definition (line 180) | def scoped_class_definition(obj, leaf_name, bld, class_name, *impl... method class_body (line 206) | def class_body(obj, segments, bld) method content_participant? (line 418) | def content_participant?(a) method obj_type? (line 422) | def obj_type?(t) method array_type? (line 439) | def array_type?(t) method default_string (line 454) | def default_string(bld, a) method equals_default_string (line 463) | def equals_default_string(bld, a) method rname (line 472) | def rname(name) FILE: lib/puppet/pops/types/ruby_method.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class RubyMethod (line 5) | class RubyMethod < Annotation method register_ptype (line 7) | def self.register_ptype(loader, ir) method from_hash (line 16) | def self.from_hash(init_hash) method from_asserted_hash (line 20) | def self.from_asserted_hash(init_hash) method initialize (line 26) | def initialize(body, parameters = nil) FILE: lib/puppet/pops/types/string_converter.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types class StringConverter (line 12) | class StringConverter class FormatError (line 14) | class FormatError < ArgumentError method initialize (line 15) | def initialize(type_string, actual, expected) class Indentation (line 20) | class Indentation method initialize (line 27) | def initialize(level, first, is_indenting) method subsequent (line 33) | def subsequent method indenting (line 37) | def indenting(indenting_flag) method increase (line 41) | def increase(indenting_flag = false) method breaks? (line 45) | def breaks? method padding (line 49) | def padding class Format (line 59) | class Format method initialize (line 102) | def initialize(fmt) method merge (line 147) | def merge(other) method merge (line 160) | def self.merge(lower, higher) method merge_string_formats (line 173) | def self.merge_string_formats(lower, higher) method sort_formats (line 190) | def self.sort_formats(format_map) method type_rank (line 216) | def self.type_rank(t) method delimiter_pair (line 243) | def delimiter_pair(default = StringConverter::DEFAULT_ARRAY_DELI... method to_s (line 247) | def to_s method convert (line 255) | def self.convert(value, string_formats = :default) method initialize (line 261) | def initialize method convert (line 488) | def convert(value, string_formats = :default) method _convert (line 531) | def _convert(val_type, value, format_map, indentation) method validate_input (line 536) | def validate_input(fmt) method validate_container_input (line 559) | def validate_container_input(fmt) method string_PObjectType (line 572) | def string_PObjectType(val_type, val, format_map, indentation) method string_PObjectTypeExtension (line 589) | def string_PObjectTypeExtension(val_type, val, format_map, indenta... method string_PRuntimeType (line 593) | def string_PRuntimeType(val_type, val, format_map, indent) method string_PAnyType (line 625) | def string_PAnyType(val_type, val, format_map, _) method string_PDefaultType (line 630) | def string_PDefaultType(val_type, val, format_map, _) method string_PUndefType (line 643) | def string_PUndefType(val_type, val, format_map, _) method string_PBooleanType (line 667) | def string_PBooleanType(val_type, val, format_map, indentation) method apply_string_flags (line 714) | def apply_string_flags(f, literal_str) method string_PIntegerType (line 729) | def string_PIntegerType(val_type, val, format_map, _) method string_PFloatType (line 754) | def string_PFloatType(val_type, val, format_map, _) method string_PBinaryType (line 773) | def string_PBinaryType(val_type, val, format_map, _) method string_PStringType (line 819) | def string_PStringType(val_type, val, format_map, _) method puppet_quote (line 862) | def puppet_quote(str, enforce_double_quotes = false) method puppet_double_quote (line 896) | def puppet_double_quote(str) method string_PRegexpType (line 927) | def string_PRegexpType(val_type, val, format_map, _) method string_PArrayType (line 942) | def string_PArrayType(val_type, val, format_map, indentation) method is_a_or_h? (line 1019) | def is_a_or_h?(x) method is_container? (line 1023) | def is_container?(t) method string_PTupleType (line 1033) | def string_PTupleType(val_type, val, format_map, indentation) method string_PIteratorType (line 1038) | def string_PIteratorType(val_type, val, format_map, indentation) method string_PHashType (line 1044) | def string_PHashType(val_type, val, format_map, indentation) method string_PStructType (line 1099) | def string_PStructType(val_type, val, format_map, indentation) method string_PTypeType (line 1104) | def string_PTypeType(val_type, val, format_map, _) method string_PURIType (line 1118) | def string_PURIType(val_type, val, format_map, indentation) method get_format (line 1135) | def get_format(val_t, format_options) FILE: lib/puppet/pops/types/tree_iterators.rb type Puppet::Pops::Types (line 3) | module Puppet::Pops::Types type Iterable (line 4) | module Iterable class TreeIterator (line 5) | class TreeIterator method initialize (line 30) | def initialize(enum, options = EMPTY_HASH) method each (line 55) | def each(&block) method size (line 65) | def size method unbounded? (line 69) | def unbounded? method to_a (line 73) | def to_a method to_array (line 81) | def to_array method reverse_each (line 85) | def reverse_each(&block) method step (line 90) | def step(step, &block) method indexer_on (line 95) | def indexer_on(val) method has_next? (line 110) | def has_next?(iterator) method extract_option (line 118) | def extract_option(options, key, default) class DepthFirstTreeIterator (line 125) | class DepthFirstTreeIterator < TreeIterator method initialize (line 135) | def initialize(enum, options = EMPTY_HASH) method next (line 139) | def next method pop_level (line 184) | def pop_level class BreadthFirstTreeIterator (line 192) | class BreadthFirstTreeIterator < TreeIterator method initialize (line 193) | def initialize(enum, options = EMPTY_HASH) method next (line 198) | def next method shift_level (line 241) | def shift_level FILE: lib/puppet/pops/types/type_acceptor.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types type TypeAcceptor (line 13) | module TypeAcceptor function visit (line 16) | def visit(type, guard) class NoopTypeAcceptor (line 21) | class NoopTypeAcceptor FILE: lib/puppet/pops/types/type_asserter.rb type Puppet::Pops::Types (line 5) | module Puppet::Pops::Types type TypeAsserter (line 6) | module TypeAsserter function assert_assignable (line 17) | def self.assert_assignable(subject, expected_type, type_to_check, &b... function assert_instance_of (line 33) | def self.assert_instance_of(subject, expected_type, value, nil_ok = ... function report_type_mismatch (line 40) | def self.report_type_mismatch(subject, expected_type, actual_type, w... FILE: lib/puppet/pops/types/type_assertion_error.rb type Puppet::Pops::Types (line 3) | module Puppet::Pops::Types class TypeAssertionError (line 6) | class TypeAssertionError < Puppet::Error method initialize (line 21) | def initialize(message, expected_type, actual_type) FILE: lib/puppet/pops/types/type_calculator.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types class TypeCalculator (line 105) | class TypeCalculator method assignable? (line 109) | def self.assignable?(t1, t2) method callable? (line 119) | def self.callable?(callable, args) method infer (line 124) | def self.infer(o) method infer_callable_methods_t (line 133) | def self.infer_callable_methods_t(o) method generalize (line 154) | def self.generalize(o) method infer_set (line 159) | def self.infer_set(o) method iterable (line 164) | def self.iterable(t) method initialize (line 170) | def initialize method assignable? (line 180) | def assignable?(t, t2) method iterable (line 188) | def iterable(t) method callable? (line 195) | def callable?(callable, args) method equals (line 200) | def equals(left, right) method type (line 213) | def type(c) method generalize (line 247) | def generalize(o) method infer (line 255) | def infer(o) method infer_generic (line 274) | def infer_generic(o) method infer_set (line 281) | def infer_set(o) method instance? (line 296) | def self.instance?(t, o) method instance? (line 303) | def instance?(t, o) method is_ptype? (line 313) | def is_ptype?(t) method is_pnil? (line 320) | def is_pnil?(t) method common_type (line 330) | def common_type(t1, t2) method superclasses (line 483) | def superclasses(c) method reduce_type (line 495) | def reduce_type(enumerable) method infer_and_reduce_type (line 502) | def infer_and_reduce_type(enumerable) method infer_Module (line 509) | def infer_Module(o) method infer_Closure (line 514) | def infer_Closure(o) method infer_Iterator (line 519) | def infer_Iterator(o) method infer_Function (line 524) | def infer_Function(o) method infer_Object (line 529) | def infer_Object(o) method infer_PAnyType (line 550) | def infer_PAnyType(o) method infer_PTypeType (line 558) | def infer_PTypeType(o) method infer_String (line 563) | def infer_String(o) method infer_Float (line 568) | def infer_Float(o) method infer_Integer (line 573) | def infer_Integer(o) method infer_Regexp (line 578) | def infer_Regexp(o) method infer_NilClass (line 583) | def infer_NilClass(o) method infer_Proc (line 589) | def infer_Proc(o) method infer_PuppetProc (line 608) | def infer_PuppetProc(o) method infer_Symbol (line 614) | def infer_Symbol(o) method infer_Sensitive (line 626) | def infer_Sensitive(o) method infer_Timespan (line 631) | def infer_Timespan(o) method infer_Timestamp (line 636) | def infer_Timestamp(o) method infer_TrueClass (line 641) | def infer_TrueClass(o) method infer_FalseClass (line 646) | def infer_FalseClass(o) method infer_URI (line 651) | def infer_URI(o) method infer_Resource (line 658) | def infer_Resource(o) method infer_Array (line 667) | def infer_Array(o) method infer_Binary (line 680) | def infer_Binary(o) method infer_Version (line 685) | def infer_Version(o) method infer_VersionRange (line 690) | def infer_VersionRange(o) method infer_Hash (line 695) | def infer_Hash(o) method size_as_type (line 709) | def size_as_type(collection) method infer_set_Object (line 715) | def infer_set_Object(o) method infer_set_Array (line 719) | def infer_set_Array(o) method infer_set_Hash (line 727) | def infer_set_Hash(o) method infer_set_Version (line 740) | def infer_set_Version(o) method unwrap_single_variant (line 744) | def unwrap_single_variant(possible_variant) method size_range (line 757) | def size_range(range) method is_kind_of_callable? (line 768) | def self.is_kind_of_callable?(t, optional = true) method max (line 772) | def max(a, b) method min (line 776) | def min(a, b) method tuple_entry_at (line 787) | def tuple_entry_at(tuple_t, from, to, index) method to_s (line 800) | def to_s method common_rich_data? (line 806) | def common_rich_data?(t1, t2) method common_data? (line 811) | def common_data?(t1, t2) method common_scalar_data? (line 816) | def common_scalar_data?(t1, t2) method common_scalar? (line 820) | def common_scalar?(t1, t2) method common_numeric? (line 824) | def common_numeric?(t1, t2) FILE: lib/puppet/pops/types/type_conversion_error.rb type Puppet::Pops::Types (line 3) | module Puppet::Pops::Types class TypeConversionError (line 6) | class TypeConversionError < Puppet::Error; end FILE: lib/puppet/pops/types/type_factory.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types type TypeFactory (line 8) | module TypeFactory function clear (line 12) | def self.clear function integer (line 27) | def self.integer function range (line 34) | def self.range(from, to) function float_range (line 44) | def self.float_range(from, to) function float (line 54) | def self.float function sensitive (line 61) | def self.sensitive(type = nil) function numeric (line 68) | def self.numeric function init (line 74) | def self.init(*args) function iterable (line 90) | def self.iterable(elem_type = nil) function iterator (line 97) | def self.iterator(elem_type = nil) function label (line 104) | def self.label(t) function string (line 113) | def self.string(size_type_or_value = nil, *deprecated_second_argum... function optional (line 135) | def self.optional(optional_type = nil) function enum (line 146) | def self.enum(*values) function variant (line 159) | def self.variant(*types) function struct (line 174) | def self.struct(hash = {}) function object (line 217) | def self.object(hash = nil, loader = nil) function type_set (line 221) | def self.type_set(hash = nil) function timestamp (line 225) | def self.timestamp(*args) function timespan (line 234) | def self.timespan(*args) function tuple (line 243) | def self.tuple(types = [], size_type = nil) function boolean (line 250) | def self.boolean(value = nil) function any (line 261) | def self.any function regexp (line 270) | def self.regexp(pattern = nil) function pattern (line 274) | def self.pattern(*regular_expressions) function scalar (line 301) | def self.scalar function scalar_data (line 308) | def self.scalar_data function all_callables (line 315) | def self.all_callables function callable (line 335) | def self.callable(*params) function collection (line 370) | def self.collection(size_type = nil) function data (line 377) | def self.data function rich_data (line 384) | def self.rich_data function rich_data_key (line 391) | def self.rich_data_key function undef (line 397) | def self.undef function default (line 403) | def self.default function binary (line 409) | def self.binary function catalog_entry (line 414) | def self.catalog_entry function sem_ver_range (line 419) | def self.sem_ver_range function sem_ver (line 424) | def self.sem_ver(*ranges) function resource (line 433) | def self.resource(type_name = nil, title = nil) function host_class (line 456) | def self.host_class(class_name = nil) function array_of (line 468) | def self.array_of(o, size_type = nil) function hash_of (line 476) | def self.hash_of(value, key = scalar, size_type = nil) function hash_kv (line 487) | def self.hash_kv(key_type, value_type, size_type = nil) function array_of_any (line 494) | def self.array_of_any function array_of_data (line 501) | def self.array_of_data function hash_of_any (line 508) | def self.hash_of_any function hash_of_data (line 515) | def self.hash_of_data function not_undef (line 528) | def self.not_undef(inst_type = nil) function type_type (line 536) | def self.type_type(inst_type = nil) function error (line 543) | def self.error function task (line 547) | def self.task function deferred (line 551) | def self.deferred function uri (line 558) | def self.uri(string_uri_or_hash = nil) function type_of (line 566) | def self.type_of(o) function ruby (line 593) | def self.ruby(o) function ruby_type (line 605) | def self.ruby_type(class_name = nil) function runtime (line 612) | def self.runtime(runtime = nil, runtime_type_name = nil) function type_alias (line 621) | def self.type_alias(name = nil, expression = nil) function type_reference (line 629) | def self.type_reference(type_string = nil) function is_range_parameter? (line 635) | def self.is_range_parameter?(t) FILE: lib/puppet/pops/types/type_formatter.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types class TypeFormatter (line 13) | class TypeFormatter method string (line 22) | def self.string(t) method initialize (line 26) | def initialize method expanded (line 30) | def expanded method indented (line 36) | def indented(indent = 0, indent_width = 2) method ruby (line 43) | def ruby(ref_ctor) method string (line 53) | def string(t) method indented_string (line 67) | def indented_string(t, indent = 0, indent_width = 2) method append_indented_string (line 74) | def append_indented_string(t, indent = 0, indent_width = 2, skip_i... method ruby_string (line 90) | def ruby_string(ref_ctor, indent, t) method append_default (line 101) | def append_default method append_string (line 105) | def append_string(t) method alias_expanded_string (line 123) | def alias_expanded_string(t) method debug_string (line 135) | def debug_string(t) method string_PAnyType (line 145) | def string_PAnyType(_); @bld << 'Any'; end method string_PUndefType (line 148) | def string_PUndefType(_); @bld << 'Undef'; end method string_PDefaultType (line 151) | def string_PDefaultType(_); @bld << 'Default'; end method string_PBooleanType (line 154) | def string_PBooleanType(t) method string_PScalarType (line 159) | def string_PScalarType(_); @bld << 'Scalar'; end method string_PScalarDataType (line 162) | def string_PScalarDataType(_); @bld << 'ScalarData'; end method string_PNumericType (line 165) | def string_PNumericType(_); @bld << 'Numeric'; end method string_PBinaryType (line 168) | def string_PBinaryType(_); @bld << 'Binary'; end method string_PIntegerType (line 171) | def string_PIntegerType(t) method string_PTypeType (line 176) | def string_PTypeType(t) method string_PInitType (line 181) | def string_PInitType(t) method string_PIterableType (line 186) | def string_PIterableType(t) method string_PIteratorType (line 191) | def string_PIteratorType(t) method string_PFloatType (line 196) | def string_PFloatType(t) method string_PRegexpType (line 201) | def string_PRegexpType(t) method string_PStringType (line 206) | def string_PStringType(t) method string_PEnumType (line 219) | def string_PEnumType(t) method string_PVariantType (line 230) | def string_PVariantType(t) method string_PSemVerType (line 235) | def string_PSemVerType(t) method string_PSemVerRangeType (line 240) | def string_PSemVerRangeType(t) method string_PTimestampType (line 245) | def string_PTimestampType(t) method string_PTimespanType (line 258) | def string_PTimespanType(t) method string_PTupleType (line 271) | def string_PTupleType(t) method string_PCallableType (line 280) | def string_PCallableType(t) method append_callable_params (line 294) | def append_callable_params(t) method string_PStructType (line 311) | def string_PStructType(t) method struct_element_pair (line 316) | def struct_element_pair(t) method string_PPatternType (line 329) | def string_PPatternType(t) method string_PCollectionType (line 334) | def string_PCollectionType(t) method string_Object (line 339) | def string_Object(t) method string_PuppetObject (line 360) | def string_PuppetObject(t) method string_PURIType (line 372) | def string_PURIType(t) method string_URI (line 376) | def string_URI(t) method string_PUnitType (line 388) | def string_PUnitType(_) method string_PRuntimeType (line 393) | def string_PRuntimeType(t) method string_PArrayType (line 398) | def string_PArrayType(t) method string_PHashType (line 411) | def string_PHashType(t) method string_PCatalogEntryType (line 424) | def string_PCatalogEntryType(_) method string_PClassType (line 429) | def string_PClassType(t) method string_PResourceType (line 434) | def string_PResourceType(t) method string_PNotUndefType (line 443) | def string_PNotUndefType(t) method string_PAnnotatedMember (line 455) | def string_PAnnotatedMember(m) method symbolic_key (line 467) | def symbolic_key(key) method string_PTypeSetType (line 472) | def string_PTypeSetType(t) method string_PObjectType (line 500) | def string_PObjectType(t) method string_PObjectTypeExtension (line 508) | def string_PObjectTypeExtension(t) method string_PSensitiveType (line 520) | def string_PSensitiveType(t) method string_POptionalType (line 525) | def string_POptionalType(t) method string_PTypeAliasType (line 537) | def string_PTypeAliasType(t) method format_type_alias_type (line 548) | def format_type_alias_type(t, expand) method string_PTypeReferenceType (line 563) | def string_PTypeReferenceType(t) method string_Array (line 568) | def string_Array(t) method string_FalseClass (line 583) | def string_FalseClass(t); @bld << 'false'; end method string_Hash (line 586) | def string_Hash(t) method string_Module (line 591) | def string_Module(t) method string_NilClass (line 596) | def string_NilClass(t); @bld << (@ruby ? 'nil' : 'undef'); end method string_Numeric (line 599) | def string_Numeric(t); @bld << t.to_s; end method string_Regexp (line 602) | def string_Regexp(t); @bld << PRegexpType.regexp_to_s_with_delimit... method string_String (line 605) | def string_String(t) method string_Symbol (line 611) | def string_Symbol(t); @bld << t.to_s; end method string_TrueClass (line 614) | def string_TrueClass(t); @bld << 'true'; end method string_Version (line 617) | def string_Version(t); @bld << "'#{t}'"; end method string_VersionRange (line 620) | def string_VersionRange(t); @bld << "'#{t}'"; end method string_Timespan (line 623) | def string_Timespan(t); @bld << "'#{t}'"; end method string_Timestamp (line 626) | def string_Timestamp(t); @bld << "'#{t}'"; end method to_s (line 629) | def to_s method capitalize_segments (line 644) | def capitalize_segments(qualified_name) method is_short_array? (line 664) | def is_short_array?(t) method range_array_part (line 679) | def range_array_part(t) method append_object_hash (line 689) | def append_object_hash(hash) method append_elements (line 721) | def append_elements(array, to_be_continued = false) method append_strings (line 734) | def append_strings(array, to_be_continued = false) method append_array (line 750) | def append_array(start, empty = false) method append_hash (line 759) | def append_hash(hash, key_proc = nil) method newline (line 785) | def newline method chomp_list (line 791) | def chomp_list FILE: lib/puppet/pops/types/type_mismatch_describer.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class TypePathElement (line 6) | class TypePathElement method initialize (line 9) | def initialize(key) method hash (line 13) | def hash method == (line 17) | def ==(o) method eql? (line 21) | def eql?(o) class SubjectPathElement (line 27) | class SubjectPathElement < TypePathElement method to_s (line 28) | def to_s class EntryValuePathElement (line 34) | class EntryValuePathElement < TypePathElement method to_s (line 35) | def to_s class EntryKeyPathElement (line 41) | class EntryKeyPathElement < TypePathElement method to_s (line 42) | def to_s class ParameterPathElement (line 48) | class ParameterPathElement < TypePathElement method to_s (line 49) | def to_s class ReturnTypeElement (line 55) | class ReturnTypeElement < TypePathElement method initialize (line 56) | def initialize(name = 'return') method to_s (line 60) | def to_s class BlockPathElement (line 66) | class BlockPathElement < ParameterPathElement method initialize (line 67) | def initialize(name = 'block') method to_s (line 71) | def to_s class ArrayPathElement (line 77) | class ArrayPathElement < TypePathElement method to_s (line 78) | def to_s class VariantPathElement (line 84) | class VariantPathElement < TypePathElement method to_s (line 85) | def to_s class SignaturePathElement (line 91) | class SignaturePathElement < VariantPathElement method to_s (line 92) | def to_s class Mismatch (line 98) | class Mismatch method initialize (line 101) | def initialize(path) method canonical_path (line 105) | def canonical_path method message (line 109) | def message(variant, position) method merge (line 113) | def merge(path, o) method == (line 117) | def ==(o) method eql? (line 121) | def eql?(o) method hash (line 125) | def hash method chop_path (line 129) | def chop_path(element_index) method path_string (line 139) | def path_string method to_s (line 143) | def to_s method format (line 147) | def format class KeyMismatch (line 165) | class KeyMismatch < Mismatch method initialize (line 168) | def initialize(path, key) method == (line 173) | def ==(o) method hash (line 177) | def hash class MissingKey (line 183) | class MissingKey < KeyMismatch method message (line 184) | def message(variant, position) class MissingParameter (line 190) | class MissingParameter < KeyMismatch method message (line 191) | def message(variant, position) class ExtraneousKey (line 197) | class ExtraneousKey < KeyMismatch method message (line 198) | def message(variant, position) class InvalidParameter (line 204) | class InvalidParameter < ExtraneousKey method message (line 205) | def message(variant, position) class UnexpectedBlock (line 211) | class UnexpectedBlock < Mismatch method message (line 212) | def message(variant, position) class MissingRequiredBlock (line 218) | class MissingRequiredBlock < Mismatch method message (line 219) | def message(variant, position) class UnresolvedTypeReference (line 225) | class UnresolvedTypeReference < Mismatch method initialize (line 228) | def initialize(path, unresolved) method == (line 233) | def ==(o) method hash (line 237) | def hash method message (line 241) | def message(variant, position) class ExpectedActualMismatch (line 247) | class ExpectedActualMismatch < Mismatch method initialize (line 250) | def initialize(path, expected, actual) method == (line 256) | def ==(o) method hash (line 260) | def hash class TypeMismatch (line 266) | class TypeMismatch < ExpectedActualMismatch method merge (line 270) | def merge(path, o) method message (line 274) | def message(variant, position) method label (line 326) | def label(o) method short_name (line 332) | def short_name(t) method specialization (line 347) | def specialization(e, a) method always_fully_detailed? (line 366) | def always_fully_detailed?(e, a) method any_assignable? (line 378) | def any_assignable?(e, a) method assignable_to_default? (line 386) | def assignable_to_default?(e, a) method report_detailed? (line 398) | def report_detailed?(e, a) method all_resolved (line 405) | def all_resolved(e) method detailed_actual_to_s (line 422) | def detailed_actual_to_s(e, a) class PatternMismatch (line 433) | class PatternMismatch < TypeMismatch method message (line 434) | def message(variant, position) method actual_string (line 444) | def actual_string class SizeMismatch (line 451) | class SizeMismatch < ExpectedActualMismatch method from (line 452) | def from method to (line 456) | def to method merge (line 461) | def merge(path, o) method message (line 466) | def message(variant, position) method range_to_s (line 470) | def range_to_s(range, zero_string) class CountMismatch (line 486) | class CountMismatch < SizeMismatch method message (line 487) | def message(variant, position) class TypeMismatchDescriber (line 496) | class TypeMismatchDescriber method validate_parameters (line 497) | def self.validate_parameters(subject, params_struct, given_hash, m... method validate_default_parameter (line 501) | def self.validate_default_parameter(subject, param_name, param_typ... method describe_signatures (line 505) | def self.describe_signatures(closure, signatures, args_tuple) method singleton (line 509) | def self.singleton method tense_deprecated (line 513) | def tense_deprecated method validate_parameters (line 529) | def validate_parameters(subject, params_struct, given_hash, missin... method describe_mismatch (line 550) | def describe_mismatch(name, expected, actual, tense = :ignored) method validate_default_parameter (line 569) | def validate_default_parameter(subject, param_name, param_type, va... method get_deferred_function_return_type (line 585) | def get_deferred_function_return_type(value) method describe_struct_signature (line 603) | def describe_struct_signature(params_struct, param_hash, missing_o... method describe_signatures (line 632) | def describe_signatures(closure, signatures, args_tuple, tense = :... method describe_signature_arguments (line 676) | def describe_signature_arguments(signature, args_tuple, path) method describe_signature_block (line 699) | def describe_signature_block(signature, args_tuple, path) method describe_no_block_arguments (line 718) | def describe_no_block_arguments(signature, atypes, path, expected_... method describe_PVariantType (line 737) | def describe_PVariantType(expected, original, actual, path) method merge_descriptions (line 757) | def merge_descriptions(varying_path_position, size_mismatch_class,... method describe_POptionalType (line 779) | def describe_POptionalType(expected, original, actual, path) method describe_PEnumType (line 785) | def describe_PEnumType(expected, original, actual, path) method describe_PPatternType (line 789) | def describe_PPatternType(expected, original, actual, path) method describe_PTypeAliasType (line 793) | def describe_PTypeAliasType(expected, original, actual, path) method describe_PArrayType (line 797) | def describe_PArrayType(expected, original, actual, path) method describe_PHashType (line 826) | def describe_PHashType(expected, original, actual, path) method describe_PStructType (line 857) | def describe_PStructType(expected, original, actual, path) method describe_PTupleType (line 888) | def describe_PTupleType(expected, original, actual, path) method describe_argument_tuple (line 892) | def describe_argument_tuple(expected, actual, path) method describe_tuple (line 896) | def describe_tuple(expected, original, actual, path, size_mismatch... method describe_PCallableType (line 945) | def describe_PCallableType(expected, original, actual, path) method describe_PAnyType (line 979) | def describe_PAnyType(expected, original, actual, path) class UnresolvedTypeFinder (line 983) | class UnresolvedTypeFinder method initialize (line 988) | def initialize method visit (line 992) | def visit(type, guard) method describe (line 999) | def describe(expected, actual, path) method internal_describe (line 1010) | def internal_describe(expected, original, actual, path) method signature_string (line 1041) | def signature_string(signature) method max (line 1094) | def max(a, b) method optional (line 1099) | def optional(index, required_count) FILE: lib/puppet/pops/types/type_parser.rb type Puppet::Pops (line 12) | module Puppet::Pops type Types (line 13) | module Types class TypeParser (line 14) | class TypeParser method initialize (line 18) | def initialize method parse (line 37) | def parse(string, context = nil) method parse_literal (line 49) | def parse_literal(string, context = nil) method interpret (line 59) | def interpret(ast, context = nil) method interpret_any (line 66) | def interpret_any(ast, context) method interpret_Object (line 71) | def interpret_Object(o, context) method interpret_Program (line 76) | def interpret_Program(o, context) method interpret_TypeAlias (line 81) | def interpret_TypeAlias(o, context) method interpret_TypeDefinition (line 86) | def interpret_TypeDefinition(o, context) method interpret_LambdaExpression (line 91) | def interpret_LambdaExpression(o, context) method interpret_HeredocExpression (line 96) | def interpret_HeredocExpression(o, context) method interpret_QualifiedName (line 101) | def interpret_QualifiedName(o, context) method interpret_LiteralBoolean (line 106) | def interpret_LiteralBoolean(o, context) method interpret_LiteralDefault (line 111) | def interpret_LiteralDefault(o, context) method interpret_LiteralFloat (line 116) | def interpret_LiteralFloat(o, context) method interpret_LiteralHash (line 121) | def interpret_LiteralHash(o, context) method interpret_LiteralInteger (line 130) | def interpret_LiteralInteger(o, context) method interpret_LiteralList (line 135) | def interpret_LiteralList(o, context) method interpret_LiteralRegularExpression (line 140) | def interpret_LiteralRegularExpression(o, context) method interpret_LiteralString (line 145) | def interpret_LiteralString(o, context) method interpret_LiteralUndef (line 150) | def interpret_LiteralUndef(o, context) method interpret_String (line 155) | def interpret_String(o, context) method interpret_UnaryMinusExpression (line 160) | def interpret_UnaryMinusExpression(o, context) method type_map (line 165) | def self.type_map method opt_type_map (line 213) | def self.opt_type_map method interpret_QualifiedReference (line 277) | def interpret_QualifiedReference(name_ast, context) method loader_from_context (line 293) | def loader_from_context(ast, context) method interpret_AccessExpression (line 305) | def interpret_AccessExpression(ast, context) method create_resource (line 647) | def create_resource(name, parameters) method assert_type (line 658) | def assert_type(ast, t) method assert_range_parameter (line 663) | def assert_range_parameter(ast, t) method raise_invalid_type_specification_error (line 667) | def raise_invalid_type_specification_error(ast) method raise_invalid_parameters_error (line 672) | def raise_invalid_parameters_error(type, required, given) method raise_unparameterized_type_error (line 677) | def raise_unparameterized_type_error(ast) method raise_unknown_type_error (line 681) | def raise_unknown_type_error(ast) method original_text_of (line 685) | def original_text_of(ast) FILE: lib/puppet/pops/types/type_set_reference.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types class TypeSetReference (line 5) | class TypeSetReference method initialize (line 13) | def initialize(owner, init_hash) method accept (line 21) | def accept(visitor, guard) method eql? (line 25) | def eql?(o) method hash (line 29) | def hash method _pcore_init_hash (line 33) | def _pcore_init_hash method resolve (line 41) | def resolve(loader) method to_s (line 57) | def to_s FILE: lib/puppet/pops/types/type_with_members.rb type Puppet::Pops (line 3) | module Puppet::Pops type Types (line 4) | module Types type TypeWithMembers (line 6) | module TypeWithMembers function [] (line 8) | def [](member_name) type InvocableMember (line 14) | module InvocableMember function invoke (line 24) | def invoke(receiver, scope, args, &block) class AttrReader (line 31) | class AttrReader method initialize (line 34) | def initialize(message) method invoke (line 38) | def invoke(receiver, scope, args, &block) FILE: lib/puppet/pops/types/types.rb type Puppet::Pops (line 17) | module Puppet::Pops type Types (line 18) | module Types class TypedModelObject (line 44) | class TypedModelObject < Object method _pcore_type (line 49) | def self._pcore_type method create_ptype (line 53) | def self.create_ptype(loader, ir, parent_name, attributes_hash = E... method register_ptypes (line 57) | def self.register_ptypes(loader, ir) class PAnyType (line 78) | class PAnyType < TypedModelObject method register_ptype (line 79) | def self.register_ptype(loader, ir) method create (line 83) | def self.create(*args) method accept (line 91) | def accept(visitor, guard) method assignable? (line 111) | def assignable?(o, guard = nil) method callable? (line 158) | def callable?(args_type, guard = nil) method callable_with? (line 167) | def callable_with?(args, block = nil) method callable_args? (line 176) | def callable_args?(callable, guard) method check_self_recursion (line 185) | def check_self_recursion(originator) method generalize (line 193) | def generalize method loader (line 200) | def loader method normalize (line 211) | def normalize(guard = nil) method resolve (line 222) | def resolve(loader) method kind_of_callable? (line 232) | def kind_of_callable?(optional = true, guard = nil) method iterable? (line 242) | def iterable?(guard = nil) method iterable_type (line 258) | def iterable_type(guard = nil) method hash (line 262) | def hash method instance? (line 270) | def instance?(o, guard = nil) method really_instance? (line 279) | def really_instance?(o, guard = nil) method eql? (line 283) | def eql?(o) method == (line 287) | def ==(o) method simple_name (line 291) | def simple_name method simple_name (line 298) | def self.simple_name method to_alias_expanded_s (line 305) | def to_alias_expanded_s method to_s (line 309) | def to_s method name (line 316) | def name method create (line 320) | def create(*args) method new_function (line 331) | def new_function method new_function (line 344) | def self.new_function(type) method roundtrip_with_string? (line 352) | def roundtrip_with_string? method _assignable? (line 364) | def _assignable?(o, guard) method tuple_entry_at (line 375) | def tuple_entry_at(tuple_t, to, index) method alter_type_array (line 399) | def alter_type_array(types, method, *method_args) class PTypeWithContainedType (line 416) | class PTypeWithContainedType < PAnyType method register_ptype (line 417) | def self.register_ptype(loader, ir) method initialize (line 423) | def initialize(type) method accept (line 427) | def accept(visitor, guard) method generalize (line 432) | def generalize method normalize (line 441) | def normalize(guard = nil) method hash (line 450) | def hash method eql? (line 454) | def eql?(o) method resolve (line 458) | def resolve(loader) class PTypeType (line 468) | class PTypeType < PTypeWithContainedType method register_ptype (line 469) | def self.register_ptype(loader, ir) method new_function (line 479) | def self.new_function(type) method instance? (line 491) | def instance?(o, guard = nil) method iterable? (line 502) | def iterable?(guard = nil) method iterable_type (line 513) | def iterable_type(guard = nil) method eql? (line 529) | def eql?(o) method _assignable? (line 538) | def _assignable?(o, guard) class PNotUndefType (line 550) | class PNotUndefType < PTypeWithContainedType method register_ptype (line 551) | def self.register_ptype(loader, ir) method initialize (line 559) | def initialize(type = nil) method instance? (line 563) | def instance?(o, guard = nil) method normalize (line 567) | def normalize(guard = nil) method new_function (line 582) | def new_function method _assignable? (line 596) | def _assignable?(o, guard) class PUndefType (line 603) | class PUndefType < PAnyType method register_ptype (line 604) | def self.register_ptype(loader, ir) method instance? (line 608) | def instance?(o, guard = nil) method callable_args? (line 613) | def callable_args?(callable_t, guard) method _assignable? (line 623) | def _assignable?(o, guard) class PUnitType (line 631) | class PUnitType < PAnyType method register_ptype (line 632) | def self.register_ptype(loader, ir) method instance? (line 636) | def instance?(o, guard = nil) method new_function (line 641) | def self.new_function(type) method assignable? (line 655) | def assignable?(o, guard = nil) method _assignable? (line 662) | def _assignable?(o, guard) class PDefaultType (line 669) | class PDefaultType < PAnyType method register_ptype (line 670) | def self.register_ptype(loader, ir) method instance? (line 674) | def instance?(o, guard = nil) method _assignable? (line 685) | def _assignable?(o, guard) class PScalarType (line 693) | class PScalarType < PAnyType method register_ptype (line 694) | def self.register_ptype(loader, ir) method instance? (line 698) | def instance?(o, guard = nil) method roundtrip_with_string? (line 708) | def roundtrip_with_string? method _assignable? (line 717) | def _assignable?(o, guard) class PScalarDataType (line 734) | class PScalarDataType < PScalarType method register_ptype (line 735) | def self.register_ptype(loader, ir) method instance? (line 739) | def instance?(o, guard = nil) method _assignable? (line 748) | def _assignable?(o, guard) class PEnumType (line 760) | class PEnumType < PScalarDataType method register_ptype (line 761) | def self.register_ptype(loader, ir) method initialize (line 769) | def initialize(values, case_insensitive = false) method case_insensitive? (line 774) | def case_insensitive? method each (line 780) | def each(&block) method generalize (line 785) | def generalize method iterable? (line 795) | def iterable?(guard = nil) method iterable_type (line 799) | def iterable_type(guard = nil) method hash (line 804) | def hash method eql? (line 808) | def eql?(o) method instance? (line 812) | def instance?(o, guard = nil) method _assignable? (line 825) | def _assignable?(o, guard) class PNumericType (line 861) | class PNumericType < PScalarDataType method register_ptype (line 862) | def self.register_ptype(loader, ir) method new_function (line 868) | def self.new_function(type) method initialize (line 940) | def initialize(from, to = Float::INFINITY) method intersect? (line 954) | def intersect?(o) method from (line 960) | def from method to (line 966) | def to method numeric_from (line 972) | def numeric_from method numeric_to (line 978) | def numeric_to method hash (line 982) | def hash method eql? (line 986) | def eql?(o) method instance? (line 990) | def instance?(o, guard = nil) method unbounded? (line 994) | def unbounded? method _assignable? (line 1001) | def _assignable?(o, guard) class PIntegerType (line 1013) | class PIntegerType < PNumericType method register_ptype (line 1014) | def self.register_ptype(loader, ir) method finite_range? (line 1021) | def finite_range? method generalize (line 1025) | def generalize method instance? (line 1029) | def instance?(o, guard = nil) method adjacent? (line 1038) | def adjacent?(o) method merge (line 1048) | def merge(o) method iterable? (line 1058) | def iterable?(guard = nil) method iterable_type (line 1062) | def iterable_type(guard = nil) method size (line 1068) | def size method range (line 1076) | def range method each (line 1082) | def each(&block) method to_size (line 1090) | def to_size method new_function (line 1098) | def new_function class PFloatType (line 1203) | class PFloatType < PNumericType method register_ptype (line 1204) | def self.register_ptype(loader, ir) method generalize (line 1208) | def generalize method instance? (line 1212) | def instance?(o, guard = nil) method merge (line 1222) | def merge(o) method new_function (line 1234) | def self.new_function(type) class PCollectionType (line 1317) | class PCollectionType < PAnyType method register_ptype (line 1318) | def self.register_ptype(loader, ir) method initialize (line 1328) | def initialize(size_type) method accept (line 1332) | def accept(visitor, guard) method generalize (line 1337) | def generalize method normalize (line 1341) | def normalize(guard = nil) method instance? (line 1345) | def instance?(o, guard = nil) method size_range (line 1355) | def size_range method has_empty_range? (line 1359) | def has_empty_range? method hash (line 1364) | def hash method iterable? (line 1368) | def iterable?(guard = nil) method eql? (line 1372) | def eql?(o) method _assignable? (line 1385) | def _assignable?(o, guard) class PIterableType (line 1407) | class PIterableType < PTypeWithContainedType method register_ptype (line 1408) | def self.register_ptype(loader, ir) method element_type (line 1416) | def element_type method instance? (line 1420) | def instance?(o, guard = nil) method iterable? (line 1440) | def iterable?(guard = nil) method iterable_type (line 1444) | def iterable_type(guard = nil) method _assignable? (line 1453) | def _assignable?(o, guard) class PIteratorType (line 1466) | class PIteratorType < PTypeWithContainedType method register_ptype (line 1467) | def self.register_ptype(loader, ir) method element_type (line 1475) | def element_type method instance? (line 1479) | def instance?(o, guard = nil) method iterable? (line 1483) | def iterable?(guard = nil) method iterable_type (line 1487) | def iterable_type(guard = nil) method _assignable? (line 1496) | def _assignable?(o, guard) class PStringType (line 1503) | class PStringType < PScalarDataType method register_ptype (line 1504) | def self.register_ptype(loader, ir) method initialize (line 1514) | def initialize(size_type_or_value, deprecated_multi_args = EMPTY_A... method accept (line 1526) | def accept(visitor, guard) method generalize (line 1531) | def generalize method hash (line 1535) | def hash method iterable? (line 1539) | def iterable?(guard = nil) method iterable_type (line 1543) | def iterable_type(guard = nil) method eql? (line 1547) | def eql?(o) method instance? (line 1551) | def instance?(o, guard = nil) method value (line 1564) | def value method values (line 1570) | def values method size_type (line 1578) | def size_type method derived_size_type (line 1582) | def derived_size_type method new_function (line 1594) | def self.new_function(type) method _assignable? (line 1629) | def _assignable?(o, guard) class PRegexpType (line 1678) | class PRegexpType < PScalarType method register_ptype (line 1679) | def self.register_ptype(loader, ir) method new_function (line 1689) | def self.new_function(type) method regexp_to_s_with_delimiters (line 1706) | def self.regexp_to_s_with_delimiters(regexp) method regexp_to_s (line 1712) | def self.regexp_to_s(regexp) method append_flags_group (line 1716) | def self.append_flags_group(rx_string, options) method initialize (line 1735) | def initialize(pattern) method regexp (line 1744) | def regexp method hash (line 1748) | def hash method eql? (line 1752) | def eql?(o) method instance? (line 1756) | def instance?(o, guard = nil) method _assignable? (line 1766) | def _assignable?(o, guard) class PPatternType (line 1776) | class PPatternType < PScalarDataType method register_ptype (line 1777) | def self.register_ptype(loader, ir) method initialize (line 1783) | def initialize(patterns) method accept (line 1787) | def accept(visitor, guard) method hash (line 1792) | def hash method eql? (line 1796) | def eql?(o) method instance? (line 1800) | def instance?(o, guard = nil) method _assignable? (line 1810) | def _assignable?(o, guard) class PBooleanType (line 1847) | class PBooleanType < PScalarDataType method register_ptype (line 1848) | def self.register_ptype(loader, ir) method initialize (line 1854) | def initialize(value = nil) method eql? (line 1858) | def eql?(o) method generalize (line 1862) | def generalize method hash (line 1866) | def hash method instance? (line 1870) | def instance?(o, guard = nil) method new_function (line 1874) | def self.new_function(type) method _assignable? (line 1915) | def _assignable?(o, guard) class PStructElement (line 1924) | class PStructElement < TypedModelObject method register_ptype (line 1925) | def self.register_ptype(loader, ir) method accept (line 1933) | def accept(visitor, guard) method hash (line 1938) | def hash method name (line 1942) | def name method initialize (line 1948) | def initialize(key_type, value_type) method generalize (line 1953) | def generalize method normalize (line 1958) | def normalize(guard = nil) method resolve (line 1963) | def resolve(loader) method <=> (line 1969) | def <=>(o) method eql? (line 1973) | def eql?(o) method == (line 1977) | def ==(o) method replace_value_type (line 1985) | def replace_value_type(new_type) class PStructType (line 1992) | class PStructType < PAnyType method register_ptype (line 1995) | def self.register_ptype(loader, ir) method initialize (line 1999) | def initialize(elements) method accept (line 2003) | def accept(visitor, guard) method each (line 2008) | def each method generalize (line 2016) | def generalize method normalize (line 2024) | def normalize(guard = nil) method hashed_elements (line 2033) | def hashed_elements method hash (line 2038) | def hash method iterable? (line 2042) | def iterable?(guard = nil) method iterable_type (line 2046) | def iterable_type(guard = nil) method resolve (line 2060) | def resolve(loader) method eql? (line 2070) | def eql?(o) method elements (line 2074) | def elements method instance? (line 2078) | def instance?(o, guard = nil) method new_function (line 2096) | def new_function method _assignable? (line 2107) | def _assignable?(o, guard) class PTupleType (line 2153) | class PTupleType < PAnyType method register_ptype (line 2156) | def self.register_ptype(loader, ir) method accept (line 2172) | def accept(visitor, guard) method callable_args? (line 2179) | def callable_args?(callable_t, guard) method initialize (line 2211) | def initialize(types, size_type = nil) method each (line 2218) | def each method generalize (line 2226) | def generalize method normalize (line 2234) | def normalize(guard = nil) method resolve (line 2242) | def resolve(loader) method instance? (line 2252) | def instance?(o, guard = nil) method iterable? (line 2267) | def iterable?(guard = nil) method iterable_type (line 2271) | def iterable_type(guard = nil) method size_range (line 2276) | def size_range method repeat_last_range (line 2288) | def repeat_last_range method hash (line 2301) | def hash method eql? (line 2305) | def eql?(o) method new_function (line 2309) | def new_function method _assignable? (line 2320) | def _assignable?(o, guard) class PCallableType (line 2359) | class PCallableType < PAnyType method register_ptype (line 2360) | def self.register_ptype(loader, ir) method initialize (line 2392) | def initialize(param_types, block_type = nil, return_type = nil) method accept (line 2398) | def accept(visitor, guard) method generalize (line 2405) | def generalize method normalize (line 2416) | def normalize(guard = nil) method instance? (line 2427) | def instance?(o, guard = nil) method callable_with? (line 2435) | def callable_with?(args, block = nil) method callable_args? (line 2448) | def callable_args?(required_callable_t, guard) method kind_of_callable? (line 2453) | def kind_of_callable?(optional = true, guard = nil) method size_range (line 2458) | def size_range method last_range (line 2464) | def last_range method block_range (line 2470) | def block_range method hash (line 2481) | def hash method eql? (line 2485) | def eql?(o) method resolve (line 2489) | def resolve(loader) method _assignable? (line 2501) | def _assignable?(o, guard) class PArrayType (line 2524) | class PArrayType < PCollectionType method register_ptype (line 2525) | def self.register_ptype(loader, ir) method initialize (line 2535) | def initialize(element_type, size_type = nil) method accept (line 2544) | def accept(visitor, guard) method callable_args? (line 2550) | def callable_args?(callable, guard = nil) method generalize (line 2557) | def generalize method eql? (line 2566) | def eql?(o) method hash (line 2570) | def hash method normalize (line 2574) | def normalize(guard = nil) method resolve (line 2583) | def resolve(loader) method instance? (line 2588) | def instance?(o, guard = nil) method iterable_type (line 2597) | def iterable_type(guard = nil) method new_function (line 2603) | def self.new_function(type) method _assignable? (line 2652) | def _assignable?(o, guard) class PHashType (line 2673) | class PHashType < PCollectionType method register_ptype (line 2674) | def self.register_ptype(loader, ir) method initialize (line 2688) | def initialize(key_type, value_type, size_type = nil) method accept (line 2699) | def accept(visitor, guard) method element_type (line 2705) | def element_type method generalize (line 2714) | def generalize method normalize (line 2726) | def normalize(guard = nil) method hash (line 2736) | def hash method instance? (line 2740) | def instance?(o, guard = nil) method iterable? (line 2752) | def iterable?(guard = nil) method iterable_type (line 2756) | def iterable_type(guard = nil) method eql? (line 2764) | def eql?(o) method is_the_empty_hash? (line 2768) | def is_the_empty_hash? method resolve (line 2772) | def resolve(loader) method array_as_hash (line 2778) | def self.array_as_hash(value) method new_function (line 2788) | def self.new_function(type) method _assignable? (line 2877) | def _assignable?(o, guard) class PVariantType (line 2901) | class PVariantType < PAnyType method register_ptype (line 2904) | def self.register_ptype(loader, ir) method maybe_create (line 2917) | def self.maybe_create(types) method initialize (line 2923) | def initialize(types) method accept (line 2927) | def accept(visitor, guard) method each (line 2932) | def each method generalize (line 2940) | def generalize method normalize (line 2948) | def normalize(guard = nil) method flatten_variants (line 2989) | def self.flatten_variants(types) method hash (line 3003) | def hash method instance? (line 3007) | def instance?(o, guard = nil) method really_instance? (line 3012) | def really_instance?(o, guard = nil) method kind_of_callable? (line 3021) | def kind_of_callable?(optional = true, guard = nil) method eql? (line 3025) | def eql?(o) method assignable? (line 3031) | def assignable?(o, guard = nil) method _assignable? (line 3049) | def _assignable?(o, guard) method swap_not_undefs (line 3055) | def swap_not_undefs(array) method merge_enums (line 3069) | def merge_enums(array) method merge_patterns (line 3098) | def merge_patterns(array) method merge_numbers (line 3112) | def merge_numbers(clazz, array) method merge_version_ranges (line 3121) | def merge_version_ranges(array) method merge_ranges (line 3131) | def merge_ranges(ranges) class PCatalogEntryType (line 3154) | class PCatalogEntryType < PAnyType method register_ptype (line 3155) | def self.register_ptype(loader, ir) method instance? (line 3161) | def instance?(o, guard = nil) method _assignable? (line 3168) | def _assignable?(o, guard) class PClassType (line 3176) | class PClassType < PCatalogEntryType method register_ptype (line 3179) | def self.register_ptype(loader, ir) method initialize (line 3187) | def initialize(class_name) method hash (line 3191) | def hash method eql? (line 3195) | def eql?(o) method _assignable? (line 3204) | def _assignable?(o, guard) class PResourceType (line 3220) | class PResourceType < PCatalogEntryType method register_ptype (line 3221) | def self.register_ptype(loader, ir) method initialize (line 3235) | def initialize(type_name, title = nil) method eql? (line 3241) | def eql?(o) method hash (line 3245) | def hash method _assignable? (line 3254) | def _assignable?(o, guard) class POptionalType (line 3263) | class POptionalType < PTypeWithContainedType method register_ptype (line 3264) | def self.register_ptype(loader, ir) method optional_type (line 3272) | def optional_type method kind_of_callable? (line 3276) | def kind_of_callable?(optional = true, guard = nil) method instance? (line 3280) | def instance?(o, guard = nil) method normalize (line 3284) | def normalize(guard = nil) method new_function (line 3299) | def new_function method _assignable? (line 3308) | def _assignable?(o, guard) class PTypeReferenceType (line 3320) | class PTypeReferenceType < PAnyType method register_ptype (line 3321) | def self.register_ptype(loader, ir) method initialize (line 3327) | def initialize(type_string) method callable? (line 3331) | def callable?(args) method instance? (line 3335) | def instance?(o, guard = nil) method hash (line 3339) | def hash method eql? (line 3343) | def eql?(o) method resolve (line 3347) | def resolve(loader) method _assignable? (line 3353) | def _assignable?(o, guard) class PTypeAliasType (line 3368) | class PTypeAliasType < PAnyType method register_ptype (line 3369) | def self.register_ptype(loader, ir) method initialize (line 3384) | def initialize(name, type_expr, resolved_type = nil) method assignable? (line 3391) | def assignable?(o, guard = nil) method resolved_type (line 3405) | def resolved_type method callable_args? (line 3411) | def callable_args?(callable, guard) method check_self_recursion (line 3415) | def check_self_recursion(originator) method kind_of_callable? (line 3419) | def kind_of_callable?(optional = true, guard = nil) method instance? (line 3423) | def instance?(o, guard = nil) method iterable? (line 3427) | def iterable?(guard = nil) method iterable_type (line 3431) | def iterable_type(guard = nil) method hash (line 3435) | def hash class AssertOtherTypeAcceptor (line 3443) | class AssertOtherTypeAcceptor method initialize (line 3444) | def initialize method visit (line 3448) | def visit(type, _) method other_type_detected? (line 3454) | def other_type_detected? class AssertSelfRecursionStatusAcceptor (line 3462) | class AssertSelfRecursionStatusAcceptor method visit (line 3463) | def visit(type, _) method set_self_recursion_status (line 3468) | def set_self_recursion_status method resolve (line 3486) | def resolve(loader) method eql? (line 3527) | def eql?(o) method accept (line 3531) | def accept(visitor, guard) method self_recursion? (line 3538) | def self_recursion? method to_s (line 3546) | def to_s method respond_to_missing? (line 3551) | def respond_to_missing?(name, include_private) method method_missing (line 3556) | def method_missing(name, *arguments, &block) method really_instance? (line 3562) | def really_instance?(o, guard = nil) method type_expr (line 3575) | def type_expr method _assignable? (line 3581) | def _assignable?(o, guard) method new_function (line 3585) | def new_function method guarded_recursion (line 3591) | def guarded_recursion(guard, dflt) method when_self_recursion_detected (line 3600) | def when_self_recursion_detected FILE: lib/puppet/pops/utils.rb type Puppet::Pops (line 4) | module Puppet::Pops type Utils (line 5) | module Utils function is_numeric? (line 11) | def self.is_numeric?(o) function match_to_fp (line 22) | def self.match_to_fp(match) function to_n_with_radix (line 47) | def self.to_n_with_radix o function to_n (line 84) | def self.to_n o function is_absolute? (line 105) | def self.is_absolute? name function name_to_segments (line 109) | def self.name_to_segments name function relativize_name (line 113) | def self.relativize_name name FILE: lib/puppet/pops/validation.rb type Puppet::Pops (line 3) | module Puppet::Pops type Validation (line 12) | module Validation class Factory (line 28) | class Factory method validator (line 37) | def validator(acceptor) method diagnostic_producer (line 48) | def diagnostic_producer(acceptor) method severity_producer (line 59) | def severity_producer method checker (line 69) | def checker(diagnostic_producer) method label_provider (line 79) | def label_provider class SeverityProducer (line 93) | class SeverityProducer method initialize (line 100) | def initialize(default_severity = :error) method severity (line 109) | def severity(issue) method [] (line 117) | def [] issue method []= (line 127) | def []=(issue, level) method should_report? (line 146) | def should_report? issue method assert_issue (line 154) | def assert_issue issue class DiagnosticProducer (line 171) | class DiagnosticProducer method initialize (line 188) | def initialize(acceptor, severity_producer, label_provider) method accept (line 194) | def accept(issue, semantic, arguments = {}, except = nil) method will_accept? (line 220) | def will_accept? issue class Diagnostic (line 225) | class Diagnostic method initialize (line 233) | def initialize severity, issue, file, source_pos, arguments = {}, ... method == (line 247) | def ==(o) method hash (line 257) | def hash method same_position? (line 262) | def same_position?(o) class DiagnosticFormatter (line 273) | class DiagnosticFormatter method format (line 274) | def format diagnostic method format_message (line 278) | def format_message diagnostic method format_severity (line 287) | def format_severity diagnostic method format_location (line 291) | def format_location diagnostic class DiagnosticFormatterPuppetStyle (line 314) | class DiagnosticFormatterPuppetStyle < DiagnosticFormatter method format (line 315) | def format diagnostic method format_location (line 325) | def format_location diagnostic class Acceptor (line 357) | class Acceptor method initialize (line 373) | def initialize method errors? (line 380) | def errors? method warnings? (line 385) | def warnings? method errors_or_warnings? (line 390) | def errors_or_warnings? method errors (line 395) | def errors method warnings (line 401) | def warnings method errors_and_warnings (line 405) | def errors_and_warnings method ignored (line 410) | def ignored method accept (line 416) | def accept(diagnostic) method prune (line 428) | def prune(&block) method _accept (line 451) | def _accept(diagnostic) FILE: lib/puppet/pops/validation/checker4_0.rb type Puppet::Pops (line 5) | module Puppet::Pops type Validation (line 6) | module Validation class Checker4_0 (line 18) | class Checker4_0 < Evaluator::LiteralEvaluator method check_visitor (line 24) | def self.check_visitor method initialize (line 33) | def initialize(diagnostics_producer) method validate (line 53) | def validate(model) method container (line 61) | def container(index = -1) method check (line 66) | def check(o) method hostname (line 72) | def hostname(o, semantic) method query (line 77) | def query(o) method relation (line 82) | def relation(o) method rvalue (line 87) | def rvalue(o) method top (line 93) | def top(definition, idx = -1) method assign (line 124) | def assign(o, via_index = false) method idem (line 133) | def idem(o) method ends_with_idem (line 138) | def ends_with_idem(o) method assign_VariableExpression (line 149) | def assign_VariableExpression(o, via_index) method assign_AccessExpression (line 165) | def assign_AccessExpression(o, via_index) method assign_LiteralList (line 175) | def assign_LiteralList(o, via_index) method assign_Object (line 179) | def assign_Object(o, via_index) method check_Object (line 188) | def check_Object(o) method check_Factory (line 191) | def check_Factory(o) method check_AccessExpression (line 195) | def check_AccessExpression(o) method check_AssignmentExpression (line 203) | def check_AssignmentExpression(o) method check_AttributeOperation (line 223) | def check_AttributeOperation(o) method check_AttributesOperation (line 234) | def check_AttributesOperation(o) method check_BinaryExpression (line 253) | def check_BinaryExpression(o) method resource_without_title? (line 258) | def resource_without_title?(o) method check_BlockExpression (line 267) | def check_BlockExpression(o) method check_CallNamedFunctionExpression (line 280) | def check_CallNamedFunctionExpression(o) method check_EppExpression (line 300) | def check_EppExpression(o) method check_HeredocExpression (line 308) | def check_HeredocExpression(o) method check_MethodCallExpression (line 316) | def check_MethodCallExpression(o) method check_CaseExpression (line 322) | def check_CaseExpression(o) method check_CaseOption (line 337) | def check_CaseOption(o) method check_CollectExpression (line 341) | def check_CollectExpression(o) method check_NamedAccessExpression (line 349) | def check_NamedAccessExpression(o) method check_NamedDefinition (line 392) | def check_NamedDefinition(o) method check_TypeAlias (line 403) | def check_TypeAlias(o) method check_TypeMapping (line 412) | def check_TypeMapping(o) method pattern_with_replacement? (line 442) | def pattern_with_replacement?(o) method type_ref? (line 451) | def type_ref?(o) method check_TypeDefinition (line 456) | def check_TypeDefinition(o) method check_FunctionDefinition (line 463) | def check_FunctionDefinition(o) method check_HostClassDefinition (line 469) | def check_HostClassDefinition(o) method check_ResourceTypeDefinition (line 478) | def check_ResourceTypeDefinition(o) method internal_check_parameter_type_literal (line 486) | def internal_check_parameter_type_literal(o) method internal_check_return_type (line 498) | def internal_check_return_type(o) method internal_check_type_ref (line 503) | def internal_check_type_ref(o, r) method internal_check_no_idem_last (line 512) | def internal_check_no_idem_last(o) method internal_check_capture_last (line 519) | def internal_check_capture_last(o) method internal_check_no_capture (line 528) | def internal_check_no_capture(o, container = o) method internal_check_reserved_type_name (line 536) | def internal_check_reserved_type_name(o, name) method internal_check_future_reserved_word (line 542) | def internal_check_future_reserved_word(o, name) method internal_check_file_namespace (line 552) | def internal_check_file_namespace(o) method internal_check_top_construct_in_module (line 565) | def internal_check_top_construct_in_module(prog) method valid_top_construct? (line 583) | def valid_top_construct?(o) class Puppet::Util::FileNamespaceAdapter (line 588) | class Puppet::Util::FileNamespaceAdapter < Puppet::Pops::Adaptable... method create_adapter (line 591) | def self.create_adapter(env) method namespace_for_file (line 598) | def namespace_for_file(file) method initial_manifest? (line 626) | def initial_manifest?(path, manifest_setting) method get_module_relative_path (line 637) | def get_module_relative_path(file_path, modulepath_directories) method is_parent_dir_of? (line 646) | def is_parent_dir_of?(parent_dir, child_dir) method dir_to_names (line 654) | def dir_to_names(relative_path) method internal_check_reserved_params (line 685) | def internal_check_reserved_params(o) method internal_check_parameter_name_uniqueness (line 693) | def internal_check_parameter_name_uniqueness(o) method check_IfExpression (line 700) | def check_IfExpression(o) method check_KeyedEntry (line 704) | def check_KeyedEntry(o) method check_LambdaExpression (line 711) | def check_LambdaExpression(o) method check_LiteralList (line 716) | def check_LiteralList(o) method check_LiteralInteger (line 720) | def check_LiteralInteger(o) method check_LiteralHash (line 727) | def check_LiteralHash(o) method check_NodeDefinition (line 738) | def check_NodeDefinition(o) method check_QualifiedName (line 756) | def check_QualifiedName(o) method check_QualifiedReference (line 761) | def check_QualifiedReference(o) method check_QueryExpression (line 768) | def check_QueryExpression(o) method relation_Object (line 772) | def relation_Object(o) method relation_CollectExpression (line 776) | def relation_CollectExpression(o); end method relation_RelationshipExpression (line 778) | def relation_RelationshipExpression(o); end method check_Parameter (line 780) | def check_Parameter(o) method internal_check_illegal_assignment (line 793) | def internal_check_illegal_assignment(o) method check_RelationshipExpression (line 812) | def check_RelationshipExpression(o) method check_ResourceExpression (line 817) | def check_ResourceExpression(o) method check_ResourceBody (line 828) | def check_ResourceBody(o) method check_ResourceDefaultsExpression (line 841) | def check_ResourceDefaultsExpression(o) method check_ResourceOverrideExpression (line 847) | def check_ResourceOverrideExpression(o) method check_ReservedWord (line 853) | def check_ReservedWord(o) method check_SelectorExpression (line 861) | def check_SelectorExpression(o) method check_SelectorEntry (line 871) | def check_SelectorEntry(o) method check_UnaryExpression (line 875) | def check_UnaryExpression(o) method check_UnlessExpression (line 879) | def check_UnlessExpression(o) method check_VariableExpression (line 885) | def check_VariableExpression(o) method hostname_Array (line 910) | def hostname_Array(o, semantic) method hostname_String (line 914) | def hostname_String(o, semantic) method hostname_LiteralValue (line 924) | def hostname_LiteralValue(o, semantic) method hostname_ConcatenatedString (line 928) | def hostname_ConcatenatedString(o, semantic) method hostname_QualifiedName (line 943) | def hostname_QualifiedName(o, semantic) method hostname_QualifiedReference (line 947) | def hostname_QualifiedReference(o, semantic) method hostname_LiteralNumber (line 951) | def hostname_LiteralNumber(o, semantic) method hostname_LiteralDefault (line 955) | def hostname_LiteralDefault(o, semantic) method hostname_LiteralRegularExpression (line 959) | def hostname_LiteralRegularExpression(o, semantic) method hostname_Object (line 963) | def hostname_Object(o, semantic) method query_Object (line 970) | def query_Object(o) method query_ComparisonExpression (line 976) | def query_ComparisonExpression(o) method query_BooleanExpression (line 981) | def query_BooleanExpression(o) method query_ParenthesizedExpression (line 986) | def query_ParenthesizedExpression(o) method query_VariableExpression (line 990) | def query_VariableExpression(o); end method query_QualifiedName (line 992) | def query_QualifiedName(o); end method query_LiteralNumber (line 994) | def query_LiteralNumber(o); end method query_LiteralString (line 996) | def query_LiteralString(o); end method query_LiteralBoolean (line 998) | def query_LiteralBoolean(o); end method rvalue_Expression (line 1005) | def rvalue_Expression(o); end method rvalue_CollectExpression (line 1007) | def rvalue_CollectExpression(o) method rvalue_Definition (line 1011) | def rvalue_Definition(o) method rvalue_NodeDefinition (line 1015) | def rvalue_NodeDefinition(o) method rvalue_UnaryExpression (line 1019) | def rvalue_UnaryExpression(o) method idem_Object (line 1024) | def idem_Object(o) method idem_Nop (line 1028) | def idem_Nop(o) method idem_NilClass (line 1032) | def idem_NilClass(o) method idem_Literal (line 1036) | def idem_Literal(o) method idem_LiteralList (line 1040) | def idem_LiteralList(o) method idem_LiteralHash (line 1044) | def idem_LiteralHash(o) method idem_Factory (line 1048) | def idem_Factory(o) method idem_AccessExpression (line 1052) | def idem_AccessExpression(o) method idem_BinaryExpression (line 1056) | def idem_BinaryExpression(o) method idem_MatchExpression (line 1060) | def idem_MatchExpression(o) method idem_RelationshipExpression (line 1064) | def idem_RelationshipExpression(o) method idem_AssignmentExpression (line 1069) | def idem_AssignmentExpression(o) method idem_UnaryExpression (line 1075) | def idem_UnaryExpression(o) method idem_ParenthesizedExpression (line 1080) | def idem_ParenthesizedExpression(o) method idem_RenderExpression (line 1084) | def idem_RenderExpression(o) method idem_RenderStringExpression (line 1088) | def idem_RenderStringExpression(o) method idem_BlockExpression (line 1092) | def idem_BlockExpression(o) method idem_ConcatenatedString (line 1100) | def idem_ConcatenatedString(o) method idem_HeredocExpression (line 1106) | def idem_HeredocExpression(o) method idem_SelectorExpression (line 1111) | def idem_SelectorExpression(o) method idem_ApplyExpression (line 1117) | def idem_ApplyExpression(o) method idem_IfExpression (line 1121) | def idem_IfExpression(o) method idem_CaseExpression (line 1126) | def idem_CaseExpression(o) method idem_CaseOption (line 1133) | def idem_CaseOption(o) method varname_to_s (line 1143) | def varname_to_s(o) FILE: lib/puppet/pops/validation/tasks_checker.rb type Puppet::Pops (line 3) | module Puppet::Pops type Validation (line 4) | module Validation class TasksChecker (line 7) | class TasksChecker < Checker4_0 method in_ApplyExpression? (line 8) | def in_ApplyExpression? method check_CollectExpression (line 18) | def check_CollectExpression(o) method check_HostClassDefinition (line 32) | def check_HostClassDefinition(o) method check_NodeDefinition (line 36) | def check_NodeDefinition(o) method check_RelationshipExpression (line 44) | def check_RelationshipExpression(o) method check_ResourceDefaultsExpression (line 52) | def check_ResourceDefaultsExpression(o) method check_ResourceExpression (line 60) | def check_ResourceExpression(o) method check_ResourceOverrideExpression (line 68) | def check_ResourceOverrideExpression(o) method check_ResourceTypeDefinition (line 76) | def check_ResourceTypeDefinition(o) method check_ApplyExpression (line 80) | def check_ApplyExpression(o) method illegalTasksExpression (line 86) | def illegalTasksExpression(o) method resource_without_title? (line 90) | def resource_without_title?(o) FILE: lib/puppet/pops/validation/validator_factory_4_0.rb type Puppet::Pops (line 3) | module Puppet::Pops type Validation (line 4) | module Validation class ValidatorFactory_4_0 (line 7) | class ValidatorFactory_4_0 < Factory method checker (line 9) | def checker diagnostic_producer method label_provider (line 19) | def label_provider method severity_producer (line 24) | def severity_producer FILE: lib/puppet/pops/visitable.rb type Puppet::Pops::Visitable (line 4) | module Puppet::Pops::Visitable function accept (line 5) | def accept(visitor, *arguments) FILE: lib/puppet/pops/visitor.rb type Puppet::Pops (line 3) | module Puppet::Pops class Visitor (line 15) | class Visitor method initialize (line 18) | def initialize(receiver, message, min_args = 0, max_args = nil) method visit (line 30) | def visit(thing, *args) method visit_this (line 37) | def visit_this(receiver, thing, args) method visit_this_class (line 63) | def visit_this_class(receiver, clazz, args) method visit_this_0 (line 91) | def visit_this_0(receiver, thing) method visit_this_1 (line 103) | def visit_this_1(receiver, thing, arg) method visit_this_2 (line 115) | def visit_this_2(receiver, thing, arg1, arg2) method visit_this_3 (line 127) | def visit_this_3(receiver, thing, arg1, arg2, arg3) FILE: lib/puppet/property.rb class Puppet::Property (line 43) | class Puppet::Property < Puppet::Parameter method array_matching (line 92) | def array_matching method array_matching= (line 98) | def array_matching=(value) method idempotent (line 111) | def idempotent method idempotent= (line 118) | def idempotent=(value) method value_name (line 128) | def self.value_name(name) method value_option (line 141) | def self.value_option(name, option) method newvalue (line 165) | def self.newvalue(name, options = {}, &block) method call_provider (line 190) | def call_provider(value) method change_to_s (line 205) | def change_to_s(current_value, newvalue) method event_name (line 227) | def event_name method event (line 255) | def event(options = {}) method safe_insync? (line 272) | def safe_insync?(is) method method_added (line 284) | def self.method_added(sym) method insync? (line 308) | def insync?(is) method insync_values? (line 354) | def insync_values?(should, is) method property_matches? (line 393) | def property_matches?(current, desired) method is_to_s (line 406) | def is_to_s(value) # rubocop:disable Naming/PredicateName method log (line 415) | def log(msg) method match_all? (line 424) | def match_all? method idempotent? (line 430) | def idempotent? method name (line 437) | def name method noop (line 449) | def noop method retrieve (line 466) | def retrieve method set (line 483) | def set(value) method should (line 524) | def should method should= (line 544) | def should=(values) method should_to_s (line 559) | def should_to_s(value) method sync (line 567) | def sync method unsafe_validate (line 578) | def unsafe_validate(value) method validate_features_per_value (line 588) | def validate_features_per_value(value) method value (line 602) | def value method value= (line 607) | def value=(values) FILE: lib/puppet/property/boolean.rb class Puppet::Property::Boolean (line 5) | class Puppet::Property::Boolean < Puppet::Property method unsafe_munge (line 6) | def unsafe_munge(value) FILE: lib/puppet/property/ensure.rb class Puppet::Property::Ensure (line 12) | class Puppet::Property::Ensure < Puppet::Property method defaultvalues (line 15) | def self.defaultvalues method inherited (line 48) | def self.inherited(sub) method change_to_s (line 54) | def change_to_s(currentvalue, newvalue) method retrieve (line 76) | def retrieve FILE: lib/puppet/property/keyvalue.rb type Puppet (line 5) | module Puppet class Property (line 6) | class Property class KeyValue (line 16) | class KeyValue < Property method hash_to_key_value_s (line 25) | def hash_to_key_value_s(hash) method should_to_s (line 33) | def should_to_s(should_value) method is_to_s (line 37) | def is_to_s(current_value) # rubocop:disable Naming/PredicateName method membership (line 41) | def membership method inclusive? (line 45) | def inclusive? method hashify_should (line 49) | def hashify_should method process_current_hash (line 65) | def process_current_hash(current) method should (line 73) | def should method separator (line 97) | def separator method delimiter (line 102) | def delimiter method retrieve (line 109) | def retrieve method insync? (line 121) | def insync?(is) FILE: lib/puppet/property/list.rb type Puppet (line 5) | module Puppet class Property (line 6) | class Property class List (line 10) | class List < Property method is_to_s (line 11) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName method membership (line 15) | def membership method add_should_with_current (line 19) | def add_should_with_current(should, current) method inclusive? (line 24) | def inclusive? method dearrayify (line 29) | def dearrayify(array) method should (line 33) | def should method delimiter (line 43) | def delimiter method retrieve (line 47) | def retrieve method prepare_is_for_comparison (line 57) | def prepare_is_for_comparison(is) method insync? (line 64) | def insync?(is) FILE: lib/puppet/property/ordered_list.rb type Puppet (line 5) | module Puppet class Property (line 6) | class Property class OrderedList (line 14) | class OrderedList < List method add_should_with_current (line 15) | def add_should_with_current(should, current) method dearrayify (line 25) | def dearrayify(array) FILE: lib/puppet/provider.rb class Puppet::Provider (line 39) | class Puppet::Provider method execute (line 102) | def execute(*args) method execute (line 107) | def self.execute(*args) method execpipe (line 113) | def execpipe(*args, &block) method execpipe (line 118) | def self.execpipe(*args, &block) method command (line 127) | def self.command(name) method commands (line 153) | def self.commands(command_specs) method optional_commands (line 169) | def self.optional_commands(hash) method has_command (line 203) | def self.has_command(name, path, &block) class CommandDefiner (line 218) | class CommandDefiner method define (line 221) | def self.define(name, path, confiner, &block) method initialize (line 227) | def initialize(name, path, confiner) method is_optional (line 235) | def is_optional # rubocop:disable Naming/PredicateName method environment (line 239) | def environment(env) method command (line 243) | def command method declared_feature? (line 253) | def self.declared_feature?(name) method default? (line 261) | def self.default? method default_match (line 269) | def self.default_match method some_default_match (line 275) | def self.some_default_match(defaultlist) method fact_match (line 290) | def self.fact_match(fact, values) method feature_match (line 306) | def self.feature_match(value) method defaultfor (line 318) | def self.defaultfor(hash) method notdefaultfor (line 322) | def self.notdefaultfor(hash) method specificity (line 336) | def self.specificity method initvars (line 349) | def self.initvars method instances (line 382) | def self.instances method mk_resource_methods (line 399) | def self.mk_resource_methods method create_class_and_instance_method (line 424) | def self.create_class_and_instance_method(name, &block) method source (line 439) | def self.source method supports_parameter? (line 451) | def self.supports_parameter?(param) method clear (line 493) | def clear method command (line 498) | def command(name) method get (line 506) | def get(param) method initialize (line 519) | def initialize(resource = nil) method name (line 536) | def name method set (line 552) | def set(params) method to_s (line 559) | def to_s method inspect (line 564) | def inspect method <=> (line 577) | def <=>(other) FILE: lib/puppet/provider/aix_object.rb class Puppet::Provider::AixObject (line 4) | class Puppet::Provider::AixObject < Puppet::Provider class MappedObject (line 29) | class MappedObject method initialize (line 32) | def initialize(name, conversion_fn, conversion_fn_code) method pure_conversion_fn? (line 47) | def pure_conversion_fn? method set_provider (line 57) | def set_provider(provider) method mappings (line 69) | def mappings method mapping (line 97) | def mapping(info = {}) method numeric_mapping (line 117) | def numeric_mapping(info = {}) method mk_resource_methods (line 150) | def mk_resource_methods method split_list (line 187) | def split_list(list, sep) method parse_colon_separated_list (line 200) | def parse_colon_separated_list(colon_list) method parse_aix_objects (line 245) | def parse_aix_objects(output) method list_all (line 278) | def list_all(ia_module_args = []) method instances (line 292) | def instances method mappings (line 302) | def mappings method attributes_to_args (line 328) | def attributes_to_args(attributes) method ia_module_args (line 334) | def ia_module_args method lscmd (line 342) | def lscmd method addcmd (line 346) | def addcmd(attributes) method deletecmd (line 351) | def deletecmd method modifycmd (line 355) | def modifycmd(new_attributes) method modify_object (line 361) | def modify_object(new_attributes) method get (line 367) | def get(property) method set (line 374) | def set(property, value) method validate_new_attributes (line 385) | def validate_new_attributes(new_attributes) method attributes= (line 413) | def attributes=(new_attributes) method object_info (line 422) | def object_info(refresh = false) method exists? (line 459) | def exists? method create (line 464) | def create method delete (line 481) | def delete FILE: lib/puppet/provider/command.rb class Puppet::Provider::Command (line 4) | class Puppet::Provider::Command method initialize (line 13) | def initialize(name, executable, resolver, executor, options = {}) method execute (line 23) | def execute(*args) FILE: lib/puppet/provider/exec.rb class Puppet::Provider::Exec (line 6) | class Puppet::Provider::Exec < Puppet::Provider method environment (line 9) | def environment method run (line 42) | def run(command, check = false) method extractexe (line 88) | def extractexe(command) method validatecmd (line 102) | def validatecmd(command) FILE: lib/puppet/provider/exec/posix.rb function checkexe (line 30) | def checkexe(command) function run (line 56) | def run(command, check = false) FILE: lib/puppet/provider/exec/shell.rb function run (line 20) | def run(command, check = false) function validatecmd (line 24) | def validatecmd(command) FILE: lib/puppet/provider/exec/windows.rb function checkexe (line 36) | def checkexe(command) FILE: lib/puppet/provider/file/posix.rb function selinux_handle (line 16) | def selinux_handle function post_resource_eval (line 25) | def post_resource_eval function uid2name (line 33) | def uid2name(id) function name2uid (line 51) | def name2uid(value) function gid2name (line 57) | def gid2name(id) function name2gid (line 74) | def name2gid(value) function owner (line 80) | def owner function owner= (line 99) | def owner=(should) function group (line 114) | def group function group= (line 131) | def group=(should) function mode (line 146) | def mode function mode= (line 155) | def mode=(value) FILE: lib/puppet/provider/file/windows.rb function name2id (line 17) | def name2id(value) function id2name (line 23) | def id2name(id) function owner (line 39) | def owner function owner= (line 45) | def owner=(should) function group (line 51) | def group function group= (line 57) | def group=(should) function mode (line 63) | def mode function mode= (line 72) | def mode=(value) function validate (line 82) | def validate function munge_windows_system_group (line 97) | def munge_windows_system_group(current, should) function file (line 138) | def file function resolved_path (line 142) | def resolved_path FILE: lib/puppet/provider/group/aix.rb function find (line 34) | def find(group, ia_module_args = []) function members_to_users (line 63) | def members_to_users(provider, members) function users_to_members (line 74) | def users_to_members(users) function members_insync? (line 98) | def members_insync?(current, should) FILE: lib/puppet/provider/group/directoryservice.rb function members_insync? (line 15) | def members_insync?(current, should) FILE: lib/puppet/provider/group/groupadd.rb function exists? (line 35) | def exists? function gid (line 41) | def gid function localgid (line 47) | def localgid function check_allow_dup (line 54) | def check_allow_dup function create (line 69) | def create function addcmd (line 74) | def addcmd function validate_members (line 95) | def validate_members(members) function modifycmd (line 103) | def modifycmd(param, value) function deletecmd (line 127) | def deletecmd function members_insync? (line 137) | def members_insync?(current, should) function members_to_s (line 141) | def members_to_s(current) function purge_members (line 147) | def purge_members function findgroup (line 162) | def findgroup(key, value) FILE: lib/puppet/provider/group/ldap.rb function name2id (line 43) | def self.name2id(group) FILE: lib/puppet/provider/group/pw.rb function addcmd (line 20) | def addcmd function modifycmd (line 45) | def modifycmd(param, value) FILE: lib/puppet/provider/group/windows_adsi.rb function initialize (line 14) | def initialize(value = {}) function members_insync? (line 19) | def members_insync?(current, should) function members_to_s (line 42) | def members_to_s(users) function member_valid? (line 63) | def member_valid?(user_name) function group (line 67) | def group function members (line 71) | def members function members= (line 79) | def members=(members) function create (line 83) | def create function exists? (line 90) | def exists? function delete (line 94) | def delete function flush (line 101) | def flush function gid (line 105) | def gid function gid= (line 109) | def gid=(value) function instances (line 113) | def self.instances FILE: lib/puppet/provider/ldap.rb class Puppet::Provider::Ldap (line 6) | class Puppet::Provider::Ldap < Puppet::Provider method instances (line 14) | def self.instances method manages (line 23) | def self.manages(*args) method prefetch (line 33) | def self.prefetch(resources) method manager (line 45) | def manager method create (line 49) | def create method delete (line 63) | def delete method exists? (line 67) | def exists? method flush (line 72) | def flush method initialize (line 81) | def initialize(*args) method ldap_properties (line 115) | def ldap_properties method properties (line 120) | def properties method query (line 132) | def query FILE: lib/puppet/provider/nameservice.rb class Puppet::Provider::NameService (line 8) | class Puppet::Provider::NameService < Puppet::Provider method autogen_default (line 10) | def autogen_default(param) method autogen_defaults (line 14) | def autogen_defaults(hash) method initvars (line 21) | def initvars method instances (line 27) | def instances method option (line 40) | def option(name, option) method options (line 45) | def options(name, hash) method resource_type= (line 60) | def resource_type=(resource_type) method section (line 72) | def section method validate (line 85) | def validate(name, value) method verify (line 93) | def verify(name, error, &block) method op (line 100) | def op(property) method autogen (line 107) | def autogen(field) method autogen_id (line 127) | def self.autogen_id(field, resource_type) method create (line 154) | def create method delete (line 172) | def delete method ensure (line 186) | def ensure method exists? (line 195) | def exists? method get (line 200) | def get(param) method munge (line 204) | def munge(name, value) method unmunge (line 213) | def unmunge(name, value) method getinfo (line 223) | def getinfo(refresh) method groups (line 239) | def groups method info2hash (line 244) | def info2hash(info) method initialize (line 254) | def initialize(resource) method set (line 265) | def set(param, value) method has_sensitive_data? (line 279) | def has_sensitive_data?(property = nil) method comments_insync? (line 292) | def comments_insync?(current, should) FILE: lib/puppet/provider/nameservice/directoryservice.rb class Puppet::Provider::NameService::DirectoryService (line 8) | class Puppet::Provider::NameService::DirectoryService < Puppet::Provider... method post_resource_eval (line 30) | def self.post_resource_eval method ds_to_ns_attribute_map (line 40) | def ds_to_ns_attribute_map; self.class.ds_to_ns_attribute_map; end method ds_to_ns_attribute_map (line 42) | def self.ds_to_ns_attribute_map method ns_to_ds_attribute_map (line 59) | def ns_to_ds_attribute_map; self.class.ns_to_ds_attribute_map end method ns_to_ds_attribute_map (line 61) | def self.ns_to_ds_attribute_map method password_hash_dir (line 65) | def self.password_hash_dir method users_plist_dir (line 69) | def self.users_plist_dir method instances (line 73) | def self.instances method get_ds_path (line 86) | def self.get_ds_path method list_all_present (line 100) | def self.list_all_present method parse_dscl_plist_data (line 114) | def self.parse_dscl_plist_data(dscl_output) method generate_attribute_hash (line 118) | def self.generate_attribute_hash(input_hash, *type_properties) method single_report (line 151) | def self.single_report(resource_name, *type_properties) method get_exec_preamble (line 176) | def self.get_exec_preamble(ds_action, resource_name = nil) method set_password (line 201) | def self.set_password(resource_name, guid, password_hash) method get_password (line 248) | def self.get_password(guid, username) method convert_hash_to_binary (line 274) | def self.convert_hash_to_binary(plist_data) method convert_binary_to_hash (line 280) | def self.convert_binary_to_hash(plist_data) method next_system_id (line 289) | def self.next_system_id(id_type, min_id = 20) method ensure= (line 310) | def ensure=(ensure_value) method password= (line 337) | def password=(passphrase) method set (line 357) | def set(param, value) method create (line 386) | def create method remove_unwanted_members (line 443) | def remove_unwanted_members(current_members, new_members) method add_members (line 463) | def add_members(current_members, new_members) method deletecmd (line 476) | def deletecmd method getinfo (line 483) | def getinfo(refresh = false) FILE: lib/puppet/provider/nameservice/objectadd.rb class Puppet::Provider::NameService (line 5) | class Puppet::Provider::NameService class ObjectAdd (line 6) | class ObjectAdd < Puppet::Provider::NameService method deletecmd (line 7) | def deletecmd method flag (line 12) | def flag(name) method posixmethod (line 17) | def posixmethod(name) FILE: lib/puppet/provider/nameservice/pw.rb class Puppet::Provider::NameService (line 5) | class Puppet::Provider::NameService class PW (line 6) | class PW < ObjectAdd method deletecmd (line 7) | def deletecmd method modifycmd (line 11) | def modifycmd(param, value) FILE: lib/puppet/provider/network_device.rb class Puppet::Provider::NetworkDevice (line 4) | class Puppet::Provider::NetworkDevice < Puppet::Provider method device (line 5) | def self.device(url) method lookup (line 9) | def self.lookup(device, name) method prefetch (line 13) | def self.prefetch(resources) method exists? (line 30) | def exists? method initialize (line 36) | def initialize(device, *args) method create (line 46) | def create method destroy (line 56) | def destroy method flush (line 60) | def flush method instances (line 64) | def self.instances method former_properties (line 67) | def former_properties method properties (line 71) | def properties FILE: lib/puppet/provider/package.rb class Puppet::Provider::Package (line 5) | class Puppet::Provider::Package < Puppet::Provider method prefetch (line 7) | def self.prefetch(packages) method flush (line 17) | def flush method properties (line 22) | def properties method validate_source (line 34) | def validate_source(value) method join_options (line 47) | def join_options(options) FILE: lib/puppet/provider/package/aix.rb function srclistcmd (line 43) | def self.srclistcmd(source) function prefetch (line 47) | def self.prefetch(packages) function uninstall (line 82) | def uninstall function install (line 94) | def install(useversion = true) function pkglist (line 118) | def self.pkglist(hash = {}) function instances (line 146) | def self.instances function latest (line 152) | def latest function query (line 164) | def query function update (line 168) | def update FILE: lib/puppet/provider/package/appdmg.rb function instances_by_name (line 30) | def self.instances_by_name function instances (line 40) | def self.instances function installapp (line 46) | def self.installapp(source, name, orig_source) function installpkgdmg (line 55) | def self.installpkgdmg(source, name) function query (line 98) | def query function install (line 102) | def install FILE: lib/puppet/provider/package/apple.rb function instances (line 16) | def self.instances function instance_by_name (line 26) | def self.instance_by_name function query (line 37) | def query function install (line 41) | def install FILE: lib/puppet/provider/package/apt.rb function defaultto_allow_virtual (line 32) | def self.defaultto_allow_virtual function instances (line 36) | def self.instances function query (line 45) | def query function initialize (line 55) | def initialize(value = {}) function mark (line 60) | def mark function mark= (line 64) | def mark=(value) function flush (line 68) | def flush function checkforcdrom (line 83) | def checkforcdrom function best_version (line 97) | def best_version(should_range) function install (line 119) | def install function latest (line 188) | def latest function run_preseed (line 202) | def run_preseed function uninstall (line 213) | def uninstall function purge (line 221) | def purge function install_options (line 231) | def install_options function insync? (line 235) | def insync?(is) function source (line 264) | def source FILE: lib/puppet/provider/package/aptitude.rb function aptget (line 13) | def aptget(*args) function purge (line 26) | def purge function source (line 32) | def source FILE: lib/puppet/provider/package/aptrpm.rb function install (line 31) | def install function latest (line 50) | def latest function update (line 76) | def update function uninstall (line 80) | def uninstall function purge (line 84) | def purge FILE: lib/puppet/provider/package/blastwave.rb function pkgget_with_cat (line 13) | def pkgget_with_cat(*args) function extended (line 17) | def self.extended(mod) function instances (line 29) | def self.instances(hash = {}) function blastlist (line 37) | def self.blastlist(hash) function blastsplit (line 63) | def self.blastsplit(line) function install (line 86) | def install function latest (line 91) | def latest function query (line 96) | def query function update (line 102) | def update function uninstall (line 106) | def uninstall FILE: lib/puppet/provider/package/dnf.rb function update_command (line 44) | def self.update_command function error_level (line 54) | def self.error_level FILE: lib/puppet/provider/package/dnfmodule.rb function current_version (line 24) | def self.current_version function prefetch (line 28) | def self.prefetch(packages) function instances (line 36) | def self.instances function query (line 65) | def query function install (line 76) | def install function insync? (line 108) | def insync?(is) function enable (line 119) | def enable(args = @resource[:name]) function uninstall (line 123) | def uninstall function disable (line 128) | def disable(args = @resource[:name]) function reset (line 132) | def reset function flavor (line 136) | def flavor function flavor= (line 140) | def flavor=(value) FILE: lib/puppet/provider/package/dpkg.rb function dpkgquery_piped (line 22) | def self.dpkgquery_piped(*args, &block) function instances (line 27) | def self.instances function defaultto_allow_virtual (line 54) | def self.defaultto_allow_virtual function parse_line (line 61) | def self.parse_line(line, regex = self::FIELDS_REGEX) function install (line 89) | def install function update (line 112) | def update function latest (line 117) | def latest function query (line 128) | def query function uninstall (line 168) | def uninstall function purge (line 172) | def purge function hold (line 176) | def hold function unhold (line 184) | def unhold FILE: lib/puppet/provider/package/fink.rb function finkcmd (line 20) | def finkcmd(*args) function install (line 26) | def install function latest (line 51) | def latest function run_preseed (line 65) | def run_preseed function update (line 76) | def update function uninstall (line 80) | def uninstall function purge (line 90) | def purge FILE: lib/puppet/provider/package/freebsd.rb function listcmd (line 16) | def self.listcmd function install (line 20) | def install function query (line 37) | def query function uninstall (line 46) | def uninstall FILE: lib/puppet/provider/package/gem.rb function specificity (line 28) | def self.specificity function provider_command (line 40) | def self.provider_command function windows_path_without_puppet_bin (line 59) | def self.windows_path_without_puppet_bin function execute_gem_command (line 76) | def self.execute_gem_command(command, command_options, custom_environmen... function instances (line 90) | def self.instances(target_command = nil) function gemlist (line 106) | def self.gemlist(options) function gemsplit (line 136) | def self.gemsplit(desc) function insync? (line 157) | def insync?(is) function rubygem_version (line 191) | def rubygem_version(command) function install (line 196) | def install(useversion = true) function latest (line 259) | def latest function query (line 267) | def query function uninstall (line 275) | def uninstall function update (line 285) | def update function install_options (line 289) | def install_options function uninstall_options (line 293) | def uninstall_options FILE: lib/puppet/provider/package/hpux.rb function instances (line 18) | def self.instances function install (line 24) | def install function query (line 31) | def query function uninstall (line 38) | def uninstall function standard_args (line 43) | def standard_args FILE: lib/puppet/provider/package/macports.rb function parse_installed_query_line (line 28) | def self.parse_installed_query_line(line) function parse_info_query_line (line 34) | def self.parse_info_query_line(line) function hash_from_line (line 40) | def self.hash_from_line(line, regex, fields) function instances (line 53) | def self.instances function install (line 64) | def install function query (line 75) | def query function latest (line 82) | def latest function uninstall (line 105) | def uninstall function update (line 109) | def update FILE: lib/puppet/provider/package/nim.rb function srclistcmd (line 31) | def self.srclistcmd(source) function uninstall (line 35) | def uninstall function install (line 57) | def install(useversion = true) function parse_showres_output (line 185) | def parse_showres_output(showres_output) function split_into_paragraphs (line 204) | def split_into_paragraphs(showres_output) function parse_showres_header_line (line 208) | def parse_showres_header_line(line) function parse_installp_package_string (line 218) | def parse_installp_package_string(package_string) function parse_rpm_package_string (line 228) | def parse_rpm_package_string(package_string) function parse_showres_package_line (line 238) | def parse_showres_package_line(line) function determine_latest_version (line 266) | def determine_latest_version(showres_output, package_name) function determine_package_type (line 282) | def determine_package_type(showres_output, package_name, version) FILE: lib/puppet/provider/package/openbsd.rb function instances (line 27) | def self.instances function listcmd (line 65) | def self.listcmd function latest (line 69) | def latest function update (line 119) | def update function parse_pkgconf (line 123) | def parse_pkgconf function install (line 153) | def install(latest = false) function get_full_name (line 176) | def get_full_name(latest = false) function get_version (line 201) | def get_version function query (line 228) | def query function install_options (line 237) | def install_options function uninstall_options (line 241) | def uninstall_options function uninstall (line 245) | def uninstall function purge (line 249) | def purge function flavor (line 253) | def flavor function flavor= (line 257) | def flavor=(value) FILE: lib/puppet/provider/package/opkg.rb function instances (line 13) | def self.instances function latest (line 37) | def latest function install (line 43) | def install function uninstall (line 55) | def uninstall function update (line 59) | def update function query (line 63) | def query function package_lists (line 82) | def package_lists FILE: lib/puppet/provider/package/pacman.rb function yaourt? (line 14) | def self.yaourt? function group? (line 31) | def self.group?(name) function install (line 41) | def install function instances (line 57) | def self.instances function get_installed_packages (line 75) | def self.get_installed_packages function get_installed_groups (line 95) | def self.get_installed_groups(installed_packages, filter = nil) function update (line 127) | def update function latest (line 133) | def latest function query (line 163) | def query function to_resource_hash (line 185) | def self.to_resource_hash(name, version) function uninstall (line 194) | def uninstall function purge (line 198) | def purge function remove_package (line 204) | def remove_package(purge_configs = false) function install_options (line 225) | def install_options function uninstall_options (line 229) | def uninstall_options function install_from_file (line 233) | def install_from_file function install_from_repo (line 254) | def install_from_repo FILE: lib/puppet/provider/package/pip.rb function specificity (line 22) | def self.specificity function provider_command (line 33) | def self.provider_command function cmd (line 38) | def self.cmd function pip_version (line 46) | def self.pip_version(command) function instances (line 65) | def self.instances(target_command = nil) function parse (line 105) | def self.parse(line) function query (line 115) | def query function latest (line 126) | def latest function compare_pip_versions (line 138) | def self.compare_pip_versions(x, y) function available_versions (line 147) | def available_versions function available_versions_with_new_pip (line 159) | def available_versions_with_new_pip(command_version) function available_versions_with_old_pip (line 181) | def available_versions_with_old_pip function best_version (line 204) | def best_version(should_range) function get_install_command_options (line 218) | def get_install_command_options function install (line 280) | def install function uninstall (line 290) | def uninstall function update (line 299) | def update function install_options (line 303) | def install_options function insync? (line 307) | def insync?(is) function quote (line 330) | def self.quote(path) function list_extra_flags (line 340) | def list_extra_flags(command_version) FILE: lib/puppet/provider/package/pip2.rb function cmd (line 15) | def self.cmd FILE: lib/puppet/provider/package/pip3.rb function cmd (line 15) | def self.cmd FILE: lib/puppet/provider/package/pkg.rb function instances (line 37) | def self.instances function ifo_flag (line 47) | def self.ifo_flag(flags) function ufoxi_flag (line 79) | def self.ufoxi_flag(flags) function pkg_state (line 89) | def self.pkg_state(state) function parse_line (line 102) | def self.parse_line(line) function hold (line 119) | def hold function unhold (line 123) | def unhold function insync? (line 128) | def insync?(is) function latest (line 194) | def latest function install (line 223) | def install(nofail = false) function uninstall (line 263) | def uninstall function update (line 280) | def update function query (line 289) | def query function exec_cmd (line 296) | def exec_cmd(*cmd) FILE: lib/puppet/provider/package/pkgdmg.rb function instance_by_name (line 48) | def self.instance_by_name function instances (line 58) | def self.instances function installpkg (line 64) | def self.installpkg(source, name, orig_source) function installpkgdmg (line 73) | def self.installpkgdmg(source, name) function query (line 137) | def query function install (line 146) | def install FILE: lib/puppet/provider/package/pkgin.rb function parse_pkgin_line (line 14) | def self.parse_pkgin_line(package) function prefetch (line 27) | def self.prefetch(packages) function instances (line 33) | def self.instances function query (line 39) | def query function parse_pkgsearch_line (line 54) | def parse_pkgsearch_line function install (line 66) | def install function uninstall (line 74) | def uninstall function latest (line 78) | def latest function update (line 85) | def update FILE: lib/puppet/provider/package/pkgng.rb function get_query (line 18) | def self.get_query function get_resource_info (line 22) | def self.get_resource_info(name) function cached_version_list (line 26) | def self.cached_version_list function get_version_list (line 32) | def self.get_version_list function get_latest_version (line 36) | def self.get_latest_version(origin) function parse_pkg_query_line (line 50) | def self.parse_pkg_query_line(line) function instances (line 64) | def self.instances function prefetch (line 85) | def self.prefetch(resources) function repo_tag_from_urn (line 95) | def repo_tag_from_urn(urn) function install (line 103) | def install function uninstall (line 138) | def uninstall function query (line 142) | def query function version (line 152) | def version function version= (line 156) | def version= function update (line 161) | def update function latest (line 166) | def latest function origin (line 171) | def origin function install_options (line 175) | def install_options FILE: lib/puppet/provider/package/pkgutil.rb function healthcheck (line 18) | def self.healthcheck function instances (line 35) | def self.instances(hash = {}) function availlist (line 65) | def self.availlist function pkgsingle (line 81) | def pkgsingle(resource) function parse_pkglist (line 89) | def self.parse_pkglist(output, hash = {}) function noise? (line 117) | def self.noise?(line) function pkgsplit (line 128) | def self.pkgsplit(line) function run_pkgutil (line 153) | def run_pkgutil(resource, *args) function install (line 164) | def install function latest (line 169) | def latest function query (line 174) | def query function update (line 179) | def update function uninstall (line 183) | def uninstall FILE: lib/puppet/provider/package/portage.rb function instances (line 29) | def self.instances function install (line 67) | def install function uninstall (line 81) | def uninstall function reinstall (line 100) | def reinstall function update (line 104) | def update function qatom (line 108) | def qatom function qatom_output_format (line 145) | def qatom_output_format function qatom_result_format (line 149) | def qatom_result_format function qatom_result_fields (line 153) | def qatom_result_fields function get_sets (line 157) | def self.get_sets function query (line 161) | def query function latest (line 236) | def latest function eix_get_version_for_versions (line 242) | def eix_get_version_for_versions(versions, target) function eix_get_version_for_slot (line 254) | def eix_get_version_for_slot(versions_and_slots, slot) function eix_search_format (line 270) | def self.eix_search_format function eix_result_format (line 274) | def self.eix_result_format function eix_result_fields (line 278) | def self.eix_result_fields function eix_version_format (line 283) | def self.eix_version_format function eix_slot_versions_format (line 287) | def self.eix_slot_versions_format function eix_installed_versions_format (line 291) | def self.eix_installed_versions_format function eix_install_versions_format (line 295) | def self.eix_install_versions_format function eix_limit (line 299) | def self.eix_limit function eix_search_arguments (line 303) | def self.eix_search_arguments function install_options (line 307) | def install_options function uninstall_options (line 311) | def uninstall_options FILE: lib/puppet/provider/package/ports.rb function install (line 15) | def install function latest (line 27) | def latest function query (line 72) | def query function uninstall (line 87) | def uninstall function update (line 91) | def update FILE: lib/puppet/provider/package/portupgrade.rb function instances (line 34) | def self.instances function install (line 83) | def install function latest (line 105) | def latest function query (line 163) | def query function uninstall (line 193) | def uninstall function update (line 211) | def update FILE: lib/puppet/provider/package/puppet_gem.rb function uninstall (line 13) | def uninstall function execute_gem_command (line 19) | def self.execute_gem_command(command, command_options, custom_environmen... FILE: lib/puppet/provider/package/puppetserver_gem.rb function provider_command (line 29) | def self.provider_command function gemlist (line 40) | def self.gemlist(options) function install (line 84) | def install(useversion = true) function uninstall (line 121) | def uninstall function execute_rubygems_list_command (line 143) | def self.execute_rubygems_list_command(command_options) FILE: lib/puppet/provider/package/rpm.rb function current_version (line 48) | def self.current_version function nosignature (line 56) | def self.nosignature function nodigest (line 61) | def self.nodigest function instances (line 65) | def self.instances function query (line 84) | def query function latest (line 111) | def latest function install (line 124) | def install function uninstall (line 141) | def uninstall function update (line 177) | def update function install_options (line 181) | def install_options function uninstall_options (line 185) | def uninstall_options function insync? (line 189) | def insync?(is) function nevra_to_hash (line 205) | def self.nevra_to_hash(line) function nevra_to_multiversion_hash (line 226) | def self.nevra_to_multiversion_hash(multiline) FILE: lib/puppet/provider/package/rug.rb function install (line 13) | def install function latest (line 34) | def latest function update (line 47) | def update FILE: lib/puppet/provider/package/sun.rb function namemap (line 34) | def self.namemap(hash) function parse_pkginfo (line 40) | def self.parse_pkginfo(out) function instances (line 57) | def self.instances function info2hash (line 66) | def info2hash(device = nil) function latest (line 89) | def latest function query (line 93) | def query function install (line 98) | def install function uninstall (line 111) | def uninstall function update (line 117) | def update function prepare_cmd (line 122) | def prepare_cmd(opt) function if_have_value (line 130) | def if_have_value(prefix, value) FILE: lib/puppet/provider/package/up2date.rb function install (line 14) | def install function latest (line 23) | def latest function update (line 36) | def update FILE: lib/puppet/provider/package/urpmi.rb function install (line 11) | def install function latest (line 33) | def latest function update (line 45) | def update function purge (line 54) | def purge FILE: lib/puppet/provider/package/windows.rb function post_resource_eval (line 40) | def self.post_resource_eval function instances (line 49) | def self.instances function to_hash (line 57) | def self.to_hash(pkg) function query (line 67) | def query function install (line 76) | def install function uninstall (line 89) | def uninstall function check_result (line 104) | def check_result(hr) function validate_source (line 120) | def validate_source(value) function install_options (line 124) | def install_options function uninstall_options (line 128) | def uninstall_options FILE: lib/puppet/provider/package/windows/exe_package.rb class Puppet::Provider::Package::Windows (line 5) | class Puppet::Provider::Package::Windows class ExePackage (line 6) | class ExePackage < Puppet::Provider::Package::Windows::Package method register (line 22) | def self.register(path) method from_registry (line 28) | def self.from_registry(name, values) method valid? (line 39) | def self.valid?(name, values) method initialize (line 53) | def initialize(name, version, uninstall_string) method match? (line 60) | def match?(resource) method install_command (line 64) | def self.install_command(resource) method uninstall_command (line 92) | def uninstall_command FILE: lib/puppet/provider/package/windows/msi_package.rb class Puppet::Provider::Package::Windows (line 5) | class Puppet::Provider::Package::Windows class MsiPackage (line 6) | class MsiPackage < Puppet::Provider::Package::Windows::Package method installer (line 22) | def self.installer method from_registry (line 28) | def self.from_registry(name, values) method valid? (line 42) | def self.valid?(name, values) method initialize (line 50) | def initialize(name, version, productcode, packagecode) method match? (line 58) | def match?(resource) method install_command (line 64) | def self.install_command(resource) method uninstall_command (line 68) | def uninstall_command FILE: lib/puppet/provider/package/windows/package.rb class Puppet::Provider::Package::Windows (line 6) | class Puppet::Provider::Package::Windows class Package (line 7) | class Package method reg_value_names_to_load (line 18) | def self.reg_value_names_to_load method each (line 26) | def self.each(&block) method with_key (line 43) | def self.with_key(&block) method installer_class (line 63) | def self.installer_class(resource) method munge (line 81) | def self.munge(value) method replace_forward_slashes (line 85) | def self.replace_forward_slashes(value) method quote (line 93) | def self.quote(value) method get_display_name (line 97) | def self.get_display_name(values) method initialize (line 105) | def initialize(name, version) FILE: lib/puppet/provider/package/xbps.rb function defaultto_allow_virtual (line 20) | def self.defaultto_allow_virtual function instances (line 25) | def self.instances function install (line 46) | def install function update (line 65) | def update function uninstall (line 70) | def uninstall function latest (line 81) | def latest function query (line 86) | def query function hold (line 109) | def hold function unhold (line 114) | def unhold function install_options (line 120) | def install_options function uninstall_options (line 124) | def uninstall_options FILE: lib/puppet/provider/package/yum.rb function insync? (line 44) | def insync?(is) function prefetch (line 72) | def self.prefetch(packages) function latest_package_version (line 91) | def self.latest_package_version(package, disablerepo, enablerepo, disabl... function check_updates (line 114) | def self.check_updates(disablerepo, enablerepo, disableexcludes) function parse_updates (line 135) | def self.parse_updates(str) function update_to_hash (line 157) | def self.update_to_hash(pkgname, pkgversion) function clear (line 181) | def self.clear function error_level (line 185) | def self.error_level function update_command (line 189) | def self.update_command function best_version (line 201) | def best_version(should) function available_versions (line 233) | def available_versions(package_name, disablerepo, enablerepo, disableexc... function install (line 244) | def install function latest (line 334) | def latest function update (line 350) | def update function purge (line 355) | def purge function enablerepo (line 361) | def enablerepo function disablerepo (line 365) | def disablerepo function disableexcludes (line 369) | def disableexcludes function scan_options (line 381) | def scan_options(options, key) FILE: lib/puppet/provider/package/zypper.rb function reset! (line 20) | def self.reset! function latest_package_version (line 24) | def self.latest_package_version(package) function list_updates (line 32) | def self.list_updates function zypper_version (line 51) | def zypper_version function best_version (line 56) | def best_version(should) function install (line 93) | def install function latest (line 153) | def latest function update (line 160) | def update function uninstall (line 165) | def uninstall function insync? (line 183) | def insync?(is) FILE: lib/puppet/provider/package_targetable.rb class Puppet::Provider::Package::Targetable (line 27) | class Puppet::Provider::Package::Targetable < Puppet::Provider::Package method prefetch (line 29) | def self.prefetch(packages) method resource_or_provider_command (line 47) | def resource_or_provider_command method validate_command (line 56) | def self.validate_command(cmd) method to_s (line 67) | def to_s FILE: lib/puppet/provider/parsedfile.rb class Puppet::Provider::ParsedFile (line 21) | class Puppet::Provider::ParsedFile < Puppet::Provider method clean (line 30) | def self.clean(hash) method clear (line 39) | def self.clear method filetype (line 44) | def self.filetype method filetype= (line 48) | def self.filetype=(type) method flush (line 64) | def self.flush(record) method backup_target (line 91) | def self.backup_target(target) method flush_target (line 102) | def self.flush_target(target) method header (line 118) | def self.header method native_header_regex (line 140) | def self.native_header_regex method drop_native_header (line 151) | def self.drop_native_header method initvars (line 156) | def self.initvars method instances (line 172) | def self.instances method mk_resource_methods (line 181) | def self.mk_resource_methods method resource_type= (line 205) | def self.resource_type=(resource) method modified (line 212) | def self.modified(target) method prefetch (line 224) | def self.prefetch(resources = nil) method match_providers_with_resources (line 236) | def self.match_providers_with_resources(resources) method resource_for_record (line 265) | def self.resource_for_record(record, resources) method prefetch_all_targets (line 272) | def self.prefetch_all_targets(resources) method prefetch_target (line 281) | def self.prefetch_target(target) method record? (line 315) | def self.record?(name) method retrieve (line 323) | def self.retrieve(path) method skip_record? (line 346) | def self.skip_record?(record) method default_mode (line 355) | def self.default_mode method target_object (line 360) | def self.target_object(target) method target_records (line 374) | def self.target_records(target) method targets (line 380) | def self.targets(resources = nil) method to_file (line 412) | def self.to_file(records) method create (line 426) | def create method destroy (line 437) | def destroy method exists? (line 443) | def exists? method flush (line 448) | def flush method initialize (line 464) | def initialize(record) method prefetch (line 474) | def prefetch method record_type (line 480) | def record_type method mark_target_modified (line 487) | def mark_target_modified FILE: lib/puppet/provider/service/base.rb function getps (line 19) | def getps function getpid (line 33) | def getpid function status (line 70) | def status function statuscmd (line 93) | def statuscmd function start (line 97) | def start function startcmd (line 104) | def startcmd function stop (line 113) | def stop function stopcmd (line 133) | def stopcmd FILE: lib/puppet/provider/service/bsd.rb function rcconf_dir (line 12) | def rcconf_dir function defpath (line 16) | def self.defpath function disable (line 21) | def disable function enabled? (line 27) | def enabled? function enable (line 36) | def enable function startcmd (line 46) | def startcmd function stopcmd (line 50) | def stopcmd FILE: lib/puppet/provider/service/daemontools.rb function defpath (line 50) | def defpath function instances (line 62) | def self.instances function daemondir (line 84) | def self.daemondir function servicedir (line 89) | def servicedir function service (line 104) | def service function daemon (line 111) | def daemon function status (line 118) | def status function setupservice (line 130) | def setupservice function enabled? (line 140) | def enabled? function enable (line 151) | def enable function disable (line 166) | def disable function restart (line 184) | def restart function start (line 188) | def start function stop (line 193) | def stop FILE: lib/puppet/provider/service/debian.rb function disable (line 29) | def disable function enabled? (line 38) | def enabled? function get_start_link_count (line 62) | def get_start_link_count function enable (line 66) | def enable function statuscmd (line 71) | def statuscmd FILE: lib/puppet/provider/service/freebsd.rb function rcconf (line 9) | def rcconf() '/etc/rc.conf' end function rcconf_local (line 10) | def rcconf_local() '/etc/rc.conf.local' end function rcconf_dir (line 11) | def rcconf_dir() '/etc/rc.conf.d' end function defpath (line 13) | def self.defpath function error (line 17) | def error(msg) function rcvar (line 23) | def rcvar function extract_value_name (line 32) | def extract_value_name(name, rc_index, regex, regex_index) function service_name (line 42) | def service_name function rcvar_name (line 47) | def rcvar_name function rcvar_value (line 52) | def rcvar_value function rc_edit (line 62) | def rc_edit(yesno) function rc_replace (line 71) | def rc_replace(service, rcvar, yesno) function rc_add (line 88) | def rc_add(service, rcvar, yesno) function enabled? (line 111) | def enabled? function enable (line 120) | def enable function disable (line 125) | def disable function startcmd (line 130) | def startcmd function stopcmd (line 134) | def stopcmd function statuscmd (line 138) | def statuscmd FILE: lib/puppet/provider/service/gentoo.rb function disable (line 17) | def disable function enabled? (line 23) | def enabled? function enable (line 42) | def enable FILE: lib/puppet/provider/service/init.rb function defpath (line 8) | def self.defpath function excludes (line 35) | def self.excludes function instances (line 78) | def self.instances function get_services (line 82) | def self.get_services(defpath, exclude = excludes) function hasstatus= (line 110) | def hasstatus=(value) function initscript (line 120) | def initscript function paths (line 124) | def paths function search (line 139) | def search(name) function startcmd (line 161) | def startcmd function stopcmd (line 166) | def stopcmd function restartcmd (line 170) | def restartcmd function service_execute (line 174) | def service_execute(type, command, fof = true, squelch = false, combine ... function statuscmd (line 184) | def statuscmd function is_init? (line 190) | def self.is_init?(script = initscript) FILE: lib/puppet/provider/service/launchd.rb function launchd_paths (line 60) | def self.launchd_paths function get_os_version (line 74) | def self.get_os_version function launchd_overrides (line 86) | def self.launchd_overrides function prefetch (line 97) | def self.prefetch(resources) function instances (line 109) | def self.instances function return_globbed_list_of_file_paths (line 126) | def self.return_globbed_list_of_file_paths(path) function make_label_to_path_map (line 137) | def self.make_label_to_path_map(refresh = false) function jobsearch (line 163) | def self.jobsearch(label = nil) function job_list (line 186) | def self.job_list function read_plist (line 203) | def self.read_plist(path) function read_overrides (line 208) | def self.read_overrides function flush (line 225) | def flush function exists? (line 229) | def exists? function plist_from_label (line 236) | def plist_from_label(label) function status (line 249) | def status function start (line 272) | def start function stop (line 297) | def stop function restart (line 320) | def restart function enabled? (line 334) | def enabled? function enable (line 372) | def enable function disable (line 382) | def disable FILE: lib/puppet/provider/service/openbsd.rb function startcmd (line 12) | def startcmd function stopcmd (line 16) | def stopcmd function restartcmd (line 20) | def restartcmd function statuscmd (line 24) | def statuscmd function instances (line 31) | def self.instances function enabled? (line 54) | def enabled? function enable (line 67) | def enable function disable (line 75) | def disable function running? (line 80) | def running? function flags (line 88) | def flags function flags= (line 95) | def flags=(value) FILE: lib/puppet/provider/service/openrc.rb function enable (line 23) | def enable function disable (line 27) | def disable function enabled? (line 34) | def enabled? function instances (line 49) | def self.instances function restartcmd (line 57) | def restartcmd function startcmd (line 61) | def startcmd function stopcmd (line 65) | def stopcmd function statuscmd (line 69) | def statuscmd FILE: lib/puppet/provider/service/openwrt.rb function defpath (line 16) | def self.defpath function enable (line 20) | def enable function disable (line 24) | def disable function enabled? (line 28) | def enabled? function statuscmd (line 35) | def statuscmd FILE: lib/puppet/provider/service/rcng.rb function defpath (line 11) | def self.defpath function enabled? (line 17) | def enabled? function enable (line 33) | def enable FILE: lib/puppet/provider/service/redhat.rb function disable (line 18) | def disable function enabled? (line 29) | def enabled? function enable (line 48) | def enable function initscript (line 55) | def initscript function statuscmd (line 60) | def statuscmd function restartcmd (line 64) | def restartcmd function startcmd (line 68) | def startcmd function stopcmd (line 72) | def stopcmd FILE: lib/puppet/provider/service/runit.rb function defpath (line 44) | def defpath function servicedir (line 53) | def servicedir function status (line 66) | def status function stop (line 78) | def stop function start (line 82) | def start function restart (line 95) | def restart function disable (line 103) | def disable FILE: lib/puppet/provider/service/service.rb function instances (line 6) | def self.instances function restart (line 11) | def restart function restartcmd (line 22) | def restartcmd function texecute (line 26) | def texecute(type, command, fof = true, squelch = false, combine = true) function ucommand (line 36) | def ucommand(type, fof = true) function service_execute (line 49) | def service_execute(type, command, fof = true, squelch = false, combine ... function service_command (line 58) | def service_command(type, fof = true) FILE: lib/puppet/provider/service/smf.rb function instances (line 33) | def self.instances function initialize (line 54) | def initialize(*args) function service_exists? (line 65) | def service_exists? function setup_service (line 72) | def setup_service function service_fmri (line 87) | def service_fmri function supports_incomplete_services? (line 105) | def supports_incomplete_services? function complete_service? (line 111) | def complete_service? function enable (line 128) | def enable function enabled? (line 132) | def enabled? function disable (line 139) | def disable function restartcmd (line 143) | def restartcmd function service_states (line 152) | def service_states function wait (line 168) | def wait(*desired_states) function start (line 181) | def start function stop (line 185) | def stop function restart (line 189) | def restart function status (line 195) | def status function maybe_clear_service_then_svcadm (line 238) | def maybe_clear_service_then_svcadm(cur_state, subcmd, flags) function flush (line 248) | def flush FILE: lib/puppet/provider/service/src.rb function instances (line 31) | def self.instances function startcmd (line 40) | def startcmd function stopcmd (line 44) | def stopcmd function default_runlevel (line 48) | def default_runlevel function default_action (line 52) | def default_action function enabled? (line 56) | def enabled? function enable (line 61) | def enable function disable (line 65) | def disable function wait (line 72) | def wait(desired_state) function start (line 85) | def start function stop (line 90) | def stop function restart (line 95) | def restart function status (line 127) | def status FILE: lib/puppet/provider/service/systemd.rb function instances (line 36) | def self.instances function enabled_insync? (line 51) | def enabled_insync?(current) function systemctl_change_enable (line 74) | def systemctl_change_enable(action) function disable (line 82) | def disable function get_start_link_count (line 86) | def get_start_link_count function cached_enabled? (line 97) | def cached_enabled? function enabled? (line 105) | def enabled? function debian_enabled? (line 134) | def debian_enabled? function daemon_reload? (line 160) | def daemon_reload? function enable (line 169) | def enable function mask (line 174) | def mask function exist? (line 179) | def exist? function unmask (line 184) | def unmask function restartcmd (line 188) | def restartcmd function startcmd (line 192) | def startcmd function stopcmd (line 197) | def stopcmd function statuscmd (line 201) | def statuscmd function restart (line 205) | def restart function start (line 212) | def start function stop (line 219) | def stop function prepare_error_message (line 225) | def prepare_error_message(name, action, exception) FILE: lib/puppet/provider/service/upstart.rb function has_initctl? (line 35) | def self.has_initctl? function instances (line 56) | def self.instances function excludes (line 60) | def self.excludes function get_services (line 71) | def self.get_services(exclude = []) function defpath (line 97) | def self.defpath function upstart_version (line 101) | def upstart_version function overscript (line 106) | def overscript function search (line 110) | def search(name) function enabled? (line 127) | def enabled? function enable (line 140) | def enable function disable (line 151) | def disable function startcmd (line 164) | def startcmd function stopcmd (line 168) | def stopcmd function restartcmd (line 172) | def restartcmd function statuscmd (line 176) | def statuscmd function status (line 180) | def status function is_upstart? (line 197) | def is_upstart?(script = initscript) function version_is_pre_0_6_7 (line 201) | def version_is_pre_0_6_7 function version_is_pre_0_9_0 (line 205) | def version_is_pre_0_9_0 function version_is_post_0_9_0 (line 209) | def version_is_post_0_9_0 function enabled_pre_0_6_7? (line 213) | def enabled_pre_0_6_7?(script_text) function enabled_pre_0_9_0? (line 222) | def enabled_pre_0_9_0?(script_text) function enabled_post_0_9_0? (line 237) | def enabled_post_0_9_0?(script_text, over_text) function enable_pre_0_9_0 (line 260) | def enable_pre_0_9_0(text) function enable_post_0_9_0 (line 278) | def enable_post_0_9_0(script_text, over_text) function disable_pre_0_6_7 (line 292) | def disable_pre_0_6_7(script_text) function disable_pre_0_9_0 (line 297) | def disable_pre_0_9_0(script_text) function disable_post_0_9_0 (line 301) | def disable_post_0_9_0(over_text) function read_override_file (line 305) | def read_override_file function uncomment (line 313) | def uncomment(line) function remove_trailing_comments_from_commented_line_of (line 317) | def remove_trailing_comments_from_commented_line_of(line) function remove_trailing_comments_from (line 321) | def remove_trailing_comments_from(line) function unbalanced_parens_on (line 325) | def unbalanced_parens_on(line) function remove_manual_from (line 329) | def remove_manual_from(text) function comment_start_block_in (line 333) | def comment_start_block_in(text) function uncomment_start_block_in (line 346) | def uncomment_start_block_in(text) function extract_start_on_block_from (line 358) | def extract_start_on_block_from(text) function add_default_start_to (line 368) | def add_default_start_to(text) function ensure_disabled_with_manual (line 372) | def ensure_disabled_with_manual(text) function read_script_from (line 376) | def read_script_from(filename) function write_script_to (line 380) | def write_script_to(file, text) FILE: lib/puppet/provider/service/windows.rb function enable (line 20) | def enable function disable (line 26) | def disable function manual_start (line 32) | def manual_start function delayed_start (line 38) | def delayed_start function enabled? (line 44) | def enabled? function start (line 65) | def start function stop (line 88) | def stop function status (line 92) | def status function default_timeout (line 113) | def default_timeout function instances (line 118) | def self.instances function logonaccount_insync? (line 126) | def logonaccount_insync?(current) function logonaccount (line 135) | def logonaccount function logonaccount= (line 141) | def logonaccount=(value) function logonpassword= (line 147) | def logonpassword=(value) function normalize_logonaccount (line 154) | def normalize_logonaccount function validate_logon_credentials (line 165) | def validate_logon_credentials FILE: lib/puppet/provider/user/aix.rb function group_provider (line 40) | def group_provider function gid_to_pgrp (line 47) | def gid_to_pgrp(provider, gid) function pgrp_to_gid (line 53) | def pgrp_to_gid(provider, pgrp) function expiry_to_expires (line 59) | def expiry_to_expires(expiry) function expires_to_expiry (line 66) | def expires_to_expiry(provider, expires) function groups_property_to_attribute (line 85) | def groups_property_to_attribute(groups) function groups_attribute_to_property (line 99) | def groups_attribute_to_property(provider, _groups) function gid= (line 146) | def gid=(value) function parse_password (line 166) | def parse_password(f) function password (line 198) | def password function password= (line 206) | def password=(value) function create (line 248) | def create function list_all_homes (line 279) | def list_all_homes(ia_module_args = []) function delete (line 293) | def delete function deletecmd (line 312) | def deletecmd FILE: lib/puppet/provider/user/directoryservice.rb function ds_to_ns_attribute_map (line 45) | def self.ds_to_ns_attribute_map function ns_to_ds_attribute_map (line 61) | def self.ns_to_ds_attribute_map function prefetch (line 74) | def self.prefetch(resources) function instances (line 88) | def self.instances function get_all_users (line 96) | def self.get_all_users function generate_attribute_hash (line 104) | def self.generate_attribute_hash(input_hash) function get_os_version (line 164) | def self.get_os_version function get_list_of_groups (line 172) | def self.get_list_of_groups function get_attribute_from_dscl (line 181) | def self.get_attribute_from_dscl(path, username, keyname) function get_embedded_binary_plist (line 188) | def self.get_embedded_binary_plist(shadow_hash_data) function convert_hash_to_binary (line 194) | def self.convert_hash_to_binary(plist_data) function convert_binary_to_hash (line 200) | def self.convert_binary_to_hash(plist_data) function get_salted_sha512 (line 207) | def self.get_salted_sha512(embedded_binary_plist) function get_salted_sha512_pbkdf2 (line 215) | def self.get_salted_sha512_pbkdf2(field, embedded_binary_plist, user_nam... function get_sha1 (line 233) | def self.get_sha1(guid) function exists? (line 250) | def exists? function create (line 263) | def create function delete (line 325) | def delete function groups= (line 335) | def groups=(value) function password= (line 354) | def password=(value) function iterations= (line 397) | def iterations=(value) function salt= (line 414) | def salt=(value) function assert_full_pbkdf2_password (line 479) | def assert_full_pbkdf2_password function users_plist_dir (line 487) | def users_plist_dir function password_hash_dir (line 491) | def self.password_hash_dir function create_attribute_with_dscl (line 496) | def create_attribute_with_dscl(path, username, keyname, value) function merge_attribute_with_dscl (line 501) | def merge_attribute_with_dscl(path, username, keyname, value) function set_attribute_with_dscl (line 505) | def set_attribute_with_dscl(dscl_command, path, username, keyname, value) function create_new_user (line 512) | def create_new_user(username) function next_system_id (line 518) | def next_system_id(min_id = 20) function write_password_to_users_plist (line 536) | def write_password_to_users_plist(value) function flush_dscl_cache (line 565) | def flush_dscl_cache function get_users_plist (line 569) | def get_users_plist(username) function get_shadow_hash_data (line 578) | def get_shadow_hash_data(users_plist) function needs_sha512_pbkdf2_authentication_authority_to_be_added? (line 590) | def needs_sha512_pbkdf2_authentication_authority_to_be_added?(users_plist) function set_shadow_hash_data (line 601) | def set_shadow_hash_data(users_plist, binary_plist) function write_and_import_shadow_hash_data (line 619) | def write_and_import_shadow_hash_data(data_plist) function base64_decode_string (line 635) | def base64_decode_string(value) function set_salted_sha512 (line 643) | def set_salted_sha512(users_plist, shadow_hash_data, value) function set_salted_pbkdf2 (line 661) | def set_salted_pbkdf2(users_plist, shadow_hash_data, field, value) FILE: lib/puppet/provider/user/hpux.rb function deletecmd (line 28) | def deletecmd function modifycmd (line 32) | def modifycmd(param, value) function password (line 48) | def password function trusted (line 83) | def trusted function exec_getprpw (line 90) | def exec_getprpw(user, opts) FILE: lib/puppet/provider/user/ldap.rb function gid= (line 53) | def gid=(value) function groups (line 60) | def groups function groups= (line 75) | def groups=(values) function group2id (line 118) | def group2id(group) function group_manager (line 124) | def group_manager function group_properties (line 128) | def group_properties(values) FILE: lib/puppet/provider/user/openbsd.rb function loginclass= (line 67) | def loginclass=(value) function modifycmd (line 71) | def modifycmd(param, value) FILE: lib/puppet/provider/user/pw.rb function addcmd (line 31) | def addcmd function modifycmd (line 47) | def modifycmd(param, value) function deletecmd (line 57) | def deletecmd function create (line 63) | def create function password= (line 71) | def password=(cryptopw) function password (line 80) | def password function has_sensitive_data? (line 88) | def has_sensitive_data?(property = nil) function expiry (line 98) | def expiry FILE: lib/puppet/provider/user/user_role_add.rb function shell= (line 32) | def shell=(value) function check_valid_shell (line 39) | def check_valid_shell function add_properties (line 49) | def add_properties function user_attributes (line 70) | def user_attributes function flush (line 74) | def flush function command (line 78) | def command(cmd) function is_role? (line 83) | def is_role? function run (line 87) | def run(cmd, msg) function transition (line 93) | def transition(type) function create (line 100) | def create function destroy (line 114) | def destroy function create_role (line 118) | def create_role function roles (line 126) | def roles function auths (line 130) | def auths function profiles (line 134) | def profiles function project (line 138) | def project function managed_attributes (line 142) | def managed_attributes function remove_managed_attributes (line 146) | def remove_managed_attributes function keys (line 151) | def keys function build_keys_cmd (line 158) | def build_keys_cmd(keys_hash) function keys= (line 166) | def keys=(keys_hash) function target_file_path (line 172) | def target_file_path function shadow_entry (line 179) | def shadow_entry function password (line 189) | def password function password_min_age (line 195) | def password_min_age function password_max_age (line 201) | def password_max_age function password_warn_days (line 207) | def password_warn_days function has_sensitive_data? (line 213) | def has_sensitive_data?(property = nil) function password= (line 223) | def password=(cryptopw) FILE: lib/puppet/provider/user/useradd.rb function exists? (line 57) | def exists? function uid (line 63) | def uid function gid (line 69) | def gid function comment (line 75) | def comment function shell (line 81) | def shell function home (line 87) | def home function groups (line 93) | def groups function finduser (line 99) | def finduser(key, value) function local_username (line 117) | def local_username function localuid (line 121) | def localuid function localgid (line 128) | def localgid function localcomment (line 141) | def localcomment function localshell (line 146) | def localshell function localhome (line 151) | def localhome function localgroups (line 156) | def localgroups function shell= (line 179) | def shell=(value) function groups= (line 184) | def groups=(value) function password= (line 188) | def password=(value) function check_allow_dup (line 233) | def check_allow_dup function check_valid_shell (line 248) | def check_valid_shell function check_manage_home (line 257) | def check_manage_home function check_system_users (line 274) | def check_system_users function add_properties (line 284) | def add_properties function get_value_for_property (line 299) | def get_value_for_property(property) function has_sensitive_data? (line 311) | def has_sensitive_data?(property = nil) function addcmd (line 320) | def addcmd function modifycmd (line 337) | def modifycmd(param, value) function deletecmd (line 356) | def deletecmd function passcmd (line 370) | def passcmd function create (line 398) | def create function groups? (line 410) | def groups? function property_manages_password_age? (line 414) | def property_manages_password_age?(property) FILE: lib/puppet/provider/user/windows_adsi.rb function initialize (line 13) | def initialize(value = {}) function user (line 18) | def user function roles (line 22) | def roles function roles= (line 26) | def roles=(value) function groups (line 39) | def groups function groups= (line 44) | def groups=(groups) function groups_insync? (line 48) | def groups_insync?(current, should) function groups_to_s (line 71) | def groups_to_s(groups) function create (line 87) | def create function exists? (line 101) | def exists? function delete (line 105) | def delete function flush (line 119) | def flush function comment (line 123) | def comment function comment= (line 127) | def comment=(value) function home (line 131) | def home function home= (line 135) | def home=(value) function password (line 139) | def password function password= (line 147) | def password=(value) function uid (line 158) | def uid function uid= (line 162) | def uid=(value) function instances (line 173) | def self.instances FILE: lib/puppet/relationship.rb class Puppet::Relationship (line 9) | class Puppet::Relationship method from_data_hash (line 18) | def self.from_data_hash(data) method event= (line 29) | def event=(event) method initialize (line 36) | def initialize(source, target, options = {}) method match? (line 49) | def match?(event) method label (line 57) | def label method ref (line 64) | def ref method inspect (line 68) | def inspect method to_data_hash (line 72) | def to_data_hash method to_s (line 82) | def to_s FILE: lib/puppet/reports.rb class Puppet::Reports (line 32) | class Puppet::Reports method register_report (line 56) | def self.register_report(name, options = {}, &block) method reportdocs (line 74) | def self.reportdocs method reports (line 91) | def self.reports FILE: lib/puppet/reports/http.rb function process (line 17) | def process FILE: lib/puppet/reports/log.rb function process (line 9) | def process FILE: lib/puppet/reports/store.rb function process (line 17) | def process function destroy (line 49) | def self.destroy(host) function validate_host (line 65) | def validate_host(host) FILE: lib/puppet/resource.rb class Puppet::Resource (line 11) | class Puppet::Resource method from_data_hash (line 46) | def self.from_data_hash(data) method initialize_from_hash (line 52) | def initialize_from_hash(data) method inspect (line 88) | def inspect method to_data_hash (line 99) | def to_data_hash method value_to_json_data (line 148) | def self.value_to_json_data(value) method yaml_property_munge (line 164) | def yaml_property_munge(x) method []= (line 178) | def []=(param, value) method [] (line 185) | def [](param) method == (line 189) | def ==(other) method builtin? (line 198) | def builtin? method builtin_type? (line 204) | def builtin_type? method to_kind (line 209) | def self.to_kind(resource_type) method each (line 222) | def each method include? (line 226) | def include?(parameter) method class? (line 236) | def class? method stage? (line 240) | def stage? method initialize (line 267) | def initialize(type, title = nil, attributes = EMPTY_HASH) method ref (line 366) | def ref method resolve (line 371) | def resolve method resource_type (line 378) | def resource_type method resource_type (line 385) | def self.resource_type(type, title, environment) method resource_type= (line 402) | def resource_type=(type) method environment (line 406) | def environment method environment= (line 414) | def environment=(environment) method to_hash (line 421) | def to_hash method to_s (line 425) | def to_s method uniqueness_key (line 429) | def uniqueness_key method key_attributes (line 438) | def key_attributes method to_hierayaml (line 445) | def to_hierayaml method to_hiera_hash (line 467) | def to_hiera_hash method to_manifest (line 482) | def to_manifest method to_ref (line 504) | def to_ref method to_ral (line 515) | def to_ral method name (line 529) | def name method missing_arguments (line 536) | def missing_arguments method copy_as_resource (line 544) | def copy_as_resource method valid_parameter? (line 548) | def valid_parameter?(name) method validate_parameter (line 552) | def validate_parameter(name) method pos (line 558) | def pos method prune_parameters (line 562) | def prune_parameters(options = EMPTY_HASH) method type_and_title (line 581) | def self.type_and_title(type, title) method extract_type_and_title (line 590) | def self.extract_type_and_title(argtype, argtitle) method munge_type_name (line 602) | def self.munge_type_name(value) method parameter_name (line 613) | def parameter_name(param) method namevar (line 623) | def namevar method extract_parameters (line 631) | def extract_parameters(params) method parse_title (line 643) | def parse_title FILE: lib/puppet/resource/catalog.rb class Puppet::Resource::Catalog (line 16) | class Puppet::Resource::Catalog < Puppet::Graph::SimpleGraph class DuplicateResourceError (line 17) | class DuplicateResourceError < Puppet::Error method add_class (line 76) | def add_class(*classes) method title_key_for_ref (line 88) | def title_key_for_ref(ref) method add_resource_before (line 99) | def add_resource_before(other, *resources) method add_resource_after (line 114) | def add_resource_after(other, *resources) method add_resource (line 126) | def add_resource(*resources) method container_of (line 135) | def container_of(resource) method add_one_resource (line 139) | def add_one_resource(resource, idx = -1) method add_resource_to_table (line 153) | def add_resource_to_table(resource, title_key, idx) method add_resource_to_graph (line 159) | def add_resource_to_graph(resource) method create_resource_aliases (line 165) | def create_resource_aliases(resource) method alias (line 184) | def alias(resource, key) method apply (line 233) | def apply(options = {}) method relationship_graph (line 264) | def relationship_graph(given_prioritizer = nil) method clear (line 272) | def clear(remove_resources = true) method classes (line 285) | def classes method create_resource (line 290) | def create_resource(type, options) method finalize (line 304) | def finalize method host_config? (line 312) | def host_config? method initialize (line 316) | def initialize(name = nil, environment = Puppet::Node::Environment::NO... method make_default_resources (line 342) | def make_default_resources method remove_resource (line 359) | def remove_resource(*resources) method resource (line 378) | def resource(type, title = nil) method resource_refs (line 397) | def resource_refs method resource_keys (line 401) | def resource_keys method resources (line 405) | def resources method from_data_hash (line 411) | def self.from_data_hash(data) method to_data_hash (line 469) | def to_data_hash method to_ral (line 494) | def to_ral method to_resource (line 499) | def to_resource method filter (line 506) | def filter(&block) method write_class_file (line 522) | def write_class_file method write_resource_file (line 534) | def write_resource_file method write_graph (line 551) | def write_graph(name) method prioritizer (line 560) | def prioritizer method create_transaction (line 564) | def create_transaction(options) method fail_on_duplicate_type_and_title (line 574) | def fail_on_duplicate_type_and_title(resource, title_key) method to_catalog (line 592) | def to_catalog(convert) method virtual_not_exported? (line 652) | def virtual_not_exported?(resource) FILE: lib/puppet/resource/status.rb type Puppet (line 7) | module Puppet class Resource (line 8) | class Resource class Status (line 15) | class Status method dependency_failed? (line 100) | def dependency_failed? method from_data_hash (line 104) | def self.from_data_hash(data) method << (line 117) | def <<(event) method add_event (line 122) | def add_event(event) method failed_because (line 140) | def failed_because(detail) method fail_with_event (line 152) | def fail_with_event(message) method initialize (line 156) | def initialize(resource) method initialize_from_hash (line 180) | def initialize_from_hash(data) method to_data_hash (line 206) | def to_data_hash FILE: lib/puppet/resource/type.rb class Puppet::Resource::Type (line 11) | class Puppet::Resource::Type method child_of? (line 65) | def child_of?(klass) method evaluate_code (line 73) | def evaluate_code(resource) method initialize (line 96) | def initialize(type, name, options = {}) method match (line 121) | def match(string) method merge (line 128) | def merge(other) method ensure_in_catalog (line 166) | def ensure_in_catalog(scope, parameters = nil) method instantiate_resource (line 196) | def instantiate_resource(scope, resource) method name (line 207) | def name method name_is_regex? (line 219) | def name_is_regex? method parent_type (line 223) | def parent_type(scope = nil) method set_resource_parameters (line 238) | def set_resource_parameters(resource, scope) method inject_external_parameters (line 274) | def inject_external_parameters(resource, scope) method assign_defaults (line 293) | def assign_defaults(resource, param_scope, scope) method validate_resource_hash (line 311) | def validate_resource_hash(resource, resource_hash) method validate_resource (line 318) | def validate_resource(resource) method valid_parameter? (line 330) | def valid_parameter?(param) method set_arguments (line 334) | def set_arguments(arguments) method set_argument_types (line 350) | def set_argument_types(name_to_type_hash) method convert_from_ast (line 370) | def convert_from_ast(name) method evaluate_parent_type (line 379) | def evaluate_parent_type(resource) method namesplit (line 389) | def namesplit(fullname) method parent_scope (line 396) | def parent_scope(scope, klass) method set_name_and_namespace (line 400) | def set_name_and_namespace(name) method warn_if_metaparam (line 414) | def warn_if_metaparam(param, default) method parameter_struct (line 424) | def parameter_struct method create_params_struct (line 428) | def create_params_struct FILE: lib/puppet/resource/type_collection.rb class Puppet::Resource::TypeCollection (line 9) | class Puppet::Resource::TypeCollection method clear (line 15) | def clear method initialize (line 22) | def initialize(env) method import_ast (line 35) | def import_ast(ast, modname) method inspect (line 41) | def inspect method << (line 50) | def <<(thing) method add (line 55) | def add(instance) method add_hostclass (line 64) | def add_hostclass(instance) method handle_hostclass_merge (line 74) | def handle_hostclass_merge(instance) method replace_settings (line 91) | def replace_settings(instance) method hostclass (line 95) | def hostclass(name) method add_node (line 99) | def add_node(instance) method loader (line 108) | def loader method node (line 112) | def node(name) method node_exists? (line 127) | def node_exists?(name) method nodes? (line 131) | def nodes? method add_definition (line 135) | def add_definition(instance) method definition (line 142) | def definition(name) method find_node (line 146) | def find_node(name) method find_hostclass (line 150) | def find_hostclass(name) method find_definition (line 154) | def find_definition(name) method parse_failed? (line 166) | def parse_failed? method version (line 170) | def version method find_or_load (line 190) | def find_or_load(name, type) method munge_name (line 217) | def munge_name(name) method dupe_check (line 221) | def dupe_check(instance, hash) method dupe_check_singleton (line 229) | def dupe_check_singleton(instance, set) FILE: lib/puppet/runtime.rb class Puppet::Runtime (line 10) | class Puppet::Runtime method initialize (line 13) | def initialize method load_services (line 32) | def load_services method [] (line 41) | def [](name) method []= (line 57) | def []=(name, impl) method clear (line 64) | def clear FILE: lib/puppet/scheduler.rb type Puppet::Scheduler (line 3) | module Puppet::Scheduler function create_job (line 11) | def create_job(interval, splay = false, splay_limit = 0, &block) FILE: lib/puppet/scheduler/job.rb type Puppet::Scheduler (line 3) | module Puppet::Scheduler class Job (line 4) | class Job method initialize (line 9) | def initialize(run_interval, &block) method run_interval= (line 16) | def run_interval=(interval) method ready? (line 20) | def ready?(time) method enabled? (line 28) | def enabled? method enable (line 32) | def enable method disable (line 36) | def disable method interval_to_next_from (line 40) | def interval_to_next_from(time) method run (line 48) | def run(now) FILE: lib/puppet/scheduler/scheduler.rb type Puppet::Scheduler (line 3) | module Puppet::Scheduler class Scheduler (line 4) | class Scheduler method initialize (line 5) | def initialize(timer = Puppet::Scheduler::Timer.new) method run_loop (line 9) | def run_loop(jobs) method enabled (line 19) | def enabled(jobs) method mark_start_times (line 23) | def mark_start_times(jobs, start_time) method min_interval_to_next_run_from (line 29) | def min_interval_to_next_run_from(jobs, from_time) method run_ready (line 35) | def run_ready(jobs, at_time) FILE: lib/puppet/scheduler/splay_job.rb type Puppet::Scheduler (line 3) | module Puppet::Scheduler class SplayJob (line 4) | class SplayJob < Job method initialize (line 7) | def initialize(run_interval, splay_limit, &block) method interval_to_next_from (line 12) | def interval_to_next_from(time) method ready? (line 20) | def ready?(time) method splay_limit= (line 33) | def splay_limit=(splay_limit) method calculate_splay (line 41) | def calculate_splay(limit) FILE: lib/puppet/scheduler/timer.rb type Puppet::Scheduler (line 3) | module Puppet::Scheduler class Timer (line 4) | class Timer method wait_for (line 5) | def wait_for(seconds) method now (line 11) | def now FILE: lib/puppet/settings.rb class Puppet::Settings (line 13) | class Puppet::Settings method app_defaults_for_run_mode (line 59) | def self.app_defaults_for_run_mode(run_mode) method default_certname (line 72) | def self.default_certname method hostname_fact (line 83) | def self.hostname_fact method domain_fact (line 87) | def self.domain_fact method default_config_file_name (line 91) | def self.default_config_file_name method stringify_settings (line 95) | def stringify_settings(section, settings = :all) method stringifyhash (line 120) | def stringifyhash(hash) method initialize (line 137) | def initialize method [] (line 186) | def [](param) method []= (line 197) | def []=(param, value) method override_default (line 214) | def override_default(param, value) method addargs (line 221) | def addargs(options) method optparse_addargs (line 232) | def optparse_addargs(options) method boolean? (line 242) | def boolean?(param) method clear (line 248) | def clear method unsafe_clear (line 253) | def unsafe_clear(clear_cli = true, clear_application_defaults = false) method clear_environment_settings (line 284) | def clear_environment_settings(environment) method flush_cache (line 303) | def flush_cache method unsafe_flush_cache (line 307) | def unsafe_flush_cache method clearused (line 312) | def clearused method global_defaults_initialized? (line 317) | def global_defaults_initialized? method initialize_global_settings (line 321) | def initialize_global_settings(args = [], require_config = true) method parse_global_options (line 341) | def parse_global_options(args) method clean_opt (line 378) | def self.clean_opt(opt, val) method app_defaults_initialized? (line 388) | def app_defaults_initialized? method initialize_app_defaults (line 392) | def initialize_app_defaults(app_defaults) method create_ancestors (line 421) | def create_ancestors(dir) method call_hooks_deferred_to_application_initialization (line 430) | def call_hooks_deferred_to_application_initialization(options = {}) method description (line 442) | def description(name) method eachsection (line 454) | def eachsection method setting (line 468) | def setting(param) method handlearg (line 474) | def handlearg(opt, value = nil) method include? (line 510) | def include?(name) method print_config_options (line 517) | def print_config_options method generate_config (line 554) | def generate_config method generate_manifest (line 559) | def generate_manifest method print_configs (line 564) | def print_configs method print_configs? (line 571) | def print_configs? method preferred_run_mode (line 576) | def preferred_run_mode method preferred_run_mode= (line 586) | def preferred_run_mode=(mode) method parse_config (line 596) | def parse_config(text, file = "text") method parse_config_files (line 658) | def parse_config_files(require_config = true) method main_config_file (line 680) | def main_config_file method user_config_file (line 689) | def user_config_file method config_file_name (line 702) | def config_file_name method apply_metadata (line 713) | def apply_metadata method apply_metadata_from_section (line 728) | def apply_metadata_from_section(section) method newsetting (line 765) | def newsetting(hash) method persection (line 791) | def persection(section) method reparse_config_files (line 801) | def reparse_config_files method files (line 812) | def files method any_files_changed? (line 828) | def any_files_changed? method reuse (line 836) | def reuse method configsearchpath (line 852) | def configsearchpath(environment = nil, run_mode = preferred_run_mode) method searchpath (line 877) | def searchpath(environment = nil, run_mode = preferred_run_mode) method service_user_available? (line 883) | def service_user_available? method service_group_available? (line 899) | def service_group_available? method set_by_cli (line 921) | def set_by_cli(param) method set_by_cli? (line 926) | def set_by_cli?(param) method searchpath_values (line 932) | def searchpath_values(source) method set_by_config? (line 950) | def set_by_config?(param, environment = nil, run_mode = preferred_run_... method set_in_section (line 966) | def set_in_section(param, section) method set_in_section? (line 974) | def set_in_section?(param, section) method patch_value (line 985) | def patch_value(param, value, type) method define_settings (line 1021) | def define_settings(section, defs) method to_catalog (line 1064) | def to_catalog(*sections) method to_config (line 1089) | def to_config method to_manifest (line 1116) | def to_manifest method use (line 1125) | def use(*sections) method valid? (line 1170) | def valid?(param) method values (line 1182) | def values(environment, section) method value (line 1200) | def value(param, environment = nil, bypass_interpolation = false) method value_sym (line 1214) | def value_sym(param, environment = nil, bypass_interpolation = false) method which_configuration_file (line 1248) | def which_configuration_file method parse_file (line 1260) | def parse_file(file, allowed_sections = []) method screen_non_puppet_conf_settings (line 1271) | def screen_non_puppet_conf_settings(puppet_conf) method record_deprecations_from_puppet_conf (line 1284) | def record_deprecations_from_puppet_conf(puppet_conf) method issue_deprecations (line 1295) | def issue_deprecations method issue_deprecation_warning (line 1301) | def issue_deprecation_warning(setting, msg = nil) method add_environment_resources (line 1320) | def add_environment_resources(catalog, sections) method production_environment_exists? (line 1340) | def production_environment_exists? method add_user_resources (line 1352) | def add_user_resources(catalog, sections) method value_sets_for (line 1375) | def value_sets_for(environment, mode) method read_file (line 1381) | def read_file(file) method clear_everything_for_tests (line 1388) | def clear_everything_for_tests method explicit_config_file? (line 1396) | def explicit_config_file? class ChainedValues (line 1422) | class ChainedValues method initialize (line 1428) | def initialize(mode, environment, value_sets, defaults) method lookup (line 1440) | def lookup(name) method interpolate (line 1468) | def interpolate(name) method print (line 1477) | def print(name) method lookup_and_convert (line 1488) | def lookup_and_convert(name, &block) method convert (line 1507) | def convert(value, setting_name) method ok_to_interpolate_environment (line 1543) | def ok_to_interpolate_environment(setting_name) class Values (line 1548) | class Values method initialize (line 1553) | def initialize(name, defaults) method set (line 1562) | def set(name, value) method inspect (line 1585) | def inspect class ValuesFromSection (line 1590) | class ValuesFromSection method initialize (line 1593) | def initialize(name, section) method include? (line 1598) | def include?(name) method lookup (line 1602) | def lookup(name) method inspect (line 1609) | def inspect class ValuesFromEnvironmentConf (line 1615) | class ValuesFromEnvironmentConf method initialize (line 1616) | def initialize(environment_name) method name (line 1620) | def name method include? (line 1624) | def include?(name) method lookup (line 1632) | def lookup(name) method conf (line 1638) | def conf method inspect (line 1646) | def inspect FILE: lib/puppet/settings/alias_setting.rb class Puppet::Settings::AliasSetting (line 3) | class Puppet::Settings::AliasSetting method initialize (line 6) | def initialize(args = {}) method optparse_args (line 12) | def optparse_args method getopt_args (line 18) | def getopt_args method type (line 24) | def type method method_missing (line 28) | def method_missing(method, *args) FILE: lib/puppet/settings/array_setting.rb class Puppet::Settings::ArraySetting (line 3) | class Puppet::Settings::ArraySetting < Puppet::Settings::BaseSetting method type (line 4) | def type method munge (line 8) | def munge(value) FILE: lib/puppet/settings/autosign_setting.rb class Puppet::Settings::AutosignSetting (line 11) | class Puppet::Settings::AutosignSetting < Puppet::Settings::FileSetting method munge (line 12) | def munge(value) FILE: lib/puppet/settings/base_setting.rb class Puppet::Settings::BaseSetting (line 7) | class Puppet::Settings::BaseSetting method available_call_hook_values (line 30) | def self.available_call_hook_values method call_hook= (line 37) | def call_hook=(value) method call_hook_on_define? (line 52) | def call_hook_on_define? method call_hook_on_initialize? (line 57) | def call_hook_on_initialize? method getopt_args (line 62) | def getopt_args method optparse_args (line 71) | def optparse_args method hook= (line 79) | def hook=(block) method has_hook? (line 84) | def has_hook? method initialize (line 89) | def initialize(args = {}) method iscreated (line 122) | def iscreated method iscreated? (line 126) | def iscreated? method short= (line 131) | def short=(value) method default (line 137) | def default(check_application_defaults_first = false) method to_config (line 153) | def to_config method value (line 182) | def value(bypass_interpolation = false) method munge (line 187) | def munge(value) method print (line 192) | def print(value) method set_meta (line 196) | def set_meta(meta) method deprecated= (line 200) | def deprecated=(deprecation) method deprecated? (line 209) | def deprecated? method completely_deprecated? (line 215) | def completely_deprecated? method allowed_on_commandline? (line 221) | def allowed_on_commandline? method inspect (line 225) | def inspect FILE: lib/puppet/settings/boolean_setting.rb class Puppet::Settings::BooleanSetting (line 4) | class Puppet::Settings::BooleanSetting < Puppet::Settings::BaseSetting method getopt_args (line 6) | def getopt_args method optparse_args (line 14) | def optparse_args method munge (line 22) | def munge(value) method type (line 31) | def type FILE: lib/puppet/settings/certificate_revocation_setting.rb class Puppet::Settings::CertificateRevocationSetting (line 5) | class Puppet::Settings::CertificateRevocationSetting < Puppet::Settings:... method type (line 6) | def type method munge (line 10) | def munge(value) FILE: lib/puppet/settings/config_file.rb class Puppet::Settings::ConfigFile (line 10) | class Puppet::Settings::ConfigFile method initialize (line 13) | def initialize(value_converter) method parse_file (line 23) | def parse_file(file, text, allowed_section_names = []) method initialize (line 47) | def initialize method with_section (line 51) | def with_section(section) method initialize (line 58) | def initialize(name) method with_setting (line 62) | def with_setting(name, value, meta) method setting (line 67) | def setting(name) method has_metadata? (line 73) | def has_metadata? method unique_sections_in (line 83) | def unique_sections_in(ini, file, allowed_section_names) method parse_setting (line 100) | def parse_setting(setting, section) method empty_section (line 119) | def empty_section method extract_fileinfo (line 123) | def extract_fileinfo(string) FILE: lib/puppet/settings/directory_setting.rb class Puppet::Settings::DirectorySetting (line 3) | class Puppet::Settings::DirectorySetting < Puppet::Settings::FileSetting method type (line 4) | def type method open_file (line 15) | def open_file(filename, option = 'r', &block) FILE: lib/puppet/settings/duration_setting.rb class Puppet::Settings::DurationSetting (line 5) | class Puppet::Settings::DurationSetting < Puppet::Settings::BaseSetting method type (line 19) | def type method munge (line 24) | def munge(value) FILE: lib/puppet/settings/enum_setting.rb class Puppet::Settings::EnumSetting (line 3) | class Puppet::Settings::EnumSetting < Puppet::Settings::BaseSetting method type (line 6) | def type method munge (line 10) | def munge(value) FILE: lib/puppet/settings/environment_conf.rb class Puppet::Settings::EnvironmentConf (line 5) | class Puppet::Settings::EnvironmentConf method load_from (line 23) | def self.load_from(path_to_env, global_module_path) method static_for (line 43) | def self.static_for(environment, environment_timeout = 0, static_catal... method initialize (line 50) | def initialize(path_to_env, section, global_module_path) method manifest (line 56) | def manifest method environment_timeout (line 84) | def environment_timeout method environment_data_provider (line 94) | def environment_data_provider method modulepath (line 100) | def modulepath method rich_data (line 110) | def rich_data method static_catalogs (line 116) | def static_catalogs method config_version (line 122) | def config_version method raw_setting (line 128) | def raw_setting(setting_name) method validate (line 135) | def self.validate(path_to_conf_file, config) method get_setting (line 168) | def get_setting(setting_name, default = nil) method expand_glob (line 174) | def expand_glob(path) method absolute (line 184) | def absolute(path) class Static (line 198) | class Static method initialize (line 204) | def initialize(environment, environment_timeout, static_catalogs, en... method path_to_env (line 212) | def path_to_env method manifest (line 216) | def manifest method modulepath (line 220) | def modulepath method config_version (line 224) | def config_version FILE: lib/puppet/settings/errors.rb class Puppet::Settings (line 6) | class Puppet::Settings class SettingsError (line 7) | class SettingsError < Puppet::Error; end class ValidationError (line 8) | class ValidationError < SettingsError; end class InterpolationError (line 9) | class InterpolationError < SettingsError; end class ParseError (line 11) | class ParseError < SettingsError FILE: lib/puppet/settings/file_or_directory_setting.rb class Puppet::Settings::FileOrDirectorySetting (line 3) | class Puppet::Settings::FileOrDirectorySetting < Puppet::Settings::FileS... method type (line 4) | def type method munge (line 14) | def munge(value) method open_file (line 28) | def open_file(filename, option = 'r', &block) FILE: lib/puppet/settings/file_setting.rb class Puppet::Settings::FileSetting (line 4) | class Puppet::Settings::FileSetting < Puppet::Settings::StringSetting class SettingError (line 5) | class SettingError < StandardError; end class Unspecified (line 10) | class Unspecified method value (line 11) | def value class Root (line 19) | class Root method value (line 20) | def value class Service (line 30) | class Service method initialize (line 37) | def initialize(name, fallback, settings, available_method) method value (line 44) | def value method safe_to_use_settings_value? (line 54) | def safe_to_use_settings_value? method initialize (line 61) | def initialize(args) method group= (line 69) | def group=(value) method owner= (line 84) | def owner=(value) method group (line 97) | def group method owner (line 103) | def owner method set_meta (line 107) | def set_meta(meta) method munge (line 113) | def munge(value) method type (line 120) | def type method to_resource (line 125) | def to_resource method exclusive_open (line 180) | def exclusive_open(option = 'r', &block) method open (line 192) | def open(option = 'r', &block) method file (line 200) | def file method unknown_value (line 204) | def unknown_value(parameter, value) method controlled_access (line 208) | def controlled_access(&block) FILE: lib/puppet/settings/http_extra_headers_setting.rb class Puppet::Settings::HttpExtraHeadersSetting (line 3) | class Puppet::Settings::HttpExtraHeadersSetting < Puppet::Settings::Base... method type (line 4) | def type method munge (line 8) | def munge(headers) FILE: lib/puppet/settings/ini_file.rb class Puppet::Settings::IniFile (line 4) | class Puppet::Settings::IniFile method update (line 7) | def self.update(config_fh, &block) method parse (line 14) | def self.parse(config_fh) method initialize (line 30) | def initialize(lines = []) method append (line 34) | def append(line) method delete (line 39) | def delete(section, name) method insert_after (line 48) | def insert_after(line, new_line) method section_lines (line 58) | def section_lines method section_line (line 62) | def section_line(name) method setting (line 66) | def setting(section, name) method lines_in (line 72) | def lines_in(section_name) method settings_in (line 86) | def settings_in(lines) method settings_exist_in_default_section? (line 90) | def settings_exist_in_default_section? method section_exists_with_default_section_name? (line 94) | def section_exists_with_default_section_name? method set_default_section_write_sectionline (line 100) | def set_default_section_write_sectionline(value) method write (line 107) | def write(fh) class Manipulator (line 123) | class Manipulator method initialize (line 124) | def initialize(config) method set (line 128) | def set(section, name, value) method delete (line 137) | def delete(section_name, name) method add_setting (line 147) | def add_setting(section_name, name, value) type LineNumber (line 160) | module LineNumber function line_number (line 163) | def line_number method to_s (line 177) | def to_s method write (line 181) | def write(fh) method to_s (line 189) | def to_s method write (line 193) | def write(fh) method == (line 197) | def ==(other) method to_s (line 205) | def to_s method write (line 209) | def write(fh) class DefaultSection (line 214) | class DefaultSection < SectionLine method initialize (line 217) | def initialize method write (line 222) | def write(fh) FILE: lib/puppet/settings/integer_setting.rb class Puppet::Settings::IntegerSetting (line 3) | class Puppet::Settings::IntegerSetting < Puppet::Settings::BaseSetting method munge (line 4) | def munge(value) method type (line 16) | def type FILE: lib/puppet/settings/path_setting.rb class Puppet::Settings::PathSetting (line 3) | class Puppet::Settings::PathSetting < Puppet::Settings::StringSetting method munge (line 4) | def munge(value) FILE: lib/puppet/settings/port_setting.rb class Puppet::Settings::PortSetting (line 3) | class Puppet::Settings::PortSetting < Puppet::Settings::IntegerSetting method munge (line 4) | def munge(value) method type (line 14) | def type FILE: lib/puppet/settings/priority_setting.rb class Puppet::Settings::PrioritySetting (line 7) | class Puppet::Settings::PrioritySetting < Puppet::Settings::BaseSetting method type (line 27) | def type method munge (line 31) | def munge(value) FILE: lib/puppet/settings/server_list_setting.rb class Puppet::Settings::ServerListSetting (line 3) | class Puppet::Settings::ServerListSetting < Puppet::Settings::ArraySetting method type (line 4) | def type method print (line 8) | def print(value) method munge (line 17) | def munge(value) FILE: lib/puppet/settings/string_setting.rb class Puppet::Settings::StringSetting (line 3) | class Puppet::Settings::StringSetting < Puppet::Settings::BaseSetting method type (line 4) | def type method validate (line 8) | def validate(value) FILE: lib/puppet/settings/symbolic_enum_setting.rb class Puppet::Settings::SymbolicEnumSetting (line 3) | class Puppet::Settings::SymbolicEnumSetting < Puppet::Settings::BaseSetting method type (line 6) | def type method munge (line 10) | def munge(value) FILE: lib/puppet/settings/terminus_setting.rb class Puppet::Settings::TerminusSetting (line 3) | class Puppet::Settings::TerminusSetting < Puppet::Settings::BaseSetting method munge (line 4) | def munge(value) FILE: lib/puppet/settings/ttl_setting.rb class Puppet::Settings::TTLSetting (line 7) | class Puppet::Settings::TTLSetting < Puppet::Settings::BaseSetting method type (line 21) | def type method munge (line 26) | def munge(value) method print (line 30) | def print(value) method munge (line 36) | def self.munge(value, param_name) FILE: lib/puppet/settings/value_translator.rb class Puppet::Settings::ValueTranslator (line 4) | class Puppet::Settings::ValueTranslator method [] (line 5) | def [](value) FILE: lib/puppet/ssl.rb type Puppet::SSL (line 13) | module Puppet::SSL FILE: lib/puppet/ssl/base.rb class Puppet::SSL::Base (line 8) | class Puppet::SSL::Base method from_multiple_s (line 15) | def self.from_multiple_s(text) method to_multiple_s (line 19) | def self.to_multiple_s(instances) method wraps (line 23) | def self.wraps(klass) method wrapped_class (line 27) | def self.wrapped_class method validate_certname (line 33) | def self.validate_certname(name) method generate (line 39) | def generate method initialize (line 43) | def initialize(name) method name_from_subject (line 58) | def self.name_from_subject(subject) method from_instance (line 65) | def self.from_instance(instance, name = nil) method from_s (line 81) | def self.from_s(string, name = nil) method read (line 87) | def read(path) method to_s (line 99) | def to_s method to_data_hash (line 105) | def to_data_hash method to_text (line 110) | def to_text method fingerprint (line 116) | def fingerprint(md = :SHA256) method digest (line 121) | def digest(algorithm = nil) method digest_algorithm (line 127) | def digest_algorithm method wrapped_class (line 149) | def wrapped_class FILE: lib/puppet/ssl/certificate.rb class Puppet::SSL::Certificate (line 12) | class Puppet::SSL::Certificate < Puppet::SSL::Base method supported_formats (line 18) | def self.supported_formats method subject_alt_names_for (line 22) | def self.subject_alt_names_for(cert) method subject_alt_names (line 29) | def subject_alt_names method expiration (line 33) | def expiration method unmunged_name (line 41) | def unmunged_name method custom_extensions (line 54) | def custom_extensions method exts_seq (line 69) | def exts_seq method get_ext_val (line 83) | def get_ext_val(oid) FILE: lib/puppet/ssl/certificate_request.rb class Puppet::SSL::CertificateRequest (line 30) | class Puppet::SSL::CertificateRequest < Puppet::SSL::Base method supported_formats (line 35) | def self.supported_formats method extension_factory (line 39) | def extension_factory method generate (line 60) | def generate(key, options = {}) method ext_value_to_ruby_value (line 102) | def ext_value_to_ruby_value(asn1_arr) method request_extensions (line 140) | def request_extensions method subject_alt_names (line 173) | def subject_alt_names method custom_attributes (line 193) | def custom_attributes method add_csr_attributes (line 215) | def add_csr_attributes(csr, csr_attributes) method extension_request_attribute (line 236) | def extension_request_attribute(options) method unpack_extension_request (line 295) | def unpack_extension_request(attribute) FILE: lib/puppet/ssl/certificate_request_attributes.rb class Puppet::SSL::CertificateRequestAttributes (line 10) | class Puppet::SSL::CertificateRequestAttributes method initialize (line 13) | def initialize(path) method load (line 22) | def load FILE: lib/puppet/ssl/certificate_signer.rb class Puppet::SSL::CertificateSigner (line 8) | class Puppet::SSL::CertificateSigner method initialize (line 13) | def initialize method sign (line 36) | def sign(content, key) FILE: lib/puppet/ssl/digest.rb class Puppet::SSL::Digest (line 3) | class Puppet::SSL::Digest method initialize (line 6) | def initialize(algorithm, content) method to_s (line 11) | def to_s method to_hex (line 15) | def to_hex method name (line 19) | def name FILE: lib/puppet/ssl/error.rb type Puppet::SSL (line 3) | module Puppet::SSL class SSLError (line 4) | class SSLError < Puppet::Error; end class CertVerifyError (line 6) | class CertVerifyError < Puppet::SSL::SSLError method initialize (line 9) | def initialize(message, code, cert) class CertMismatchError (line 16) | class CertMismatchError < Puppet::SSL::SSLError method initialize (line 17) | def initialize(peer_cert, host) FILE: lib/puppet/ssl/oids.rb type Puppet::SSL::Oids (line 31) | module Puppet::SSL::Oids function register_puppet_oids (line 84) | def self.register_puppet_oids function parse_custom_oid_file (line 109) | def self.parse_custom_oid_file(custom_oid_file, map_key = 'oid_mapping') function load_custom_oid_file (line 155) | def self.load_custom_oid_file(custom_oid_file, map_key = 'oid_mapping') function subtree_of? (line 187) | def self.subtree_of?(first, second, exclusive = false) FILE: lib/puppet/ssl/openssl_loader.rb type OpenSSL (line 13) | module OpenSSL type PKey (line 14) | module PKey class RSA (line 15) | class RSA; end type X509 (line 18) | module X509 class Request (line 19) | class Request; end class Certificate (line 20) | class Certificate; end FILE: lib/puppet/ssl/ssl_context.rb type Puppet::SSL (line 5) | module Puppet::SSL function initialize (line 18) | def initialize(*) FILE: lib/puppet/ssl/ssl_provider.rb class Puppet::SSL::SSLProvider (line 26) | class Puppet::SSL::SSLProvider method create_insecure_context (line 33) | def create_insecure_context method create_root_context (line 52) | def create_root_context(cacerts:, crls: [], revocation: Puppet[:certif... method create_system_context (line 75) | def create_system_context(cacerts:, path: Puppet[:ssl_trust_store], in... method create_context (line 148) | def create_context(cacerts:, crls:, private_key:, client_cert:, revoca... method load_context (line 180) | def load_context(certname: Puppet[:certname], revocation: Puppet[:cert... method verify_request (line 206) | def verify_request(csr, public_key) method print (line 214) | def print(ssl_context, alg = 'SHA256') method default_flags (line 237) | def default_flags method create_x509_store (line 248) | def create_x509_store(roots, crls, revocation, include_system_store: f... method subject (line 261) | def subject(x509) method issuer (line 265) | def issuer(x509) method revocation_mode (line 269) | def revocation_mode(mode) method resolve_client_chain (line 281) | def resolve_client_chain(store, client_cert, private_key) method verify_cert_with_store (line 295) | def verify_cert_with_store(store, cert) method raise_cert_verify_error (line 321) | def raise_cert_verify_error(store_context, current_cert) FILE: lib/puppet/ssl/state_machine.rb class Puppet::SSL::StateMachine (line 16) | class Puppet::SSL::StateMachine class SSLState (line 17) | class SSLState method initialize (line 20) | def initialize(machine, ssl_context) method to_error (line 27) | def to_error(message, cause) method log_error (line 33) | def log_error(message) class NeedCACerts (line 45) | class NeedCACerts < SSLState method initialize (line 46) | def initialize(machine) method next_state (line 51) | def next_state method needs_refresh? (line 102) | def needs_refresh?(now, last_update) method refresh_ca (line 111) | def refresh_ca(ssl_ctx, last_update) method download_ca (line 137) | def download_ca(ssl_ctx, last_update) class NeedCRLs (line 157) | class NeedCRLs < SSLState method initialize (line 160) | def initialize(machine, ssl_context, force_crl_refresh = false) method next_state (line 165) | def next_state method needs_refresh? (line 200) | def needs_refresh?(now, last_update) method refresh_crl (line 209) | def refresh_crl(ssl_ctx, last_update) method download_crl (line 235) | def download_crl(ssl_ctx, last_update) class NeedKey (line 254) | class NeedKey < SSLState method next_state (line 255) | def next_state method needs_refresh? (line 289) | def needs_refresh?(cert) class KeySSLState (line 299) | class KeySSLState < SSLState method initialize (line 302) | def initialize(machine, ssl_context, private_key) class NeedSubmitCSR (line 314) | class NeedSubmitCSR < KeySSLState method next_state (line 315) | def next_state class NeedCert (line 334) | class NeedCert < KeySSLState method next_state (line 335) | def next_state class NeedRenewedCert (line 368) | class NeedRenewedCert < KeySSLState method next_state (line 369) | def next_state class Wait (line 401) | class Wait < SSLState method initialize (line 402) | def initialize(machine) method next_state (line 406) | def next_state class NeedLock (line 430) | class NeedLock < SSLState method initialize (line 431) | def initialize(machine) method next_state (line 435) | def next_state class LockFailure (line 457) | class LockFailure < SSLState method initialize (line 460) | def initialize(machine, message) class Error (line 468) | class Error < SSLState method initialize (line 471) | def initialize(machine, message, error) method next_state (line 477) | def next_state class Done (line 486) | class Done < SSLState; end method initialize (line 517) | def initialize(waitforcert: Puppet[:waitforcert], method ensure_ca_certificates (line 545) | def ensure_ca_certificates method ensure_client_certificate (line 555) | def ensure_client_certificate method lock (line 562) | def lock method unlock (line 566) | def unlock method digest_as_hex (line 570) | def digest_as_hex(str) method run_machine (line 576) | def run_machine(state, stop) method run_step (line 600) | def run_step(state) FILE: lib/puppet/ssl/verifier.rb class Puppet::SSL::Verifier (line 8) | class Puppet::SSL::Verifier method initialize (line 19) | def initialize(hostname, ssl_context) method reusable? (line 31) | def reusable?(verifier) method setup_connection (line 40) | def setup_connection(http) method handle_connection_error (line 65) | def handle_connection_error(http, error) method call (line 105) | def call(preverify_ok, store_context) FILE: lib/puppet/syntax_checkers.rb type Puppet::SyntaxCheckers (line 4) | module Puppet::SyntaxCheckers FILE: lib/puppet/syntax_checkers/base64.rb class Puppet::SyntaxCheckers::Base64 (line 7) | class Puppet::SyntaxCheckers::Base64 < Puppet::Plugins::SyntaxCheckers::... method check (line 18) | def check(text, syntax, acceptor, source_pos) FILE: lib/puppet/syntax_checkers/epp.rb class Puppet::SyntaxCheckers::EPP (line 6) | class Puppet::SyntaxCheckers::EPP < Puppet::Plugins::SyntaxCheckers::Syn... method check (line 17) | def check(text, syntax, acceptor, source_pos) FILE: lib/puppet/syntax_checkers/json.rb class Puppet::SyntaxCheckers::Json (line 6) | class Puppet::SyntaxCheckers::Json < Puppet::Plugins::SyntaxCheckers::Sy... method check (line 17) | def check(text, syntax, acceptor, source_pos) FILE: lib/puppet/syntax_checkers/pp.rb class Puppet::SyntaxCheckers::PP (line 6) | class Puppet::SyntaxCheckers::PP < Puppet::Plugins::SyntaxCheckers::Synt... method check (line 17) | def check(text, syntax, acceptor, source_pos) FILE: lib/puppet/test/test_helper.rb type Puppet::Test (line 6) | module Puppet::Test class TestHelper (line 34) | class TestHelper method initialize (line 38) | def self.initialize method before_all_tests (line 72) | def self.before_all_tests method after_all_tests (line 80) | def self.after_all_tests method before_each_test (line 90) | def self.before_each_test method after_each_test (line 159) | def self.after_each_test method app_defaults_for_tests (line 208) | def self.app_defaults_for_tests method initialize_settings_before_each (line 221) | def self.initialize_settings_before_each FILE: lib/puppet/thread_local.rb class Puppet::ThreadLocal (line 5) | class Puppet::ThreadLocal < Concurrent::ThreadLocalVar FILE: lib/puppet/transaction.rb class Puppet::Transaction (line 14) | class Puppet::Transaction method initialize (line 43) | def initialize(catalog, report, prioritizer) method perform_pre_run_checks (line 77) | def perform_pre_run_checks method evaluate (line 97) | def evaluate(&block) method stop_processing? (line 208) | def stop_processing? method any_failed? (line 213) | def any_failed? method changed? (line 220) | def changed? method relationship_graph (line 224) | def relationship_graph method resource_status (line 228) | def resource_status(resource) method tags (line 233) | def tags method skip_tags (line 239) | def skip_tags method prefetch_if_necessary (line 243) | def prefetch_if_necessary(resource) method apply (line 265) | def apply(resource, ancestor = nil) method eval_resource (line 277) | def eval_resource(resource, ancestor = nil) method failed_dependencies? (line 293) | def failed_dependencies?(resource) method propagate_failure (line 333) | def propagate_failure(resource) method ignore_tags? (line 353) | def ignore_tags? method resources_by_provider (line 357) | def resources_by_provider(type_name, provider_name) method prefetch (line 374) | def prefetch(provider_class, resources) method add_resource_status (line 391) | def add_resource_status(status) method scheduled? (line 396) | def scheduled?(resource) method skip? (line 401) | def skip?(resource) method host_and_device_resource? (line 440) | def host_and_device_resource?(resource) method missing_tags? (line 445) | def missing_tags?(resource) method skip_tags? (line 452) | def skip_tags?(resource) method split_qualified_tags? (line 459) | def split_qualified_tags? method resolve_resource (line 470) | def resolve_resource(resource) FILE: lib/puppet/transaction/additional_resource_generator.rb class Puppet::Transaction::AdditionalResourceGenerator (line 9) | class Puppet::Transaction::AdditionalResourceGenerator method initialize (line 14) | def initialize(catalog, relationship_graph, prioritizer) method generate_additional_resources (line 21) | def generate_additional_resources(resource) method eval_generate (line 56) | def eval_generate(resource) method replace_duplicates_with_catalog_resources (line 80) | def replace_duplicates_with_catalog_resources(generated) method contain_generated_resources_in (line 86) | def contain_generated_resources_in(resource, made) method redirect_edges_to_sentinel (line 110) | def redirect_edges_to_sentinel(resource, sentinel, made) method connect_resources_to_ancestors (line 119) | def connect_resources_to_ancestors(resource, made) method add_resources (line 130) | def add_resources(generated, resource) method add_resource (line 137) | def add_resource(res, parent_resource, priority = nil) method add_generated_directed_dependency (line 160) | def add_generated_directed_dependency(parent, child, label = nil) method add_conditional_directed_dependency (line 216) | def add_conditional_directed_dependency(parent, child, label = nil) FILE: lib/puppet/transaction/event.rb class Puppet::Transaction::Event (line 9) | class Puppet::Transaction::Event method from_data_hash (line 21) | def self.from_data_hash(data) method initialize (line 27) | def initialize(audited: false, method eql? (line 65) | def eql?(event) method initialize_from_hash (line 70) | def initialize_from_hash(data) method to_data_hash (line 89) | def to_data_hash method property= (line 108) | def property=(prop) method resource= (line 113) | def resource=(res) method send_log (line 121) | def send_log method status= (line 125) | def status=(value) method to_s (line 131) | def to_s method inspect (line 135) | def inspect method calculate_corrective_change (line 142) | def calculate_corrective_change(old_system_value) method log_level (line 163) | def log_level method log_source (line 168) | def log_source FILE: lib/puppet/transaction/event_manager.rb class Puppet::Transaction::EventManager (line 9) | class Puppet::Transaction::EventManager method initialize (line 21) | def initialize(transaction) method relationship_graph (line 27) | def relationship_graph method process_events (line 32) | def process_events(resource) method queue_events (line 52) | def queue_events(resource, events) method dequeue_all_events_for_resource (line 85) | def dequeue_all_events_for_resource(target) method dequeue_events_for_resource (line 93) | def dequeue_events_for_resource(target, callback) method queue_events_for_resource (line 98) | def queue_events_for_resource(source, target, callback, events) method queued_events (line 117) | def queued_events(resource) method process_callback? (line 133) | def process_callback?(resource, events) method process_callback (line 144) | def process_callback(resource, callback, events) method add_callback_status_event (line 168) | def add_callback_status_event(resource, callback, message, status) method process_noop_events (line 174) | def process_noop_events(resource, callback, events) FILE: lib/puppet/transaction/persistence.rb class Puppet::Transaction::Persistence (line 10) | class Puppet::Transaction::Persistence method allowed_classes (line 11) | def self.allowed_classes method initialize (line 30) | def initialize method data (line 37) | def data method get_system_value (line 45) | def get_system_value(resource_name, param_name) method set_system_value (line 56) | def set_system_value(resource_name, param_name, value) method copy_skipped (line 64) | def copy_skipped(resource_name) method load (line 73) | def load method save (line 109) | def save method enabled? (line 116) | def enabled?(catalog) FILE: lib/puppet/transaction/report.rb class Puppet::Transaction::Report (line 39) | class Puppet::Transaction::Report method from_data_hash (line 146) | def self.from_data_hash(data) method as_logging_destination (line 152) | def as_logging_destination(&block) method << (line 157) | def <<(msg) method add_times (line 163) | def add_times(name, value, accumulate = true) method add_metric (line 172) | def add_metric(name, hash) method add_resource_status (line 184) | def add_resource_status(status) method compute_status (line 189) | def compute_status(resource_metrics, change_metric) method has_noop_events? (line 203) | def has_noop_events?(resource) method prune_internal_data (line 208) | def prune_internal_data method finalize_report (line 213) | def finalize_report method initialize (line 227) | def initialize(configuration_version = nil, environment = nil, transac... method initialize_from_hash (line 252) | def initialize_from_hash(data) method resource_unchanged? (line 318) | def resource_unchanged?(rs) method calculate_resource_statuses (line 325) | def calculate_resource_statuses method to_data_hash (line 334) | def to_data_hash method name (line 365) | def name method summary (line 374) | def summary method raw_summary (line 405) | def raw_summary method exit_status (line 440) | def exit_status method calculate_report_corrective_change (line 457) | def calculate_report_corrective_change method calculate_change_metric (line 463) | def calculate_change_metric method calculate_event_metrics (line 467) | def calculate_event_metrics method calculate_resource_metrics (line 480) | def calculate_resource_metrics method calculate_time_metrics (line 499) | def calculate_time_metrics FILE: lib/puppet/transaction/resource_harness.rb class Puppet::Transaction::ResourceHarness (line 5) | class Puppet::Transaction::ResourceHarness method initialize (line 13) | def initialize(transaction) method evaluate (line 18) | def evaluate(resource) method scheduled? (line 38) | def scheduled?(resource) method schedule (line 52) | def schedule(resource) method cached (line 65) | def cached(resource, name) method cache (line 70) | def cache(resource, name, value) method perform_changes (line 76) | def perform_changes(resource, context) method persist_system_values (line 109) | def persist_system_values(resource, context) method sync_if_needed (line 123) | def sync_if_needed(param, context) method create_change_event (line 178) | def create_change_event(property, current_value, historical_value) method are_audited_values_equal (line 202) | def are_audited_values_equal(a, b) method audit_event (line 214) | def audit_event(event, property, context) method audit_message (line 229) | def audit_message(param, do_audit, historical_value, current_value) method noop (line 237) | def noop(event, param, current_value, audit_message) method sync (line 248) | def sync(event, param, current_value, audit_message) method capture_audit_events (line 260) | def capture_audit_events(resource, context) method new_system_value (line 285) | def new_system_value(property, event, old_system_value) method from_resource (line 313) | def self.from_resource(resource, status) method resource_present? (line 323) | def resource_present? method record (line 327) | def record(event) FILE: lib/puppet/trusted_external.rb type Puppet::TrustedExternal (line 4) | module Puppet::TrustedExternal function retrieve (line 5) | def retrieve(certname) function fetch_data (line 38) | def fetch_data(command, certname) FILE: lib/puppet/type.rb type Puppet (line 19) | module Puppet class Type (line 79) | class Type method <=> (line 100) | def <=>(other) method allattrs (line 125) | def self.allattrs method attrclass (line 133) | def self.attrclass(name) method attrtype (line 153) | def self.attrtype(attr) method eachmetaparam (line 170) | def self.eachmetaparam method ensurable (line 194) | def self.ensurable(&block) method ensurable? (line 210) | def self.ensurable? method apply_to_device (line 230) | def self.apply_to_device method apply_to_host (line 238) | def self.apply_to_host method apply_to_all (line 246) | def self.apply_to_all method apply_to (line 253) | def self.apply_to method can_apply_to (line 262) | def self.can_apply_to(target) method handle_param_options (line 272) | def self.handle_param_options(name, options) method metaparam? (line 287) | def self.metaparam?(param) method metaparamclass (line 297) | def self.metaparamclass(name) method metaparams (line 306) | def self.metaparams method metaparamdoc (line 316) | def self.metaparamdoc(metaparam) method newmetaparam (line 337) | def self.newmetaparam(name, options = {}, &block) method copy_metaparams (line 365) | def copy_metaparams(parameters) method key_attribute_parameters (line 376) | def self.key_attribute_parameters method key_attributes (line 389) | def self.key_attributes method parameters_to_include (line 398) | def self.parameters_to_include method title_patterns (line 430) | def self.title_patterns method uniqueness_key (line 445) | def uniqueness_key method newparam (line 464) | def self.newparam(name, options = {}, &block) method newproperty (line 505) | def self.newproperty(name, options = {}, &block) method paramdoc (line 548) | def self.paramdoc(param) method parameters (line 553) | def self.parameters method paramclass (line 560) | def self.paramclass(name) method propertybyname (line 565) | def self.propertybyname(name) method validattr? (line 572) | def self.validattr?(name) method validproperty? (line 586) | def self.validproperty?(name) method validproperties (line 595) | def self.validproperties method validparameter? (line 602) | def self.validparameter?(name) method valid_parameter? (line 612) | def self.valid_parameter?(name) method deleting? (line 617) | def deleting? method add_property_parameter (line 623) | def add_property_parameter(prop_name) method name_var (line 638) | def name_var method [] (line 650) | def [](name) method []= (line 674) | def []=(name, value) method delete (line 708) | def delete(attr) method eachproperty (line 720) | def eachproperty method parameters_with_value (line 730) | def parameters_with_value method eachparameter (line 737) | def eachparameter method event (line 749) | def event(options = {}) method should (line 755) | def should(name) method newattr (line 777) | def newattr(name) method path (line 802) | def path method parameter (line 809) | def parameter(name) method parameters (line 818) | def parameters method propertydefined? (line 824) | def propertydefined?(name) method property (line 834) | def property(name) method set_default (line 851) | def set_default(attr) method to_hash (line 877) | def to_hash method type (line 890) | def type method value (line 901) | def value(name) method version (line 914) | def version method properties (line 925) | def properties method isomorphic? (line 934) | def self.isomorphic? method isomorphic? (line 944) | def isomorphic? method managed? (line 954) | def managed? method depthfirst? (line 980) | def depthfirst? method remove (line 987) | def remove method ancestors (line 1011) | def ancestors method pre_run_check (line 1028) | def pre_run_check method flush (line 1037) | def flush method needs_ensure_retrieved (line 1043) | def self.needs_ensure_retrieved method retrieve (line 1053) | def retrieve method retrieve_resource (line 1095) | def retrieve_resource method present? (line 1104) | def present?(current_values) method currentpropvalues (line 1112) | def currentpropvalues method noop? (line 1132) | def noop? method noop (line 1145) | def noop method instances (line 1153) | def self.instances method providers_by_source (line 1183) | def self.providers_by_source method hash2resource (line 1200) | def self.hash2resource(hash) method pathbuilder (line 1229) | def pathbuilder method all_properties (line 1330) | def all_properties method properties_to_audit (line 1336) | def properties_to_audit(list) class RelationshipMetaparam (line 1466) | class RelationshipMetaparam < Puppet::Parameter method inherited (line 1473) | def self.inherited(sub) method munge (line 1478) | def munge(references) method validate_relationship (line 1493) | def validate_relationship method to_edges (line 1516) | def to_edges method relationship_params (line 1571) | def self.relationship_params method defaultprovider (line 1706) | def self.defaultprovider method provider_hash_by_type (line 1729) | def self.provider_hash_by_type(type) method provider_hash (line 1736) | def self.provider_hash method provider (line 1747) | def self.provider(name) method providers (line 1759) | def self.providers method validprovider? (line 1770) | def self.validprovider?(name) method provide (line 1790) | def self.provide(name, options = {}, &block) method providify (line 1829) | def self.providify method unprovide (line 1897) | def self.unprovide(name) method suitableprovider (line 1911) | def self.suitableprovider method suitable? (line 1923) | def suitable? method provider= (line 1951) | def provider=(name) method autorequire (line 2000) | def self.autorequire(name, &block) method autobefore (line 2005) | def self.autobefore(name, &block) method autosubscribe (line 2010) | def self.autosubscribe(name, &block) method autonotify (line 2015) | def self.autonotify(name, &block) method eachautorequire (line 2025) | def self.eachautorequire method eachautobefore (line 2037) | def self.eachautobefore method eachautosubscribe (line 2049) | def self.eachautosubscribe method eachautonotify (line 2061) | def self.eachautonotify method autorelation (line 2076) | def autorelation(rel_type, rel_catalog = nil) method autorequire (line 2115) | def autorequire(rel_catalog = nil) method autobefore (line 2119) | def autobefore(rel_catalog = nil) method autosubscribe (line 2123) | def autosubscribe(rel_catalog = nil) method autonotify (line 2127) | def autonotify(rel_catalog = nil) method builddepends (line 2134) | def builddepends method tags= (line 2145) | def tags=(list) method initvars (line 2200) | def self.initvars method to_s (line 2232) | def self.to_s method validate (line 2251) | def self.validate(&block) method log (line 2281) | def log(msg) method initialize (line 2315) | def initialize(resource) method validate_resource (line 2357) | def validate_resource method set_sensitive_parameters (line 2389) | def set_sensitive_parameters(sensitive_parameters) method set_name (line 2425) | def set_name(hash) method set_parameters (line 2441) | def set_parameters(hash) method finish (line 2477) | def finish method name (line 2499) | def name method parent (line 2509) | def parent method ref (line 2524) | def ref method self_refresh? (line 2534) | def self_refresh? method purging (line 2543) | def purging method purging? (line 2551) | def purging? method title (line 2568) | def title method to_s (line 2585) | def to_s method to_resource (line 2592) | def to_resource method virtual? (line 2610) | def virtual?; !!@virtual; end method exported? (line 2612) | def exported?; !!@exported; end method appliable_to_device? (line 2618) | def appliable_to_device? method appliable_to_host? (line 2625) | def appliable_to_host? FILE: lib/puppet/type/component.rb function [] (line 17) | def [](param) function []= (line 27) | def []=(param, value) function initialize (line 36) | def initialize(*args) function pathbuilder (line 42) | def pathbuilder function ref (line 56) | def ref function title (line 61) | def title function title= (line 65) | def title=(str) function refresh (line 69) | def refresh function to_s (line 78) | def to_s function set_sensitive_parameters (line 90) | def set_sensitive_parameters(sensitive_parameters) FILE: lib/puppet/type/exec.rb type Puppet (line 3) | module Puppet function newcheck (line 75) | def self.newcheck(name, options = {}, &block) function checks (line 82) | def self.checks function event_name (line 90) | def event_name function change_to_s (line 121) | def change_to_s(currentvalue, newvalue) function retrieve (line 126) | def retrieve function sync (line 139) | def sync function value= (line 229) | def value=(*values) function check (line 414) | def check(value) function check (line 452) | def check(value) function check (line 502) | def check(value) function check (line 565) | def check(value) function instances (line 650) | def self.instances function check_all_attributes (line 657) | def check_all_attributes(refreshing = false) function output (line 681) | def output function refresh (line 690) | def refresh function current_username (line 701) | def current_username function set_sensitive_parameters (line 707) | def set_sensitive_parameters(sensitive_parameters) FILE: lib/puppet/type/file.rb function title_patterns (line 45) | def self.title_patterns function [] (line 461) | def self.[](path) function instances (line 467) | def self.instances function asuser (line 472) | def asuser function bucket (line 487) | def bucket function default_bucket (line 510) | def default_bucket function exist? (line 516) | def exist? function present? (line 520) | def present?(current_values) function finish (line 526) | def finish function eval_generate (line 533) | def eval_generate function ancestors (line 539) | def ancestors function flush (line 545) | def flush function initialize (line 553) | def initialize(hash) function mark_children_for_purging (line 573) | def mark_children_for_purging(children) function newchild (line 583) | def newchild(path) function pathbuilder (line 608) | def pathbuilder function recurse (line 631) | def recurse function remove_less_specific_files (line 648) | def remove_less_specific_files(files) function remove_less_specific_files (line 659) | def self.remove_less_specific_files(files, parent_path, existing_files, ... function recurse? (line 676) | def recurse? function recurse_link (line 681) | def recurse_link(children) function recurse_local (line 700) | def recurse_local function recurse_remote (line 712) | def recurse_remote(children) function recurse_remote_metadata (line 728) | def recurse_remote_metadata function perform_recursion (line 772) | def perform_recursion(path) function remove_existing (line 791) | def remove_existing(should) function retrieve (line 822) | def retrieve function setchecksum (line 851) | def setchecksum(sum = nil) function should_be_file? (line 867) | def should_be_file? function stat (line 895) | def stat function to_resource (line 920) | def to_resource function write (line 929) | def write(property = nil) function set_sensitive_parameters (line 982) | def set_sensitive_parameters(sensitive_parameters) function read_current_type (line 1011) | def read_current_type function can_backup? (line 1021) | def can_backup?(type) function remove_directory (line 1033) | def remove_directory(wanted_type) function remove_file (line 1047) | def remove_file(current_type, wanted_type) function stat_needed (line 1054) | def stat_needed function backup_existing (line 1062) | def backup_existing function fail_if_checksum_is_wrong (line 1076) | def fail_if_checksum_is_wrong(property, path, content_checksum) function desired_checksum (line 1085) | def desired_checksum(property, path) function write_temporary_file? (line 1104) | def write_temporary_file? function property_fix (line 1112) | def property_fix FILE: lib/puppet/type/file/checksum.rb function sum (line 28) | def sum(content) function sum_file (line 34) | def sum_file(path) function sum_stream (line 40) | def sum_stream(&block) function digest_algorithm (line 51) | def digest_algorithm FILE: lib/puppet/type/file/checksum_value.rb type Puppet (line 6) | module Puppet function insync? (line 16) | def insync?(is) function property_matches? (line 26) | def property_matches?(current, desired) function retrieve (line 32) | def retrieve function sync (line 46) | def sync FILE: lib/puppet/type/file/content.rb type Puppet (line 10) | module Puppet function change_to_s (line 74) | def change_to_s(currentvalue, newvalue) function length (line 90) | def length function content (line 94) | def content function insync? (line 101) | def insync?(is) function property_matches? (line 111) | def property_matches?(current, desired) function retrieve (line 125) | def retrieve function should= (line 130) | def should=(value) function sync (line 138) | def sync function write (line 142) | def write(file) function each_chunk_from (line 155) | def each_chunk_from function content_is_really_a_checksum? (line 165) | def content_is_really_a_checksum? function read_file_from_filebucket (line 169) | def read_file_from_filebucket FILE: lib/puppet/type/file/ctime.rb type Puppet (line 3) | module Puppet function retrieve (line 9) | def retrieve FILE: lib/puppet/type/file/data_sync.rb type Puppet (line 8) | module Puppet type DataSync (line 9) | module DataSync function write_temporarily (line 13) | def write_temporarily(param) function checksum_insync? (line 26) | def checksum_insync?(param, is, has_contents, &block) function show_diff? (line 58) | def show_diff?(has_changes) function date_matches? (line 62) | def date_matches?(checksum_type, current, desired) function retrieve_checksum (line 80) | def retrieve_checksum(resource) function contents_sync (line 95) | def contents_sync(param) FILE: lib/puppet/type/file/ensure.rb type Puppet (line 3) | module Puppet function change_to_s (line 124) | def change_to_s(currentvalue, newvalue) function check (line 148) | def check function insync? (line 162) | def insync?(currentvalue) function retrieve (line 174) | def retrieve function sync (line 185) | def sync FILE: lib/puppet/type/file/group.rb type Puppet (line 5) | module Puppet function insync? (line 23) | def insync?(current) function is_to_s (line 42) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName function should_to_s (line 46) | def should_to_s(newvalue) FILE: lib/puppet/type/file/mode.rb type Puppet (line 7) | module Puppet function desired_mode_from_current (line 103) | def desired_mode_from_current(desired, current) function dirmask (line 111) | def dirmask(value) function insync? (line 125) | def insync?(currentvalue) function property_matches? (line 141) | def property_matches?(current, desired) function retrieve (line 154) | def retrieve function sync (line 165) | def sync function change_to_s (line 170) | def change_to_s(old_value, desired) function should_to_s (line 178) | def should_to_s(should_value) function is_to_s (line 182) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName FILE: lib/puppet/type/file/mtime.rb type Puppet (line 3) | module Puppet function retrieve (line 8) | def retrieve FILE: lib/puppet/type/file/owner.rb type Puppet (line 3) | module Puppet function insync? (line 18) | def insync?(current) function is_to_s (line 44) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName function should_to_s (line 48) | def should_to_s(newvalue) FILE: lib/puppet/type/file/selcontext.rb type Puppet (line 24) | module Puppet class SELFileContext (line 27) | class SELFileContext < Puppet::Property method retrieve (line 30) | def retrieve method retrieve_default_context (line 42) | def retrieve_default_context(property) method insync? (line 58) | def insync?(value) method unsafe_munge (line 70) | def unsafe_munge(should) method sync (line 82) | def sync FILE: lib/puppet/type/file/source.rb type Puppet (line 9) | module Puppet function normalize (line 126) | def self.normalize(source) function change_to_s (line 130) | def change_to_s(currentvalue, newvalue) function checksum (line 139) | def checksum function copy_source_values (line 144) | def copy_source_values function metadata (line 185) | def metadata function local? (line 212) | def local? function full_path (line 216) | def full_path function server? (line 220) | def server? function server (line 224) | def server function port (line 228) | def port function uri (line 232) | def uri function write (line 236) | def write(file) function scheme (line 247) | def scheme function found? (line 251) | def found? function copy_source_value (line 255) | def copy_source_value(metadata_method) function each_chunk_from (line 274) | def each_chunk_from(&block) function chunk_file_from_disk (line 284) | def chunk_file_from_disk(local_path) function get_from_content_uri_source (line 292) | def get_from_content_uri_source(url, &block) function get_from_source_uri_source (line 304) | def get_from_source_uri_source(url, &block) function get_from_http_source (line 315) | def get_from_http_source(url, &block) function chunk_file_from_source (line 324) | def chunk_file_from_source(&block) function handle_response_error (line 342) | def handle_response_error(response) FILE: lib/puppet/type/file/target.rb type Puppet (line 3) | module Puppet function mklink (line 36) | def mklink function insync? (line 63) | def insync?(currentvalue) function retrieve (line 73) | def retrieve FILE: lib/puppet/type/file/type.rb type Puppet (line 3) | module Puppet function retrieve (line 8) | def retrieve FILE: lib/puppet/type/filebucket.rb type Puppet (line 3) | module Puppet function mkdefaultbucket (line 87) | def self.mkdefaultbucket function bucket (line 91) | def bucket function mkbucket (line 98) | def mkbucket FILE: lib/puppet/type/group.rb type Puppet (line 7) | module Puppet function retrieve (line 54) | def retrieve function sync (line 58) | def sync function change_to_s (line 89) | def change_to_s(currentvalue, newvalue) function insync? (line 97) | def insync?(current) function is_to_s (line 105) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName function should_to_s (line 116) | def should_to_s(newvalue) function actual_should (line 123) | def actual_should(currentvalue, newvalue) function munge_members_value (line 136) | def munge_members_value(value) function membership (line 188) | def membership function delimiter (line 192) | def delimiter function exists? (line 234) | def exists? FILE: lib/puppet/type/notify.rb type Puppet (line 6) | module Puppet function sync (line 14) | def sync function retrieve (line 25) | def retrieve function insync? (line 29) | def insync?(is) FILE: lib/puppet/type/package.rb type Puppet (line 12) | module Puppet function insync? (line 154) | def insync?(is) function retrieve (line 213) | def retrieve function should_to_s (line 218) | def should_to_s(newvalue = @should) function change_to_s (line 226) | def change_to_s(currentvalue, newvalue) function parameters_to_include (line 285) | def self.parameters_to_include function title_patterns (line 344) | def self.title_patterns function insync? (line 387) | def insync?(is) function should_to_s (line 391) | def should_to_s(newvalue) function is_to_s (line 399) | def is_to_s(currentvalue) # rubocop:disable Naming/PredicateName function change_to_s (line 407) | def change_to_s(currentvalue, newvalue) function clear (line 614) | def clear function exists? (line 623) | def exists? function present? (line 627) | def present?(current_values) function refresh (line 654) | def refresh function insync? (line 688) | def insync?(is) function should (line 692) | def should function retrieve (line 696) | def retrieve function sync (line 700) | def sync FILE: lib/puppet/type/resources.rb function check (line 99) | def check(resource) function able_to_ensure_absent? (line 109) | def able_to_ensure_absent?(resource) function generate (line 118) | def generate function resource_type (line 132) | def resource_type function user_check (line 145) | def user_check(resource) function system_users (line 165) | def system_users function system_users_max_uid (line 169) | def self.system_users_max_uid function reset_system_users_max_uid! (line 189) | def self.reset_system_users_max_uid! FILE: lib/puppet/type/schedule.rb type Puppet (line 3) | module Puppet function weekday_match? (line 144) | def weekday_match?(day) function match? (line 152) | def match?(previous, now) function match? (line 250) | def match?(previous, now) function match? (line 303) | def match?(previous, now) function weekday_integer? (line 342) | def weekday_integer?(value) function weekday_string? (line 346) | def weekday_string?(value) function match? (line 378) | def match?(previous, now) function instances (line 391) | def self.instances function mkdefaultschedules (line 395) | def self.mkdefaultschedules function match? (line 422) | def match?(previous = nil, now = nil) FILE: lib/puppet/type/service.rb type Puppet (line 9) | module Puppet function retrieve (line 86) | def retrieve function insync? (line 94) | def insync?(current) function retrieve (line 116) | def retrieve function sync (line 120) | def sync function insync? (line 142) | def insync?(current) function refresh (line 291) | def refresh function needs_ensure_retrieved (line 300) | def self.needs_ensure_retrieved FILE: lib/puppet/type/tidy.rb function tidy? (line 112) | def tidy?(path, stat) function convert (line 141) | def convert(unit, multi) function tidy? (line 150) | def tidy?(path, stat) function convert (line 181) | def convert(unit, multi) function tidy? (line 192) | def tidy?(path, stat) function instances (line 232) | def self.instances function depthfirst? (line 236) | def depthfirst? function initialize (line 240) | def initialize(hash) function mkfile (line 248) | def mkfile(path) function retrieve (line 261) | def retrieve function properties (line 272) | def properties function generate (line 276) | def generate function matches? (line 328) | def matches?(path) function tidy? (line 342) | def tidy?(path) function stat (line 372) | def stat(path) FILE: lib/puppet/type/user.rb type Puppet (line 9) | module Puppet function retrieve (line 93) | def retrieve function sync (line 105) | def sync function insync? (line 162) | def insync?(is) function sync (line 172) | def sync function insync? (line 191) | def insync?(is) function change_to_s (line 204) | def change_to_s(currentvalue, newvalue) function change_to_s (line 353) | def change_to_s(currentvalue, newvalue) function retrieve (line 367) | def retrieve function insync? (line 377) | def insync?(current) function exists? (line 513) | def exists? function membership (line 521) | def membership function membership (line 560) | def membership function membership (line 586) | def membership function membership (line 611) | def membership function membership (line 653) | def membership function delimiter (line 657) | def delimiter function generate (line 702) | def generate function homedir (line 772) | def homedir function authorized_keys_path (line 779) | def authorized_keys_path(entry) function find_unmanaged_keys (line 811) | def find_unmanaged_keys function unknown_keys_in_file (line 830) | def unknown_keys_in_file(keyfile) FILE: lib/puppet/type/whit.rb function to_s (line 26) | def to_s function refresh (line 31) | def refresh FILE: lib/puppet/util.rb type Puppet (line 18) | module Puppet type Util (line 19) | module Util function default_env (line 32) | def default_env function create_erb (line 39) | def create_erb(content) function get_env (line 46) | def get_env(name, mode = default_env) function get_environment (line 53) | def get_environment(mode = default_env) function clear_environment (line 60) | def clear_environment(mode = default_env) function set_env (line 67) | def set_env(name, value = nil, mode = default_env) function merge_environment (line 74) | def merge_environment(env_hash, mode = default_env) function withenv (line 84) | def withenv(hash, mode = :posix) function withumask (line 96) | def self.withumask(mask) function chuser (line 107) | def self.chuser function logmethods (line 136) | def self.logmethods(klass, useself = true) function benchmark (line 167) | def benchmark(*args) function which (line 207) | def which(bin) function absolute_path? (line 253) | def absolute_path?(path, platform = nil) function path_to_uri (line 281) | def path_to_uri(path) function uri_to_path (line 314) | def uri_to_path(uri) function uri_query_encode (line 357) | def uri_query_encode(query_string) function uri_encode (line 407) | def uri_encode(path, opts = { :allow_fragment => false }) function rfc2396_escape (line 452) | def rfc2396_escape(str) function uri_unescape (line 463) | def uri_unescape(str) function safe_posix_fork (line 470) | def safe_posix_fork(stdin = $stdin, stdout = $stdout, stderr = $stde... function symbolizehash (line 505) | def symbolizehash(hash) function thinmark (line 516) | def thinmark function pretty_backtrace (line 528) | def self.pretty_backtrace(backtrace = caller(1), puppetstack = []) function format_backtrace_array (line 536) | def self.format_backtrace_array(primary_stack, puppetstack = []) function resolve_stackframe (line 550) | def self.resolve_stackframe(frame) function format_puppetstack_frame (line 564) | def self.format_puppetstack_frame(file_and_lineno) function replace_file (line 594) | def replace_file(file, default_mode, staging_location: nil, validate... function exit_on_fail (line 705) | def exit_on_fail(message, code = 1) function deterministic_rand (line 724) | def deterministic_rand(seed, max) function deterministic_rand_int (line 729) | def deterministic_rand_int(seed, max) function skip_external_facts (line 736) | def skip_external_facts FILE: lib/puppet/util/at_fork.rb type Puppet::Util::AtFork (line 16) | module Puppet::Util::AtFork function get_handler (line 34) | def self.get_handler FILE: lib/puppet/util/at_fork/noop.rb class Puppet::Util::AtFork::Noop (line 4) | class Puppet::Util::AtFork::Noop method new (line 6) | def new method prepare (line 11) | def prepare method parent (line 14) | def parent method child (line 17) | def child FILE: lib/puppet/util/at_fork/solaris.rb class Puppet::Util::AtFork::Solaris (line 21) | class Puppet::Util::AtFork::Solaris method raise_if_error (line 58) | def raise_if_error(&block) method activate_new_contract_template (line 65) | def activate_new_contract_template method deactivate_contract_template (line 87) | def deactivate_contract_template(parent) method get_latest_child_contract_id (line 108) | def get_latest_child_contract_id method abandon_latest_child_contract (line 127) | def abandon_latest_child_contract method prepare (line 146) | def prepare method parent (line 150) | def parent method child (line 155) | def child FILE: lib/puppet/util/autoload.rb class Puppet::Util::ModuleDirectoriesAdapter (line 13) | class Puppet::Util::ModuleDirectoriesAdapter < Puppet::Pops::Adaptable::... method create_adapter (line 16) | def self.create_adapter(env) class Puppet::Util::Autoload (line 26) | class Puppet::Util::Autoload method gem_source (line 35) | def gem_source method loaded? (line 44) | def loaded?(path) method mark_loaded (line 53) | def mark_loaded(name, file) method changed? (line 61) | def changed?(name, env) method load_file (line 77) | def load_file(name, env) method loadall (line 94) | def loadall(path, env) method reload_changed (line 102) | def reload_changed(env) method get_file (line 113) | def get_file(name, env) method files_to_load (line 119) | def files_to_load(path, env) method files_in_dir (line 124) | def files_in_dir(dir, path) method module_directories (line 132) | def module_directories(env) method gem_directories (line 139) | def gem_directories method search_directories (line 144) | def search_directories(env) method cleanpath (line 173) | def cleanpath(path) method initialize (line 180) | def initialize(obj, path) method load (line 187) | def load(name, env) method loadall (line 201) | def loadall(env) method loaded? (line 205) | def loaded?(name) method changed? (line 210) | def changed?(name, env) method files_to_load (line 214) | def files_to_load(env) method expand (line 218) | def expand(name) FILE: lib/puppet/util/backups.rb type Puppet::Util::Backups (line 5) | module Puppet::Util::Backups function perform_backup (line 7) | def perform_backup(file = nil) function perform_backup_with_bucket (line 21) | def perform_backup_with_bucket(fileobj) function perform_backup_with_backuplocal (line 36) | def perform_backup_with_backuplocal(fileobj, backup) function remove_backup (line 55) | def remove_backup(newfile) function backup_file_with_filebucket (line 83) | def backup_file_with_filebucket(f) FILE: lib/puppet/util/character_encoding.rb type Puppet::Util::CharacterEncoding (line 5) | module Puppet::Util::CharacterEncoding function convert_to_utf_8 (line 18) | def convert_to_utf_8(string) function override_encoding_to_utf_8 (line 67) | def override_encoding_to_utf_8(string) FILE: lib/puppet/util/checksums.rb type Puppet::Util::Checksums (line 9) | module Puppet::Util::Checksums function known_checksum_types (line 25) | def known_checksum_types function valid_checksum? (line 29) | def valid_checksum?(type, value) class FakeChecksum (line 35) | class FakeChecksum method << (line 36) | def <<(*args) function checksum? (line 42) | def checksum?(string) function sumdata (line 48) | def sumdata(checksum) function sumtype (line 53) | def sumtype(checksum) function sha256 (line 58) | def sha256(content) function sha256? (line 63) | def sha256?(string) function sha256_file (line 67) | def sha256_file(filename, lite = false) function sha256_stream (line 74) | def sha256_stream(lite = false, &block) function sha256_hex_length (line 80) | def sha256_hex_length function sha256lite (line 84) | def sha256lite(content) function sha256lite? (line 88) | def sha256lite?(string) function sha256lite_file (line 92) | def sha256lite_file(filename) function sha256lite_stream (line 96) | def sha256lite_stream(&block) function sha256lite_hex_length (line 100) | def sha256lite_hex_length function sha384 (line 105) | def sha384(content) function sha384? (line 110) | def sha384?(string) function sha384_file (line 114) | def sha384_file(filename, lite = false) function sha384_stream (line 121) | def sha384_stream(lite = false, &block) function sha384_hex_length (line 127) | def sha384_hex_length function sha512 (line 132) | def sha512(content) function sha512? (line 137) | def sha512?(string) function sha512_file (line 141) | def sha512_file(filename, lite = false) function sha512_stream (line 148) | def sha512_stream(lite = false, &block) function sha512_hex_length (line 154) | def sha512_hex_length function sha224 (line 159) | def sha224(content) function sha224? (line 164) | def sha224?(string) function sha224_file (line 168) | def sha224_file(filename, lite = false) function sha224_stream (line 175) | def sha224_stream(lite = false, &block) function sha224_hex_length (line 181) | def sha224_hex_length function md5 (line 186) | def md5(content) function md5? (line 190) | def md5?(string) function md5_file (line 195) | def md5_file(filename, lite = false) function md5_stream (line 200) | def md5_stream(lite = false, &block) function md5_hex_length (line 205) | def md5_hex_length function md5lite (line 210) | def md5lite(content) function md5lite? (line 214) | def md5lite?(string) function md5lite_file (line 219) | def md5lite_file(filename) function md5lite_stream (line 223) | def md5lite_stream(&block) function md5lite_hex_length (line 227) | def md5lite_hex_length function mtime (line 231) | def mtime(content) function mtime? (line 235) | def mtime?(string) function mtime_file (line 244) | def mtime_file(filename) function mtime_stream (line 250) | def mtime_stream(&block) function sha1 (line 257) | def sha1(content) function sha1? (line 261) | def sha1?(string) function sha1_file (line 266) | def sha1_file(filename, lite = false) function sha1_stream (line 271) | def sha1_stream(lite = false, &block) function sha1_hex_length (line 276) | def sha1_hex_length function sha1lite (line 281) | def sha1lite(content) function sha1lite? (line 285) | def sha1lite?(string) function sha1lite_file (line 290) | def sha1lite_file(filename) function sha1lite_stream (line 294) | def sha1lite_stream(&block) function sha1lite_hex_length (line 298) | def sha1lite_hex_length function ctime (line 302) | def ctime(content) function ctime? (line 306) | def ctime?(string) function ctime_file (line 315) | def ctime_file(filename) function ctime_stream (line 319) | def ctime_stream(&block) function none (line 323) | def none(content) function none? (line 327) | def none?(string) function none_file (line 332) | def none_file(filename) function none_stream (line 336) | def none_stream class DigestLite (line 342) | class DigestLite method initialize (line 343) | def initialize(digest, lite = false) method << (line 350) | def <<(str) function checksum_file (line 364) | def checksum_file(digest, filename, lite = false) function checksum_stream (line 376) | def checksum_stream(digest, block, lite = false) FILE: lib/puppet/util/classgen.rb type Puppet (line 3) | module Puppet class ConstantAlreadyDefined (line 4) | class ConstantAlreadyDefined < Error; end class SubclassAlreadyDefined (line 5) | class SubclassAlreadyDefined < Error; end type Puppet::Util::ClassGen (line 11) | module Puppet::Util::ClassGen function genclass (line 34) | def genclass(name, options = {}, &block) function genmodule (line 57) | def genmodule(name, options = {}, &block) function rmclass (line 67) | def rmclass(name, options) function genconst_string (line 89) | def genconst_string(name, options) function genthing (line 102) | def genthing(name, type, options, block) function handleclassconst (line 147) | def handleclassconst(klass, name, options) function initclass (line 167) | def initclass(klass, options) function name2const (line 193) | def name2const(name) function storeclass (line 199) | def storeclass(klass, klassname, options) FILE: lib/puppet/util/colors.rb type Puppet::Util::Colors (line 5) | module Puppet::Util::Colors function colorize (line 81) | def colorize(color, str) function console_color (line 92) | def console_color(color, str) function html_color (line 98) | def html_color(color, str) FILE: lib/puppet/util/command_line.rb type Puppet (line 21) | module Puppet type Util (line 22) | module Util class CommandLine (line 26) | class CommandLine method initialize (line 34) | def initialize(zero = $PROGRAM_NAME, argv = ARGV, stdin = STDIN) method subcommand_name (line 41) | def subcommand_name method args (line 53) | def args method execute (line 68) | def execute method external_subcommand (line 83) | def external_subcommand method find_subcommand (line 89) | def find_subcommand class ApplicationSubcommand (line 109) | class ApplicationSubcommand method initialize (line 110) | def initialize(subcommand_name, command_line) method run (line 115) | def run class ExternalSubcommand (line 150) | class ExternalSubcommand method initialize (line 151) | def initialize(path_to_subcommand, command_line) method run (line 156) | def run class NilSubcommand (line 162) | class NilSubcommand method initialize (line 165) | def initialize(command_line) method run (line 169) | def run class UnknownSubcommand (line 184) | class UnknownSubcommand < NilSubcommand method initialize (line 185) | def initialize(subcommand_name, command_line) method run (line 190) | def run FILE: lib/puppet/util/command_line/puppet_option_parser.rb type Puppet (line 5) | module Puppet type Util (line 6) | module Util class CommandLine (line 7) | class CommandLine class PuppetOptionError (line 8) | class PuppetOptionError < Puppet::Error class TrollopCommandlineError (line 11) | class TrollopCommandlineError < Puppet::Util::CommandLine::Trollop... class PuppetOptionParser (line 19) | class PuppetOptionParser method initialize (line 20) | def initialize(usage_msg = nil) method ignore_invalid_options= (line 37) | def ignore_invalid_options=(value) method on (line 41) | def on(*args, &block) method parse (line 72) | def parse(*args) method pass_only_last_value_on_to (line 82) | def pass_only_last_value_on_to(block) FILE: lib/puppet/util/command_line/trollop.rb type Puppet (line 17) | module Puppet type Util (line 18) | module Util class CommandLine (line 19) | class CommandLine type Trollop (line 20) | module Trollop class CommandlineError (line 25) | class CommandlineError < StandardError; end class HelpNeeded (line 29) | class HelpNeeded < StandardError; end class VersionNeeded (line 33) | class VersionNeeded < StandardError; end class Parser (line 50) | class Parser method initialize (line 93) | def initialize *a, &b method opt (line 148) | def opt name, desc = "", opts = {} method version (line 266) | def version s = nil; @version = s if s; @version end method banner (line 270) | def banner s; @order << [:text, s] end method depends (line 276) | def depends *syms method conflicts (line 282) | def conflicts *syms method stop_on (line 296) | def stop_on *words method stop_on_unknown (line 304) | def stop_on_unknown method parse (line 312) | def parse cmdline = ARGV method parse_date_parameter (line 473) | def parse_date_parameter param, arg # :nodoc: method educate (line 485) | def educate stream = $stdout method width (line 549) | def width # :nodoc: method wrap (line 565) | def wrap str, opts = {} # :nodoc: method die (line 574) | def die arg, msg method each_arg (line 587) | def each_arg args method parse_integer_parameter (line 658) | def parse_integer_parameter param, arg method parse_float_parameter (line 664) | def parse_float_parameter param, arg method parse_io_parameter (line 670) | def parse_io_parameter param, arg method collect_argument_parameters (line 683) | def collect_argument_parameters args, start_at method resolve_default_short_options (line 693) | def resolve_default_short_options method wrap_line (line 708) | def wrap_line str, opts = {} method cloaker (line 730) | def cloaker &b function options (line 772) | def options args = ARGV, *a, &b function with_standard_exception_handling (line 802) | def with_standard_exception_handling parser function die (line 834) | def die arg, msg = nil FILE: lib/puppet/util/constant_inflector.rb type Puppet (line 11) | module Puppet type Util (line 12) | module Util type ConstantInflector (line 13) | module ConstantInflector function file2constant (line 14) | def file2constant(file) function constant2file (line 19) | def constant2file(constant) FILE: lib/puppet/util/diff.rb type Puppet::Util::Diff (line 6) | module Puppet::Util::Diff function diff (line 10) | def diff(old, new) function lcs_diff (line 30) | def lcs_diff(data_old, data_new, format = :unified, context_lines = 3) function string_file_diff (line 72) | def string_file_diff(path, string) FILE: lib/puppet/util/docs.rb type Puppet::Util::Docs (line 4) | module Puppet::Util::Docs function desc (line 6) | def desc(str) function dochook (line 13) | def dochook(name, &block) function doc (line 22) | def doc function doctable (line 35) | def doctable(headers, data) function nodoc? (line 71) | def nodoc? function pad (line 76) | def pad(value, length) function markdown_header (line 82) | def markdown_header(name, level) function markdown_definitionlist (line 86) | def markdown_definitionlist(term, definition) function scrub (line 117) | def scrub(text) FILE: lib/puppet/util/errors.rb type Puppet::Util::Errors (line 6) | module Puppet::Util::Errors function devfail (line 12) | def devfail(msg) function adderrorcontext (line 24) | def adderrorcontext(error, other = nil) function error_location (line 44) | def self.error_location(file, line = nil, column = nil) function error_location_with_space (line 72) | def self.error_location_with_space(file, line = nil, column = nil) function error_location_with_unknowns (line 87) | def self.error_location_with_unknowns(file, line) function error_context (line 99) | def error_context function exceptwrap (line 114) | def exceptwrap(options = {}) function fail (line 149) | def fail(*args) FILE: lib/puppet/util/execution.rb type Puppet (line 6) | module Puppet class ExecutionFailure (line 12) | class ExecutionFailure < Puppet::Error type Puppet::Util::Execution (line 19) | module Puppet::Util::Execution class ProcessOutput (line 24) | class ProcessOutput < String method initialize (line 30) | def initialize(value, exitstatus) function execpipe (line 59) | def self.execpipe(command, failonfail = true) function exitstatus (line 94) | def self.exitstatus function execute (line 138) | def self.execute(command, options = NoOptionsSpecified) function ruby_path (line 338) | def self.ruby_path function execute_posix (line 353) | def self.execute_posix(command, options, stdin, stdout, stderr) function execute_windows (line 405) | def self.execute_windows(command, options, stdin, stdout, stderr) function wait_for_output (line 421) | def self.wait_for_output(stdout) FILE: lib/puppet/util/execution_stub.rb type Puppet::Util (line 3) | module Puppet::Util class ExecutionStub (line 4) | class ExecutionStub method set (line 12) | def set(&block) method reset (line 18) | def reset method current_value (line 23) | def current_value FILE: lib/puppet/util/feature.rb class Puppet::Util::Feature (line 6) | class Puppet::Util::Feature method add (line 44) | def add(name, options = {}, &block) method initialize (line 64) | def initialize(path) method load (line 70) | def load method method_missing (line 74) | def method_missing(method, *args) method test (line 86) | def test(name, options, &block) method load_library (line 109) | def load_library(lib, name) FILE: lib/puppet/util/file_watcher.rb class Puppet::Util::FileWatcher (line 3) | class Puppet::Util::FileWatcher method each (line 6) | def each(&blk) method initialize (line 10) | def initialize method changed? (line 14) | def changed? method watch (line 18) | def watch(filename) method watching? (line 24) | def watching?(filename) method clear (line 28) | def clear FILE: lib/puppet/util/fileparsing.rb type Puppet::Util::FileParsing (line 29) | module Puppet::Util::FileParsing class FileRecord (line 33) | class FileRecord method fields= (line 42) | def fields=(fields) method initialize (line 51) | def initialize(type, method join (line 105) | def join(details) method optional= (line 123) | def optional=(optional) method post_parse= (line 128) | def post_parse=(block) method pre_gen= (line 133) | def pre_gen=(block) method text? (line 138) | def text? method to_line= (line 142) | def to_line=(block) function clear_records (line 148) | def clear_records function fields (line 153) | def fields(type) function handle_text_line (line 163) | def handle_text_line(line, record) function handle_record_line (line 173) | def handle_record_line(line, record) function line_separator (line 237) | def line_separator function lines (line 244) | def lines(text) function parse (line 251) | def parse(text) function parse_line (line 267) | def parse_line(line) function record_line (line 301) | def record_line(name, options, &block) function records? (line 311) | def records? function text_line (line 316) | def text_line(name, options, &block) function to_file (line 326) | def to_file(records) function to_line (line 335) | def to_line(details) function trailing_separator (line 367) | def trailing_separator function valid_attr? (line 375) | def valid_attr?(type, attr) function new_line_type (line 388) | def new_line_type(record) function record_type (line 401) | def record_type(type) FILE: lib/puppet/util/filetype.rb class Puppet::Util::FileType (line 10) | class Puppet::Util::FileType class FileReadError (line 13) | class FileReadError < Puppet::Error; end method newfiletype (line 24) | def self.newfiletype(name, &block) method filetype (line 71) | def self.filetype(type) method bucket (line 76) | def bucket method initialize (line 80) | def initialize(path, default_mode = nil) method cronargs (line 90) | def cronargs method backup (line 102) | def backup method read (line 107) | def read method remove (line 118) | def remove method write (line 123) | def write(text) method clear (line 139) | def self.clear method initialize (line 143) | def initialize(path, default_mode = nil) method read (line 151) | def read method remove (line 157) | def remove method write (line 163) | def write(text) method initialize (line 177) | def initialize(user) method path= (line 181) | def path=(user) method read (line 194) | def read method remove (line 216) | def remove method write (line 231) | def write(text) method cmdbase (line 246) | def cmdbase method read (line 259) | def read method remove (line 281) | def remove method write (line 289) | def write(text) method read (line 310) | def read method remove (line 332) | def remove method write (line 340) | def write(text) FILE: lib/puppet/util/inifile.rb type Puppet::Util::IniConfig (line 16) | module Puppet::Util::IniConfig class Section (line 18) | class Section method initialize (line 22) | def initialize(name, file) method dirty? (line 35) | def dirty? method mark_dirty (line 39) | def mark_dirty method mark_clean (line 44) | def mark_clean method destroy? (line 49) | def destroy? method add_line (line 56) | def add_line(line) method []= (line 62) | def []=(key, value) method [] (line 74) | def [](key) method format (line 81) | def format method find_entry (line 100) | def find_entry(key) class PhysicalFile (line 108) | class PhysicalFile method initialize (line 128) | def initialize(file, options = {}) method read (line 137) | def read method parse (line 156) | def parse(text) method sections (line 201) | def sections method get_section (line 207) | def get_section(name) method format (line 211) | def format method store (line 225) | def store method add_section (line 240) | def add_section(name) method section_exists? (line 253) | def section_exists?(name) class FileCollection (line 264) | class FileCollection method initialize (line 267) | def initialize method read (line 273) | def read(file) method store (line 277) | def store method each_section (line 281) | def each_section(&block) method each_file (line 289) | def each_file(&block) method get_section (line 295) | def get_section(name) method include? (line 306) | def include?(name) method add_section (line 310) | def add_section(name, file) method get_physical_file (line 318) | def get_physical_file(file) method new_physical_file (line 323) | def new_physical_file(file) class IniParseError (line 332) | class IniParseError < Puppet::Error FILE: lib/puppet/util/instance_loader.rb type Puppet::Util::InstanceLoader (line 9) | module Puppet::Util::InstanceLoader function instance_loading? (line 13) | def instance_loading?(type) function instance_load (line 18) | def instance_load(type, path) function loaded_instances (line 35) | def loaded_instances(type) function instance_hash (line 40) | def instance_hash(type) function instance_loader (line 45) | def instance_loader(type) function loaded_instance (line 50) | def loaded_instance(type, name) FILE: lib/puppet/util/json.rb type Puppet::Util (line 3) | module Puppet::Util type Json (line 4) | module Json class ParseError (line 5) | class ParseError < StandardError method build (line 8) | def self.build(original_exception, data) function load_file_if_valid (line 35) | def self.load_file_if_valid(filename, options = {}) function load_file (line 43) | def self.load_file(filename, options = {}) function load (line 51) | def self.load(string, options = {}) function dump (line 82) | def self.dump(object, options = {}) FILE: lib/puppet/util/json_lockfile.rb class Puppet::Util::JsonLockfile (line 14) | class Puppet::Util::JsonLockfile < Puppet::Util::Lockfile method lock (line 25) | def lock(lock_data = nil) method lock_data (line 36) | def lock_data FILE: lib/puppet/util/ldap.rb type Puppet::Util::Ldap (line 3) | module Puppet::Util::Ldap FILE: lib/puppet/util/ldap/connection.rb class Puppet::Util::Ldap::Connection (line 5) | class Puppet::Util::Ldap::Connection method instance (line 11) | def self.instance method close (line 34) | def close method initialize (line 38) | def initialize(host, port, user: nil, password: nil, reset: nil, ssl: ... method name (line 50) | def name method reset? (line 55) | def reset? method start (line 60) | def start FILE: lib/puppet/util/ldap/generator.rb class Puppet::Util::Ldap::Generator (line 5) | class Puppet::Util::Ldap::Generator method from (line 7) | def from(source) method generate (line 13) | def generate(value = nil) method initialize (line 23) | def initialize(name) method name (line 27) | def name method source (line 31) | def source method with (line 40) | def with(&block) FILE: lib/puppet/util/ldap/manager.rb class Puppet::Util::Ldap::Manager (line 9) | class Puppet::Util::Ldap::Manager method and (line 13) | def and method at (line 18) | def at(location) method base (line 24) | def base method create (line 30) | def create(name, attributes) method connect (line 48) | def connect method delete (line 82) | def delete(name) method dn (line 87) | def dn(name) method entry2provider (line 92) | def entry2provider(entry) method filter (line 111) | def filter method find (line 117) | def find(name) method generates (line 129) | def generates(parameter) method generate (line 135) | def generate(values) method initialize (line 160) | def initialize method manages (line 166) | def manages(*classes) method maps (line 174) | def maps(attributes) method ldap_name (line 185) | def ldap_name(attribute) method modify (line 191) | def modify(name, mods) method named_by (line 196) | def named_by(attribute) method puppet_name (line 202) | def puppet_name(attribute) method search (line 207) | def search(sfilter = nil) method update (line 220) | def update(name, is, should) method valid? (line 269) | def valid? method ldap_convert (line 277) | def ldap_convert(attributes) FILE: lib/puppet/util/libuser.rb type Puppet::Util::Libuser (line 3) | module Puppet::Util::Libuser function getconf (line 4) | def self.getconf function getenv (line 8) | def self.getenv FILE: lib/puppet/util/limits.rb type Puppet::Util::Limits (line 5) | module Puppet::Util::Limits function setpriority (line 7) | def setpriority(priority) FILE: lib/puppet/util/lockfile.rb class Puppet::Util::Lockfile (line 11) | class Puppet::Util::Lockfile method initialize (line 14) | def initialize(file_path) method lock (line 27) | def lock(lock_data = nil) method unlock (line 36) | def unlock method locked? (line 45) | def locked? method lock_data (line 53) | def lock_data method file_locked? (line 62) | def file_locked? FILE: lib/puppet/util/log.rb class Puppet::Util::Log (line 11) | class Puppet::Util::Log method newdesttype (line 24) | def self.newdesttype(name, options = {}, &block) method close (line 54) | def Log.close(destination) method close_all (line 62) | def self.close_all method flush (line 71) | def Log.flush method autoflush= (line 77) | def Log.autoflush=(v) method create (line 85) | def Log.create(hash) method destinations (line 92) | def Log.destinations method eachlevel (line 97) | def Log.eachlevel method level (line 102) | def Log.level method level= (line 107) | def Log.level=(level) method levels (line 123) | def Log.levels method newdestination (line 128) | def Log.newdestination(dest) method with_destination (line 165) | def Log.with_destination(destination, &block) method coerce_string (line 178) | def Log.coerce_string(str) method newmessage (line 193) | def Log.newmessage(msg) method queuemessage (line 206) | def Log.queuemessage(msg) method flushqueue (line 210) | def Log.flushqueue method force_flushqueue (line 226) | def Log.force_flushqueue method sendlevel? (line 233) | def Log.sendlevel?(level) method reopen (line 238) | def Log.reopen method setup_default (line 258) | def self.setup_default method validlevel? (line 269) | def self.validlevel?(level) method from_data_hash (line 273) | def self.from_data_hash(data) method log_func (line 285) | def self.log_func(scope, level, vals) method initialize (line 306) | def initialize(args) method initialize_from_hash (line 329) | def initialize_from_hash(data) method to_hash (line 347) | def to_hash method to_data_hash (line 351) | def to_data_hash method to_structured_hash (line 363) | def to_structured_hash method message= (line 378) | def message=(msg) method level= (line 385) | def level=(level) method source= (line 400) | def source=(source) method to_report (line 411) | def to_report method to_s (line 415) | def to_s FILE: lib/puppet/util/log/destination.rb class Puppet::Util::Log::Destination (line 4) | class Puppet::Util::Log::Destination method initvars (line 9) | def self.initvars method match (line 14) | def self.match(obj) method match? (line 20) | def self.match?(obj) method name (line 33) | def name method sethandler (line 42) | def self.sethandler(&block) method setinit (line 47) | def self.setinit(&block) FILE: lib/puppet/util/log/destinations.rb function suitable? (line 4) | def self.suitable?(obj) function close (line 8) | def close function initialize (line 12) | def initialize function handle (line 29) | def handle(msg) function match? (line 49) | def self.match?(obj) function close (line 53) | def close function flush (line 60) | def flush function initialize (line 66) | def initialize(path) function handle (line 102) | def handle(msg) function format (line 119) | def format(msg) function handle (line 131) | def handle(msg) function initialize (line 141) | def initialize function handle (line 147) | def handle(msg) function initialize (line 174) | def initialize(report) function handle (line 178) | def handle(msg) type Puppet::Test (line 184) | module Puppet::Test class LogCollector (line 185) | class LogCollector method initialize (line 186) | def initialize(logs) method << (line 190) | def <<(value) function initialize (line 199) | def initialize(messages) function handle (line 203) | def handle(msg) function suitable? (line 216) | def self.suitable?(obj) function initialize (line 220) | def initialize function to_native (line 224) | def to_native(level) function handle (line 228) | def handle(msg) function close (line 247) | def close FILE: lib/puppet/util/logging.rb type Puppet::Util (line 7) | module Puppet::Util type Logging (line 8) | module Logging function send_log (line 9) | def send_log(level, message) function debug (line 34) | def debug(*args) function log_exception (line 51) | def log_exception(exception, message = :default, options = {}) function build_exception_trace (line 76) | def build_exception_trace(exception, combined_trace = true, puppet_t... function format_exception (line 92) | def format_exception(exception, message = :default, combined_trace =... function format_backtrace (line 113) | def format_backtrace(exception, combined_trace, puppet_trace) function log_and_raise (line 125) | def log_and_raise(exception, message) class DeprecationWarning (line 130) | class DeprecationWarning < Exception; end function deprecation_warning (line 143) | def deprecation_warning(message, key = nil) function puppet_deprecation_warning (line 158) | def puppet_deprecation_warning(message, options = {}) function warn_once (line 181) | def warn_once(kind, key, message, file = nil, line = nil, level = :w... function get_deprecation_offender (line 204) | def get_deprecation_offender function clear_deprecation_warnings (line 217) | def clear_deprecation_warnings function log_deprecations_to_file (line 230) | def log_deprecations_to_file(deprecations_file, pattern = nil) function setup_facter_logging! (line 258) | def self.setup_facter_logging! function issue_deprecation_warning (line 265) | def issue_deprecation_warning(message, key, file, line, use_caller) function is_resource? (line 284) | def is_resource? function is_resource_parameter? (line 288) | def is_resource_parameter? function log_metadata (line 292) | def log_metadata function log_source (line 298) | def log_source FILE: lib/puppet/util/metaid.rb class Object (line 3) | class Object method singleton_class (line 5) | def singleton_class; class << self; self; end; end method meta_eval (line 6) | def meta_eval(&blk); singleton_class.instance_eval(&blk); end method meta_def (line 9) | def meta_def(name, &blk) method meta_undef (line 14) | def meta_undef(name, &blk) method class_def (line 19) | def class_def(name, &blk) FILE: lib/puppet/util/metric.rb class Puppet::Util::Metric (line 8) | class Puppet::Util::Metric method from_data_hash (line 15) | def self.from_data_hash(data) method initialize_from_hash (line 21) | def initialize_from_hash(data) method to_data_hash (line 27) | def to_data_hash method [] (line 36) | def [](name) method initialize (line 45) | def initialize(name, label = nil) method newvalue (line 53) | def newvalue(name, value, label = nil) method values (line 60) | def values method labelize (line 65) | def self.labelize(name) FILE: lib/puppet/util/monkey_patches.rb type Puppet::Util::MonkeyPatches (line 5) | module Puppet::Util::MonkeyPatches type RDoc (line 16) | module RDoc function caller (line 17) | def self.caller(skip = nil) class Object (line 25) | class Object method daemonize (line 29) | def daemonize class Dir (line 35) | class Dir method exists? (line 36) | def self.exists?(file_name) class File (line 44) | class File method exists? (line 45) | def self.exists?(file_name) class OpenSSL::SSL::SSLContext (line 54) | class OpenSSL::SSL::SSLContext method initialize (line 64) | def initialize(*args) class OpenSSL::X509::Store (line 76) | class OpenSSL::X509::Store method set_default_paths (line 79) | def set_default_paths type OpenSSL::X509 (line 99) | module OpenSSL::X509 class OpenSSL::X509::Name (line 106) | class OpenSSL::X509::Name method to_utf8 (line 107) | def to_utf8 FILE: lib/puppet/util/multi_match.rb type Puppet::Util (line 18) | module Puppet::Util class MultiMatch (line 19) | class MultiMatch method initialize (line 22) | def initialize(*values) method === (line 26) | def ===(other) class MatchNotNil (line 45) | class MatchNotNil method === (line 46) | def ===(v) FILE: lib/puppet/util/network_device.rb class Puppet::Util::NetworkDevice (line 3) | class Puppet::Util::NetworkDevice method init (line 8) | def self.init(device) method teardown (line 16) | def self.teardown FILE: lib/puppet/util/network_device/base.rb class Puppet::Util::NetworkDevice::Base (line 8) | class Puppet::Util::NetworkDevice::Base method initialize (line 11) | def initialize(url, options = {}) FILE: lib/puppet/util/network_device/config.rb class Puppet::Util::NetworkDevice::Config (line 7) | class Puppet::Util::NetworkDevice::Config method main (line 8) | def self.main method devices (line 12) | def self.devices method exists? (line 18) | def exists? method initialize (line 22) | def initialize method read (line 31) | def read(force = false) method parse (line 39) | def parse method parse_directive (line 87) | def parse_directive(device, var, value, count) FILE: lib/puppet/util/network_device/transport.rb type Puppet::Util::NetworkDevice::Transport (line 6) | module Puppet::Util::NetworkDevice::Transport FILE: lib/puppet/util/network_device/transport/base.rb class Puppet::Util::NetworkDevice::Transport::Base (line 6) | class Puppet::Util::NetworkDevice::Transport::Base method initialize (line 10) | def initialize method send (line 14) | def send(cmd) method expect (line 17) | def expect(prompt) method command (line 20) | def command(cmd, options = {}) FILE: lib/puppet/util/package.rb type Puppet::Util::Package (line 3) | module Puppet::Util::Package function versioncmp (line 4) | def versioncmp(version_a, version_b, ignore_trailing_zeroes = false) function normalize (line 36) | def self.normalize(version) FILE: lib/puppet/util/package/version/debian.rb type Puppet::Util::Package::Version (line 3) | module Puppet::Util::Package::Version class Debian (line 4) | class Debian < Numeric class ValidationFailure (line 17) | class ValidationFailure < ArgumentError; end method parse (line 19) | def self.parse(ver) method to_s (line 29) | def to_s method eql? (line 37) | def eql?(other) method <=> (line 45) | def <=>(other) method initialize (line 62) | def initialize(epoch, upstream_version, debian_revision) method compare_upstream_version (line 68) | def compare_upstream_version(other) method compare_debian_revision (line 74) | def compare_debian_revision(other) method compare_debian_versions (line 80) | def compare_debian_versions(mine, yours) method match_digits (line 161) | def match_digits(a) method match_non_letters (line 165) | def match_non_letters(a) method match_tildes (line 169) | def match_tildes(a) method match_letters (line 173) | def match_letters(a) FILE: lib/puppet/util/package/version/gem.rb type Puppet::Util::Package::Version (line 3) | module Puppet::Util::Package::Version class Gem (line 4) | class Gem < ::Gem::Version method parse (line 5) | def self.parse(version) class ValidationFailure (line 12) | class ValidationFailure < ArgumentError method initialize (line 13) | def initialize(version) FILE: lib/puppet/util/package/version/pip.rb type Puppet::Util::Package::Version (line 3) | module Puppet::Util::Package::Version class Pip (line 4) | class Pip method parse (line 38) | def self.parse(version) method compare (line 47) | def self.compare(version_a, version_b) method to_s (line 54) | def to_s method eql? (line 68) | def eql?(other) method <=> (line 73) | def <=>(other) method initialize (line 83) | def initialize(matched) method parse_letter_version (line 94) | def parse_letter_version(letter, number) method parse_local_version (line 115) | def parse_local_version(local_version) method compose_key (line 119) | def compose_key(epoch, release, pre, post, dev, local) method compare (line 147) | def compare(this, other) class ValidationFailure (line 167) | class ValidationFailure < ArgumentError method initialize (line 168) | def initialize(version) FILE: lib/puppet/util/package/version/range.rb type Puppet::Util::Package::Version (line 10) | module Puppet::Util::Package::Version class Range (line 11) | class Range class ValidationFailure (line 12) | class ValidationFailure < ArgumentError; end method parse (line 32) | def self.parse(range_string, version_class) FILE: lib/puppet/util/package/version/range/eq.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class Eq (line 7) | class Eq < Simple method to_s (line 8) | def to_s method include? (line 12) | def include?(version) FILE: lib/puppet/util/package/version/range/gt.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class Gt (line 7) | class Gt < Simple method to_s (line 8) | def to_s method include? (line 12) | def include?(version) FILE: lib/puppet/util/package/version/range/gt_eq.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class GtEq (line 7) | class GtEq < Simple method to_s (line 8) | def to_s method include? (line 12) | def include?(version) FILE: lib/puppet/util/package/version/range/lt.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class Lt (line 7) | class Lt < Simple method to_s (line 8) | def to_s method include? (line 12) | def include?(version) FILE: lib/puppet/util/package/version/range/lt_eq.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class LtEq (line 7) | class LtEq < Simple method to_s (line 8) | def to_s method include? (line 12) | def include?(version) FILE: lib/puppet/util/package/version/range/min_max.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class MinMax (line 7) | class MinMax method initialize (line 8) | def initialize(min, max) method to_s (line 13) | def to_s method to_gem_version (line 17) | def to_gem_version method include? (line 21) | def include?(version) FILE: lib/puppet/util/package/version/range/simple.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Range (line 6) | class Range class Simple (line 7) | class Simple method initialize (line 8) | def initialize(version) FILE: lib/puppet/util/package/version/rpm.rb type Puppet::Util::Package::Version (line 5) | module Puppet::Util::Package::Version class Rpm (line 6) | class Rpm < Numeric class ValidationFailure (line 12) | class ValidationFailure < ArgumentError; end method parse (line 16) | def self.parse(ver) method to_s (line 23) | def to_s method eql? (line 32) | def eql?(other) method <=> (line 41) | def <=>(other) method rpm_compare_evr (line 55) | def rpm_compare_evr(a, b) method initialize (line 68) | def initialize(epoch, version, release, arch) FILE: lib/puppet/util/pidlock.rb class Puppet::Util::Pidlock (line 6) | class Puppet::Util::Pidlock method initialize (line 7) | def initialize(lockfile) method locked? (line 11) | def locked? method mine? (line 16) | def mine? method lock (line 20) | def lock method unlock (line 26) | def unlock method lock_pid (line 34) | def lock_pid method file_path (line 43) | def file_path method ps_argument_for_current_kernel (line 49) | def ps_argument_for_current_kernel method clear_if_stale (line 60) | def clear_if_stale FILE: lib/puppet/util/platform.rb type Puppet (line 3) | module Puppet type Util (line 4) | module Util type Platform (line 5) | module Platform function windows? (line 9) | def windows? function solaris? (line 19) | def solaris? function default_paths (line 24) | def default_paths function fips_enabled? (line 46) | def fips_enabled? function jruby? (line 51) | def self.jruby? function jruby_fips? (line 55) | def jruby_fips? FILE: lib/puppet/util/plist.rb type Puppet::Util::Plist (line 6) | module Puppet::Util::Plist class FormatError (line 7) | class FormatError < RuntimeError; end function binary_plist_magic_number (line 16) | def binary_plist_magic_number function plist_xml_doctype (line 25) | def plist_xml_doctype function read_plist_file (line 31) | def read_plist_file(file_path) function parse_plist (line 58) | def parse_plist(plist_data, file_path = '') function open_file_with_args (line 96) | def open_file_with_args(file, args) function new_cfpropertylist (line 104) | def new_cfpropertylist(plist_opts) function convert_cfpropertylist_to_native_types (line 112) | def convert_cfpropertylist_to_native_types(plist_obj) function string_to_blob (line 120) | def string_to_blob(str) function read_file_with_offset (line 128) | def read_file_with_offset(file_path, offset) function to_format (line 132) | def to_format(format) function write_plist_file (line 147) | def write_plist_file(plist, file_path, format = :xml) function dump_plist (line 155) | def dump_plist(plist_data, format = :xml) FILE: lib/puppet/util/posix.rb type Puppet::Util::POSIX (line 4) | module Puppet::Util::POSIX function groups_of (line 15) | def groups_of(user) function get_groups_list (line 38) | def get_groups_list(user) function get_posix_field (line 76) | def get_posix_field(space, field, id) function search_posix_field (line 100) | def search_posix_field(type, field, id) function idfield (line 129) | def idfield(space) function methodbyid (line 139) | def methodbyid(space) function methodbyname (line 149) | def methodbyname(space) function gid (line 159) | def gid(group) function uid (line 164) | def uid(user) function get_posix_value (line 172) | def get_posix_value(location, id_field, field) FILE: lib/puppet/util/profiler.rb type Puppet::Util::Profiler (line 8) | module Puppet::Util::Profiler function clear (line 18) | def self.clear function current (line 25) | def self.current function add_profiler (line 31) | def self.add_profiler(profiler) function remove_profiler (line 37) | def self.remove_profiler(profiler) function profile (line 52) | def self.profile(message, metric_id, &block) FILE: lib/puppet/util/profiler/aggregate.rb class Puppet::Util::Profiler::Aggregate (line 6) | class Puppet::Util::Profiler::Aggregate < Puppet::Util::Profiler::WallClock method initialize (line 7) | def initialize(logger, identifier) method shutdown (line 12) | def shutdown method do_finish (line 20) | def do_finish(context, description, metric_id) method update_metric (line 26) | def update_metric(metrics_hash, metric_id, time) method values (line 38) | def values method print_metrics (line 42) | def print_metrics(metrics_hash, prefix) class Metric (line 49) | class Metric < Hash method initialize (line 50) | def initialize method [] (line 57) | def [](key) method increment (line 64) | def increment method add_time (line 68) | def add_time(time) class Timer (line 73) | class Timer method initialize (line 74) | def initialize method stop (line 78) | def stop FILE: lib/puppet/util/profiler/around_profiler.rb class Puppet::Util::Profiler::AroundProfiler (line 8) | class Puppet::Util::Profiler::AroundProfiler method initialize (line 9) | def initialize method clear (line 16) | def clear method current (line 23) | def current method add_profiler (line 29) | def add_profiler(profiler) method remove_profiler (line 36) | def remove_profiler(profiler) method profile (line 51) | def profile(message, metric_id) FILE: lib/puppet/util/profiler/logging.rb class Puppet::Util::Profiler::Logging (line 3) | class Puppet::Util::Profiler::Logging method initialize (line 4) | def initialize(logger, identifier) method start (line 10) | def start(description, metric_id) method finish (line 16) | def finish(context, description, metric_id) method shutdown (line 22) | def shutdown class Sequence (line 26) | class Sequence method initialize (line 30) | def initialize method next (line 34) | def next method down (line 38) | def down method up (line 42) | def up method to_s (line 46) | def to_s FILE: lib/puppet/util/profiler/object_counts.rb class Puppet::Util::Profiler::ObjectCounts (line 5) | class Puppet::Util::Profiler::ObjectCounts < Puppet::Util::Profiler::Log... method start (line 6) | def start method finish (line 10) | def finish(before) FILE: lib/puppet/util/profiler/wall_clock.rb class Puppet::Util::Profiler::WallClock (line 10) | class Puppet::Util::Profiler::WallClock < Puppet::Util::Profiler::Logging method do_start (line 11) | def do_start(description, metric_id) method do_finish (line 15) | def do_finish(context, description, metric_id) class Timer (line 20) | class Timer method initialize (line 23) | def initialize method stop (line 27) | def stop method to_s (line 32) | def to_s FILE: lib/puppet/util/provider_features.rb type Puppet::Util::ProviderFeatures (line 10) | module Puppet::Util::ProviderFeatures class ProviderFeature (line 15) | class ProviderFeature method available? (line 24) | def available?(obj) method initialize (line 35) | def initialize(name, docs, methods: nil) method methods_available? (line 46) | def methods_available?(obj) function feature (line 63) | def feature(name, docs, hash = {}) function featuredocs (line 80) | def featuredocs function features (line 111) | def features function feature_module (line 118) | def feature_module function provider_feature (line 178) | def provider_feature(name) FILE: lib/puppet/util/psych_support.rb type Puppet::Util::PsychSupport (line 11) | module Puppet::Util::PsychSupport function init_with (line 15) | def init_with(psych_coder) function encode_with (line 28) | def encode_with(psych_encoder) FILE: lib/puppet/util/rdoc.rb type Puppet::Util::RDoc (line 4) | module Puppet::Util::RDoc function rdoc (line 9) | def rdoc(outputdir, files, charset = nil) function manifestdoc (line 37) | def manifestdoc(files) function output (line 43) | def output(file, ast) function output_astnode_doc (line 47) | def output_astnode_doc(ast) function output_resource_doc (line 51) | def output_resource_doc(code) FILE: lib/puppet/util/rdoc/code_objects.rb type RDoc (line 5) | module RDoc type PuppetTopLevel (line 13) | module PuppetTopLevel type AddClassModuleComment (line 19) | module AddClassModuleComment function add_comment (line 20) | def add_comment(comment, location = nil) class PuppetModule (line 28) | class PuppetModule < NormalModule method initialize (line 33) | def initialize(name, superclass = nil) method add_plugin (line 40) | def add_plugin(plugin) method add_fact (line 59) | def add_fact(fact) method add_node (line 68) | def add_node(name, superclass) method each_fact (line 80) | def each_fact method each_plugin (line 84) | def each_plugin method each_node (line 88) | def each_node method nodes (line 92) | def nodes class PuppetClass (line 100) | class PuppetClass < ClassModule method initialize (line 105) | def initialize(name, superclass) method aref_prefix (line 113) | def aref_prefix method add_resource (line 117) | def add_resource(resource) method is_module? (line 121) | def is_module? method superclass= (line 125) | def superclass=(superclass) method add_require (line 132) | def add_require(required) method add_realize (line 136) | def add_realize(realized) method add_child (line 140) | def add_child(child) method find_symbol (line 148) | def find_symbol(symbol, method = nil) class PuppetNode (line 186) | class PuppetNode < PuppetClass method is_module? (line 189) | def is_module? class Plugin (line 196) | class Plugin < Context method initialize (line 199) | def initialize(name, type) method <=> (line 206) | def <=>(other) method full_name (line 210) | def full_name method http_url (line 214) | def http_url(prefix) method is_fact? (line 219) | def is_fact? method to_s (line 223) | def to_s class Fact (line 232) | class Fact < Context method initialize (line 235) | def initialize(name, confine) method <=> (line 242) | def <=>(other) method is_fact? (line 246) | def is_fact? method full_name (line 250) | def full_name method to_s (line 254) | def to_s class PuppetResource (line 264) | class PuppetResource < CodeObject method initialize (line 267) | def initialize(type, title, comment, params) method <=> (line 275) | def <=>(other) method full_name (line 279) | def full_name method name (line 283) | def name method to_s (line 287) | def to_s FILE: lib/puppet/util/rdoc/generators/puppet_generator.rb type Generators (line 7) | module Generators type MarkUp (line 37) | module MarkUp function new_markup (line 40) | def new_markup(str, remove_para = false) class PuppetGenerator (line 54) | class PuppetGenerator < HTMLGenerator method for (line 55) | def self.for(options) method initialize (line 66) | def initialize(options) # :not-new: method load_html_template (line 72) | def load_html_template method gen_method_index (line 80) | def gen_method_index method generate_html (line 87) | def generate_html method build_indices (line 100) | def build_indices method generate_class_list (line 180) | def generate_class_list(classes, modules, from, html_file, class_dir) method gen_sub_directories (line 198) | def gen_sub_directories method gen_file_index (line 209) | def gen_file_index method gen_top_index (line 214) | def gen_top_index(collection, title, template, filename) method gen_class_index (line 237) | def gen_class_index method gen_composite_index (line 250) | def gen_composite_index(collection, template, filename) method main_url (line 312) | def main_url type ReferencedListBuilder (line 353) | module ReferencedListBuilder function build_referenced_list (line 354) | def build_referenced_list(list) type ResourceContainer (line 374) | module ResourceContainer function collect_resources (line 375) | def collect_resources function build_resource_summary_list (line 380) | def build_resource_summary_list(path_prefix = '') function build_resource_detail_list (line 393) | def build_resource_detail_list(section) class HTMLPuppetClass (line 411) | class HTMLPuppetClass < HtmlClass method value_hash (line 414) | def value_hash method build_require_list (line 441) | def build_require_list(context) method build_realize_list (line 445) | def build_realize_list(context) method build_child_list (line 449) | def build_child_list(context) class HTMLPuppetNode (line 454) | class HTMLPuppetNode < ContextUser method initialize (line 459) | def initialize(context, html_file, prefix, options) method name (line 477) | def name method http_url (line 483) | def http_url(full_name, prefix) method parent_name (line 489) | def parent_name method index_name (line 493) | def index_name method write_on (line 497) | def write_on(f) method value_hash (line 508) | def value_hash method build_attribute_list (line 567) | def build_attribute_list(section) method class_attribute_values (line 588) | def class_attribute_values method build_require_list (line 632) | def build_require_list(context) method build_realize_list (line 636) | def build_realize_list(context) method build_child_list (line 640) | def build_child_list(context) method <=> (line 644) | def <=>(other) class HTMLPuppetModule (line 649) | class HTMLPuppetModule < HtmlClass method value_hash (line 650) | def value_hash method build_nodes_list (line 665) | def build_nodes_list(level, context) method build_facts_summary_list (line 681) | def build_facts_summary_list method build_plugins_summary_list (line 685) | def build_plugins_summary_list method facts (line 689) | def facts method plugins (line 693) | def plugins class HTMLPuppetPlugin (line 698) | class HTMLPuppetPlugin < ContextUser method initialize (line 701) | def initialize(context, html_file, prefix, options) method name (line 719) | def name method http_url (line 725) | def http_url(full_name, prefix) method parent_name (line 731) | def parent_name method index_name (line 735) | def index_name method write_on (line 739) | def write_on(f) method value_hash (line 750) | def value_hash method attribute_values (line 783) | def attribute_values method <=> (line 811) | def <=>(other) class HTMLPuppetResource (line 816) | class HTMLPuppetResource method initialize (line 823) | def initialize(context, html_class, options) method as_href (line 835) | def as_href(from_path) method name (line 843) | def name method section (line 847) | def section method index_name (line 851) | def index_name method params (line 855) | def params method parent_name (line 859) | def parent_name method aref (line 867) | def aref method path (line 871) | def path method description (line 879) | def description method <=> (line 883) | def <=>(other) method document_self (line 887) | def document_self method find_symbol (line 891) | def find_symbol(symbol, method = nil) class PuppetGeneratorInOne (line 897) | class PuppetGeneratorInOne < HTMLGeneratorInOne method gen_method_index (line 898) | def gen_method_index FILE: lib/puppet/util/rdoc/generators/template/puppet/puppet.rb type RDoc (line 24) | module RDoc type Page (line 25) | module Page FILE: lib/puppet/util/rdoc/parser/puppet_parser_core.rb type RDoc::PuppetParserCore (line 4) | module RDoc::PuppetParserCore function included (line 7) | def self.included(base) function initialize (line 17) | def initialize(top_level, file_name, body, options, stats) function scan (line 27) | def scan function find_object_named (line 37) | def find_object_named(container, name) function get_class_or_module (line 47) | def get_class_or_module(container, name) function split_module (line 68) | def split_module(path, environment) function scan_top_level (line 103) | def scan_top_level(container, environment) function parse_plugins (line 139) | def parse_plugins(container) function parse_fact (line 149) | def parse_fact(container) function parse_puppet_plugin (line 181) | def parse_puppet_plugin(container) function create_rdoc_preprocess (line 217) | def create_rdoc_preprocess function look_for_directives_in (line 222) | def look_for_directives_in(context, comment) function remove_private_comments (line 258) | def remove_private_comments(comment) FILE: lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb type RDoc (line 5) | module RDoc class PuppetParserRDoc2 (line 9) | class PuppetParserRDoc2 < Parser method create_rdoc_preprocess (line 12) | def create_rdoc_preprocess FILE: lib/puppet/util/reference.rb class Puppet::Util::Reference (line 7) | class Puppet::Util::Reference method modes (line 15) | def self.modes method newreference (line 19) | def self.newreference(name, options = {}, &block) method page (line 26) | def self.page(*sections) method references (line 35) | def self.references(environment) method doc (line 43) | def doc method dynamic? (line 51) | def dynamic? method initialize (line 55) | def initialize(name, title: nil, depth: nil, dynamic: nil, doc: nil, &... method indent (line 72) | def indent(text, tab) method option (line 76) | def option(name, value) method text (line 80) | def text method to_markdown (line 84) | def to_markdown(withcontents = true) FILE: lib/puppet/util/resource_template.rb class Puppet::Util::ResourceTemplate (line 40) | class Puppet::Util::ResourceTemplate method evaluate (line 43) | def evaluate method initialize (line 48) | def initialize(file, resource) method set_resource_variables (line 57) | def set_resource_variables FILE: lib/puppet/util/retry_action.rb type Puppet::Util::RetryAction (line 3) | module Puppet::Util::RetryAction class RetryException (line 4) | class RetryException < Exception; end class RetryException::NoBlockGiven (line 5) | class RetryException::NoBlockGiven < RetryException; end class RetryException::NoRetriesGiven (line 6) | class RetryException::NoRetriesGiven < RetryException; end class RetryException::RetriesExceeded (line 7) | class RetryException::RetriesExceeded < RetryException; end function retry_action (line 15) | def self.retry_action(options = {}) FILE: lib/puppet/util/rpm_compare.rb type Puppet::Util::RpmCompare (line 4) | module Puppet::Util::RpmCompare function rpmvercmp (line 27) | def rpmvercmp(str1, str2) function rpm_parse_evr (line 118) | def rpm_parse_evr(full_version) function compare_values (line 151) | def compare_values(s1, s2) function rpm_compare_evr (line 172) | def rpm_compare_evr(should, is) FILE: lib/puppet/util/rubygems.rb type Puppet::Util::RubyGems (line 5) | module Puppet::Util::RubyGems class Source (line 9) | class Source method has_rubygems? (line 12) | def has_rubygems? method source (line 23) | def source method new (line 31) | def new(*args) class Gems18Source (line 41) | class Gems18Source < Source method directories (line 42) | def directories method clear_paths (line 54) | def clear_paths class NoGemsSource (line 60) | class NoGemsSource < Source method directories (line 61) | def directories method clear_paths (line 65) | def clear_paths; end FILE: lib/puppet/util/run_mode.rb type Puppet (line 5) | module Puppet type Util (line 6) | module Util class RunMode (line 7) | class RunMode method initialize (line 8) | def initialize(name) method [] (line 14) | def self.[](name) method server? (line 23) | def server? method master? (line 27) | def master? method agent? (line 31) | def agent? method user? (line 35) | def user? method run_dir (line 39) | def run_dir method log_dir (line 43) | def log_dir method which_dir (line 57) | def which_dir(system, user) class UnixRunMode (line 66) | class UnixRunMode < RunMode method conf_dir (line 67) | def conf_dir method code_dir (line 71) | def code_dir method var_dir (line 75) | def var_dir method public_dir (line 79) | def public_dir method run_dir (line 83) | def run_dir method log_dir (line 87) | def log_dir method pkg_config_path (line 91) | def pkg_config_path method gem_cmd (line 95) | def gem_cmd method common_module_dir (line 99) | def common_module_dir method vendor_module_dir (line 103) | def vendor_module_dir class WindowsRunMode (line 108) | class WindowsRunMode < RunMode method conf_dir (line 109) | def conf_dir method code_dir (line 113) | def code_dir method var_dir (line 117) | def var_dir method public_dir (line 121) | def public_dir method run_dir (line 125) | def run_dir method log_dir (line 129) | def log_dir method pkg_config_path (line 133) | def pkg_config_path method gem_cmd (line 137) | def gem_cmd method common_module_dir (line 145) | def common_module_dir method vendor_module_dir (line 149) | def vendor_module_dir method installdir (line 155) | def installdir method windows_common_base (line 159) | def windows_common_base(*extra) FILE: lib/puppet/util/selinux.rb type Puppet::Util::SELinux (line 16) | module Puppet::Util::SELinux function selinux_support? (line 21) | def self.selinux_support? function selinux_support? (line 30) | def selinux_support? function get_selinux_current_context (line 36) | def get_selinux_current_context(file) function get_selinux_default_context (line 50) | def get_selinux_default_context(file, resource_ensure = nil) function get_selinux_default_context_with_handle (line 67) | def get_selinux_default_context_with_handle(file, handle, resource_ens... function parse_selinux_context (line 87) | def parse_selinux_context(component, context) function set_selinux_context (line 118) | def set_selinux_context(file, value, component = false) function set_selinux_default_context (line 163) | def set_selinux_default_context(file, resource_ensure = nil) function selinux_category_to_label (line 187) | def selinux_category_to_label(category) function selinux_label_support? (line 220) | def selinux_label_support?(file) function get_create_mode (line 231) | def get_create_mode(resource_ensure) function file_mode (line 247) | def file_mode(file, resource_ensure) function read_mounts (line 261) | def read_mounts function find_fs (line 300) | def find_fs(path) function file_lstat (line 327) | def file_lstat(path) FILE: lib/puppet/util/skip_tags.rb class Puppet::Util::SkipTags (line 5) | class Puppet::Util::SkipTags method initialize (line 8) | def initialize(stags) method split_qualified_tags? (line 12) | def split_qualified_tags? FILE: lib/puppet/util/splayer.rb type Puppet::Util::Splayer (line 4) | module Puppet::Util::Splayer function splayed? (line 6) | def splayed? function splay (line 11) | def splay(do_splay = Puppet[:splay]) FILE: lib/puppet/util/storage.rb class Puppet::Util::Storage (line 8) | class Puppet::Util::Storage method state (line 12) | def self.state method initialize (line 16) | def initialize method cache (line 25) | def self.cache(object) method clear (line 35) | def self.clear method init (line 39) | def self.init method load (line 45) | def self.load method stateinspect (line 75) | def self.stateinspect method store (line 79) | def self.store FILE: lib/puppet/util/suidmanager.rb type Puppet::Util::SUIDManager (line 7) | module Puppet::Util::SUIDManager function osx_maj_ver (line 20) | def osx_maj_ver function groups= (line 27) | def groups=(grouplist) function root? (line 47) | def self.root? function asuser (line 63) | def asuser(new_uid = nil, new_gid = nil) function change_privileges (line 85) | def change_privileges(uid = nil, gid = nil, permanently = false) function change_group (line 101) | def change_group(group, permanently = false) function change_user (line 117) | def change_user(user, permanently = false) function convert_xid (line 142) | def convert_xid(type, id) function initgroups (line 161) | def initgroups(uid) FILE: lib/puppet/util/symbolic_file_mode.rb type Puppet (line 5) | module Puppet type Util (line 6) | module Util type SymbolicFileMode (line 7) | module SymbolicFileMode function valid_symbolic_mode? (line 17) | def valid_symbolic_mode?(value) function display_mode (line 25) | def display_mode(value) function normalize_symbolic_mode (line 33) | def normalize_symbolic_mode(value) function symbolic_mode_to_int (line 51) | def symbolic_mode_to_int(modification, to_mode = 0, is_a_directory... FILE: lib/puppet/util/tag_set.rb class Puppet::Util::TagSet (line 6) | class Puppet::Util::TagSet < Set method from_yaml (line 9) | def self.from_yaml(yaml) method to_yaml (line 13) | def to_yaml method from_data_hash (line 17) | def self.from_data_hash(data) method to_data_hash (line 22) | def to_data_hash method join (line 26) | def join(*args) FILE: lib/puppet/util/tagging.rb type Puppet::Util::Tagging (line 5) | module Puppet::Util::Tagging function tag (line 12) | def tag(*ary) function tag_if_valid (line 44) | def tag_if_valid(name) function tagged? (line 61) | def tagged?(*tags) function raw_tagged? (line 73) | def raw_tagged?(tag_array) function set_tags (line 79) | def set_tags(tag_source) function tags (line 85) | def tags function merge_tags_from (line 92) | def merge_tags_from(tag_source) function merge_into (line 98) | def merge_into(tag_set) function tags= (line 102) | def tags=(tags) function valid_tag? (line 111) | def valid_tag?(maybe_tag) function split_qualified_tags? (line 124) | def split_qualified_tags? function new_tags (line 128) | def new_tags FILE: lib/puppet/util/terminal.rb type Puppet::Util::Terminal (line 3) | module Puppet::Util::Terminal function width (line 9) | def self.width FILE: lib/puppet/util/user_attr.rb class UserAttr (line 3) | class UserAttr method get_attributes_by_name (line 4) | def self.get_attributes_by_name(name) FILE: lib/puppet/util/warnings.rb type Puppet::Util::Warnings (line 4) | module Puppet::Util::Warnings function notice_once (line 7) | def notice_once(msg) function debug_once (line 11) | def debug_once(msg) function warnonce (line 17) | def warnonce(msg) function clear_warnings (line 21) | def clear_warnings function maybe_log (line 26) | def self.maybe_log(message, klass) FILE: lib/puppet/util/watched_file.rb class Puppet::Util::WatchedFile (line 7) | class Puppet::Util::WatchedFile method initialize (line 16) | def initialize(filename, timer = Puppet::Util::Watcher::Timer.new(Pupp... method changed? (line 27) | def changed? method to_str (line 33) | def to_str method to_s (line 37) | def to_s FILE: lib/puppet/util/watcher.rb type Puppet::Util::Watcher (line 3) | module Puppet::Util::Watcher type Common (line 8) | module Common function file_ctime_change_watcher (line 9) | def self.file_ctime_change_watcher(filename) FILE: lib/puppet/util/watcher/change_watcher.rb class Puppet::Util::Watcher::ChangeWatcher (line 5) | class Puppet::Util::Watcher::ChangeWatcher method watch (line 6) | def self.watch(reader) method initialize (line 10) | def initialize(previous, current, value_reader) method changed? (line 16) | def changed? method uncertain? (line 24) | def uncertain? method change_current_reading_to (line 28) | def change_current_reading_to(new_value) method next_reading (line 32) | def next_reading FILE: lib/puppet/util/watcher/periodic_watcher.rb class Puppet::Util::Watcher::PeriodicWatcher (line 4) | class Puppet::Util::Watcher::PeriodicWatcher method initialize (line 9) | def initialize(watcher, timer) method changed? (line 17) | def changed? method always_consider_changed? (line 26) | def always_consider_changed? method examine_watched_info (line 30) | def examine_watched_info(known) FILE: lib/puppet/util/watcher/timer.rb class Puppet::Util::Watcher::Timer (line 3) | class Puppet::Util::Watcher::Timer method initialize (line 6) | def initialize(timeout) method start (line 10) | def start method expired? (line 14) | def expired? method now (line 18) | def now FILE: lib/puppet/util/windows.rb type Puppet::Util::Windows (line 5) | module Puppet::Util::Windows type ADSI (line 6) | module ADSI class ADSIObject (line 7) | class ADSIObject; end class User (line 8) | class User < ADSIObject; end class UserProfile (line 9) | class UserProfile; end class Group (line 10) | class Group < ADSIObject; end type File (line 13) | module File; end type Registry (line 15) | module Registry type Service (line 18) | module Service type SID (line 22) | module SID class Principal (line 23) | class Principal; end class EventLog (line 26) | class EventLog; end FILE: lib/puppet/util/windows/access_control_entry.rb class Puppet::Util::Windows::AccessControlEntry (line 10) | class Puppet::Util::Windows::AccessControlEntry method initialize (line 26) | def initialize(sid, mask, flags = 0, type = ACCESS_ALLOWED_ACE_TYPE) method inherited? (line 37) | def inherited? method inherit_only? (line 46) | def inherit_only? method container_inherit? (line 53) | def container_inherit? method object_inherit? (line 60) | def object_inherit? method inspect (line 64) | def inspect method == (line 77) | def ==(other) FILE: lib/puppet/util/windows/access_control_list.rb class Puppet::Util::Windows::AccessControlList (line 9) | class Puppet::Util::Windows::AccessControlList method initialize (line 18) | def initialize(acl = nil) method each (line 29) | def each method allow (line 38) | def allow(sid, mask, flags = 0) method deny (line 47) | def deny(sid, mask, flags = 0) method reassign! (line 58) | def reassign!(old_sid, new_sid) method inspect (line 102) | def inspect method == (line 110) | def ==(other) FILE: lib/puppet/util/windows/adsi.rb type Puppet::Util::Windows::ADSI (line 3) | module Puppet::Util::Windows::ADSI function connectable? (line 26) | def connectable?(uri) function connect (line 32) | def connect(uri) function create (line 38) | def create(name, resource_type) function delete (line 42) | def delete(name, resource_type) function computer_name (line 49) | def computer_name function computer_uri (line 67) | def computer_uri(host = '.') function wmi_resource_uri (line 71) | def wmi_resource_uri(host = '.') function sid_uri_safe (line 81) | def sid_uri_safe(sid) function sid_uri (line 95) | def sid_uri(sid) function uri (line 101) | def uri(resource_name, resource_type, host = '.') function wmi_connection (line 105) | def wmi_connection function execquery (line 109) | def execquery(query) function domain_role (line 113) | def domain_role class ADSIObject (line 135) | class ADSIObject method localized_domains (line 143) | def localized_domains method uri (line 154) | def uri(name, host = '.') method parse_name (line 159) | def parse_name(name) method get_sids (line 173) | def get_sids(adsi_child_collection) method name_sid_hash (line 189) | def name_sid_hash(names, allow_unresolved = false) method delete (line 202) | def delete(name) method exists? (line 206) | def exists?(name_or_sid) method list_all (line 237) | def list_all method each (line 241) | def each(&block) method initialize (line 255) | def initialize(name, native_object = nil) method object_class (line 260) | def object_class method uri (line 264) | def uri method native_object (line 268) | def native_object method sid (line 272) | def sid method [] (line 276) | def [](attribute) method []= (line 281) | def []=(attribute, value) method commit (line 285) | def commit class User (line 300) | class User < ADSIObject method list_all (line 310) | def list_all method logon (line 314) | def logon(name, password) method create (line 318) | def create(name) method password_is? (line 326) | def password_is?(password) method add_flag (line 330) | def add_flag(flag_name, value) method password= (line 342) | def password=(password) method groups (line 352) | def groups method add_to_groups (line 365) | def add_to_groups(*group_names) method remove_from_groups (line 372) | def remove_from_groups(*group_names) method add_group_sids (line 379) | def add_group_sids(*sids) method remove_group_sids (line 384) | def remove_group_sids(*sids) method group_sids (line 389) | def group_sids method set_groups (line 397) | def set_groups(desired_groups, minimum = true) method userflag_set? (line 454) | def userflag_set?(flag) method op_userflags (line 462) | def op_userflags(*flags, &block) method set_userflags (line 474) | def set_userflags(*flags) method unset_userflags (line 478) | def unset_userflags(*flags) method disabled? (line 482) | def disabled? method locked_out? (line 486) | def locked_out? method expired? (line 493) | def expired? method current_user_name (line 505) | def self.current_user_name method current_user_name_with_format (line 538) | def self.current_user_name_with_format(format) method current_sam_compatible_user_name (line 557) | def self.current_sam_compatible_user_name method current_user_sid (line 561) | def self.current_user_sid class UserProfile (line 586) | class UserProfile method delete (line 587) | def self.delete(sid) class Group (line 600) | class Group < ADSIObject method list_all (line 606) | def list_all method create (line 610) | def create(name) method add_member_sids (line 618) | def add_member_sids(*sids) method remove_member_sids (line 624) | def remove_member_sids(*sids) method members (line 633) | def members method set_members (line 638) | def set_members(desired_members, inclusive = true) FILE: lib/puppet/util/windows/com.rb type Puppet::Util::Windows::COM (line 5) | module Puppet::Util::Windows::COM function SUCCEEDED (line 13) | def SUCCEEDED(hr) hr >= 0 end function FAILED (line 14) | def FAILED(hr) hr < 0 end function raise_if_hresult_failed (line 18) | def raise_if_hresult_failed(name, *args) type Interface (line 68) | module Interface function [] (line 69) | def self.[](*args) type Helpers (line 94) | module Helpers function QueryInstance (line 95) | def QueryInstance(klass) function UseInstance (line 114) | def UseInstance(klass, name, *args) type Instance (line 129) | module Instance function [] (line 130) | def self.[](iface) type Factory (line 158) | module Factory function [] (line 159) | def self.[](iface, clsid) function InitializeCom (line 221) | def InitializeCom FILE: lib/puppet/util/windows/daemon.rb type Puppet::Util::Windows (line 5) | module Puppet::Util::Windows class Daemon (line 7) | class Daemon method mainloop (line 192) | def self.mainloop method mainloop (line 200) | def mainloop method state (line 317) | def state method running? (line 336) | def running? FILE: lib/puppet/util/windows/error.rb class Puppet::Util::Windows::Error (line 7) | class Puppet::Util::Windows::Error < Puppet::Error method initialize (line 16) | def initialize(message, code = FFI.errno, original = nil) method format_error_code (line 23) | def self.format_error_code(code) FILE: lib/puppet/util/windows/eventlog.rb type Puppet (line 13) | module Puppet; module Util; module Windows; end; end; end type Util (line 13) | module Util; module Windows; end; end type Windows (line 13) | module Windows; end class Puppet::Util::Windows::EventLog (line 15) | class Puppet::Util::Windows::EventLog method initialize (line 33) | def initialize(source_name = 'Puppet') method close (line 44) | def close method report_event (line 60) | def report_event(args = {}) method to_native (line 93) | def to_native(level) class EventLogError (line 119) | class EventLogError < RuntimeError method initialize (line 120) | def initialize(msg, code) method wide_string (line 130) | def wide_string(str) method from_string_to_wide_string (line 140) | def from_string_to_wide_string(str, &block) FILE: lib/puppet/util/windows/file.rb type Puppet::Util::Windows::File (line 5) | module Puppet::Util::Windows::File function replace_file (line 16) | def replace_file(target, source) function move_file_ex (line 37) | def move_file_ex(source, target, flags = 0) function symlink (line 48) | def symlink(target, symlink) function exist? (line 58) | def exist?(path) function get_attributes (line 90) | def get_attributes(file_name, raise_on_invalid = true) function add_attributes (line 100) | def add_attributes(path, flags) function remove_attributes (line 109) | def remove_attributes(path, flags) function set_attributes (line 118) | def set_attributes(path, flags) function create_file (line 128) | def self.create_file(file_name, desired_access, share_mode, security_a... function get_reparse_point_data (line 142) | def self.get_reparse_point_data(handle, &block) function get_reparse_point_tag (line 167) | def self.get_reparse_point_tag(handle) function device_io_control (line 181) | def self.device_io_control(handle, io_control_code, in_buffer = nil, o... function reparse_point? (line 206) | def reparse_point?(file_name) function symlink? (line 215) | def symlink?(file_name) function open_symlink (line 221) | def self.open_symlink(link_name) function readlink (line 240) | def readlink(link_name) function get_long_pathname (line 250) | def get_long_pathname(path) function get_short_pathname (line 268) | def get_short_pathname(path) function stat (line 286) | def stat(file_name) function lstat (line 310) | def lstat(file_name) function resolve_symlink (line 329) | def self.resolve_symlink(handle) function symlink_reparse_point? (line 346) | def self.symlink_reparse_point?(path) FILE: lib/puppet/util/windows/monkey_patches/process.rb type Process (line 7) | module Process function create (line 120) | def create(args) function setpriority (line 181) | def setpriority(kind, int, int_priority) function initialize_defaults (line 205) | def initialize_defaults function validate_args (line 215) | def validate_args(args) function validate_keys (line 219) | def validate_keys(args) function validate_startup_info (line 228) | def validate_startup_info function validate_command_line (line 237) | def validate_command_line function procinfo (line 241) | def procinfo function hash (line 245) | def hash function si_hash (line 249) | def si_hash function app (line 253) | def app function cmd (line 257) | def cmd function cwd (line 261) | def cwd function password (line 265) | def password function logon (line 269) | def logon function domain (line 273) | def domain function env (line 277) | def env function process_security (line 287) | def process_security function thread_security (line 296) | def thread_security function setup_std_handlers (line 309) | def setup_std_handlers function startinfo (line 348) | def startinfo function create_process_with_logon (line 372) | def create_process_with_logon function create_process (line 394) | def create_process FILE: lib/puppet/util/windows/principal.rb type Puppet::Util::Windows::SID (line 5) | module Puppet::Util::Windows::SID class Principal (line 6) | class Principal method initialize (line 10) | def initialize(account, sid_bytes, sid, domain, account_type) method == (line 32) | def ==(compare) method to_s (line 39) | def to_s method lookup_account_name (line 49) | def self.lookup_account_name(system_name = nil, sanitize = true, acc... method lookup_account_sid (line 96) | def self.lookup_account_sid(system_name = nil, sid_bytes) method sanitize_account_name (line 153) | def self.sanitize_account_name(account_name) FILE: lib/puppet/util/windows/process.rb type Puppet::Util::Windows::Process (line 6) | module Puppet::Util::Windows::Process function execute (line 20) | def execute(command, arguments, stdin, stdout, stderr) function wait_process (line 40) | def wait_process(handle) function get_current_process (line 64) | def get_current_process function open_process (line 70) | def open_process(desired_access, inherit_handle, process_id, &block) function open_process_token (line 89) | def open_process_token(handle, desired_access, &block) function with_process_token (line 112) | def with_process_token(access, &block) function get_process_image_name_by_pid (line 123) | def get_process_image_name_by_pid(pid) function lookup_privilege_value (line 149) | def lookup_privilege_value(name, system_name = '', &block) function get_token_information (line 169) | def get_token_information(token_handle, token_information, &block) function parse_token_information_as_token_privileges (line 198) | def parse_token_information_as_token_privileges(token_information_buf) function parse_token_information_as_token_elevation (line 214) | def parse_token_information_as_token_elevation(token_information_buf) function process_privilege_symlink? (line 221) | def process_privilege_symlink? function elevated_security? (line 249) | def elevated_security? function windows_major_version (line 273) | def windows_major_version function get_environment_strings (line 302) | def get_environment_strings function set_environment_variable (line 327) | def set_environment_variable(name, val) function get_system_default_ui_language (line 346) | def get_system_default_ui_language function supports_elevated_security? (line 356) | def supports_elevated_security? FILE: lib/puppet/util/windows/registry.rb type Puppet::Util::Windows (line 5) | module Puppet::Util::Windows type Registry (line 6) | module Registry function root (line 22) | def root(name) function open (line 28) | def open(name, path, mode = KEY_READ | KEY64, &block) function keys (line 39) | def keys(key) function each_key (line 47) | def each_key(key, &block) function delete_key (line 63) | def delete_key(key, subkey_name, mode = KEY64) function values (line 67) | def values(key) function values_by_name (line 80) | def values_by_name(key, names) function each_value (line 93) | def each_value(key, &block) function delete_value (line 109) | def delete_value(key, subkey_name) function reg_enum_key (line 118) | def reg_enum_key(key, index, max_key_char_length = MAX_KEY_CHAR_LENGTH) function reg_enum_value (line 153) | def reg_enum_value(key, index, max_value_length = MAX_VALUE_CHAR_LEN... function reg_query_info_key_max_lengths (line 185) | def reg_query_info_key_max_lengths(key) function read (line 230) | def read(key, name_ptr, *rtype) function query_value_ex (line 270) | def query_value_ex(key, name_ptr, &block) function reg_delete_value (line 329) | def reg_delete_value(key, name) function reg_delete_key_ex (line 344) | def reg_delete_key_ex(key, name, regsam = KEY64) FILE: lib/puppet/util/windows/root_certs.rb class Puppet::Util::Windows::RootCerts (line 10) | class Puppet::Util::Windows::RootCerts method initialize (line 14) | def initialize(roots) method each (line 21) | def each method instance (line 27) | def self.instance method load_certs (line 35) | def self.load_certs class CERT_CONTEXT (line 70) | class CERT_CONTEXT < FFI::Struct FILE: lib/puppet/util/windows/security.rb type Puppet::Util::Windows::Security (line 70) | module Puppet::Util::Windows::Security function set_owner (line 119) | def set_owner(owner_sid, path) function get_owner (line 133) | def get_owner(path) function set_group (line 144) | def set_group(group_sid, path) function get_group (line 158) | def get_group(path) function supports_acl? (line 166) | def supports_acl?(path) function get_aces_for_path_by_sid (line 191) | def get_aces_for_path_by_sid(path, sid) function get_mode (line 201) | def get_mode(path) function set_mode (line 283) | def set_mode(mode, path, protected = true, managing_owner = false, man... function add_access_allowed_ace (line 431) | def add_access_allowed_ace(acl, mask, sid, inherit = nil) function add_access_denied_ace (line 448) | def add_access_denied_ace(acl, mask, sid, inherit = nil) function parse_dacl (line 465) | def parse_dacl(dacl_ptr) function open_file (line 513) | def open_file(path, access, &block) function with_privilege (line 539) | def with_privilege(privilege, &block) function set_privilege (line 551) | def set_privilege(privilege, enable) function get_security_descriptor (line 583) | def get_security_descriptor(path) function get_max_generic_acl_size (line 631) | def get_max_generic_acl_size(ace_count) function set_security_descriptor (line 642) | def set_security_descriptor(path, sd) class ACL (line 757) | class ACL < FFI::Struct class ACE_HEADER (line 773) | class ACE_HEADER < FFI::Struct class GENERIC_ACCESS_ACE (line 795) | class GENERIC_ACCESS_ACE < FFI::Struct FILE: lib/puppet/util/windows/security_descriptor.rb class Puppet::Util::Windows::SecurityDescriptor (line 12) | class Puppet::Util::Windows::SecurityDescriptor method initialize (line 27) | def initialize(owner, group, dacl, protect = false) method owner= (line 38) | def owner=(new_owner) method group= (line 49) | def group=(new_group) method inspect (line 56) | def inspect FILE: lib/puppet/util/windows/service.rb type Puppet::Util::Windows (line 6) | module Puppet::Util::Windows type Service (line 11) | module Service function exists? (line 26) | def exists?(service_name) function start (line 41) | def start(service_name, timeout: DEFAULT_TIMEOUT) function stop (line 64) | def stop(service_name, timeout: DEFAULT_TIMEOUT) function resume (line 81) | def resume(service_name, timeout: DEFAULT_TIMEOUT) function service_state (line 106) | def service_state(service_name) function service_start_type (line 126) | def service_start_type(service_name) function logon_account (line 154) | def logon_account(service_name) function set_startup_configuration (line 173) | def set_startup_configuration(service_name, options: {}) function services (line 212) | def services function open_service (line 302) | def open_service(service_name, scm_access, service_access, &block) function open_scm (line 324) | def open_scm(scm_access, &block) function transition_service_state (line 342) | def transition_service_state(service_name, valid_initial_states, fin... function query_status (line 413) | def query_status(service) function query_config (line 457) | def query_config(service, &block) function query_config2 (line 495) | def query_config2(service, info_level, &block) function set_optional_parameter (line 539) | def set_optional_parameter(service_name, change, value) function set_startup_mode_delayed (line 558) | def set_startup_mode_delayed(service_name, delayed) function send_service_control_signal (line 570) | def send_service_control_signal(service, signal) function wait_on_state_transition (line 587) | def wait_on_state_transition(service, initial_state, final_state, ti... function wait_on_pending_state (line 636) | def wait_on_pending_state(service, pending_state, timeout) function wait_hint_to_wait_time (line 685) | def wait_hint_to_wait_time(wait_hint) function milliseconds_to_seconds (line 702) | def milliseconds_to_seconds(wait_hint) FILE: lib/puppet/util/windows/sid.rb type Puppet::Util::Windows (line 5) | module Puppet::Util::Windows type SID (line 6) | module SID function name_to_sid (line 59) | def name_to_sid(name) function name_to_principal (line 71) | def name_to_principal(name, allow_unresolved = false) function octet_string_to_principal (line 100) | def octet_string_to_principal(bytes) function ads_to_principal (line 116) | def ads_to_principal(ads_object) function sid_to_name (line 141) | def sid_to_name(value) function sid_ptr_to_string (line 161) | def sid_ptr_to_string(psid) function string_to_sid_ptr (line 189) | def string_to_sid_ptr(string_sid, &block) function valid_sid? (line 208) | def valid_sid?(string_sid) function get_length_sid (line 221) | def get_length_sid(sid_ptr) function octet_string_to_sid_string (line 231) | def octet_string_to_sid_string(sid_bytes) function unresolved_principal (line 244) | def self.unresolved_principal(name, sid_bytes) FILE: lib/puppet/util/windows/string.rb type Puppet (line 3) | module Puppet type Util (line 4) | module Util type Windows (line 5) | module Windows type String (line 6) | module String function wide_string (line 7) | def wide_string(str) FILE: lib/puppet/util/windows/user.rb type Puppet::Util::Windows::User (line 7) | module Puppet::Util::Windows::User function admin? (line 11) | def admin? function localsystem? (line 23) | def localsystem?(name) function default_system_account? (line 31) | def default_system_account?(name) function check_token_membership (line 48) | def check_token_membership function password_is? (line 77) | def password_is?(name, password, domain = '.') function logon_user (line 91) | def logon_user(name, password, domain = '.', &block) function logon_user_by_logon_type (line 117) | def self.logon_user_by_logon_type(name, domain, password, logon_type, ... function load_profile (line 123) | def load_profile(user, password) function get_rights (line 146) | def get_rights(name) function set_rights (line 172) | def set_rights(name, rights) function remove_rights (line 184) | def remove_rights(name, rights) function new_lsa_policy_handle (line 212) | def self.new_lsa_policy_handle function new_lsa_unicode_strings_pointer (line 230) | def self.new_lsa_unicode_strings_pointer(strings) function check_lsa_nt_status_and_raise_failures (line 245) | def self.check_lsa_nt_status_and_raise_failures(status, method_name) class PROFILEINFO (line 293) | class PROFILEINFO < FFI::Struct class LSA_OBJECT_ATTRIBUTES (line 461) | class LSA_OBJECT_ATTRIBUTES < FFI::Struct class LSA_UNICODE_STRING (line 476) | class LSA_UNICODE_STRING < FFI::Struct FILE: lib/puppet/util/yaml.rb type Puppet::Util::Yaml (line 5) | module Puppet::Util::Yaml class YamlLoadError (line 8) | class YamlLoadError < Puppet::Error; end function safe_load (line 28) | def self.safe_load(yaml, allowed_classes = [], filename = nil) function safe_load_file (line 46) | def self.safe_load_file(filename, allowed_classes = []) function safe_load_file_if_valid (line 55) | def self.safe_load_file_if_valid(filename, allowed_classes = []) function dump (line 62) | def self.dump(structure, filename) FILE: lib/puppet/vendor.rb type Puppet (line 3) | module Puppet class Vendor (line 27) | class Vendor method vendor_dir (line 30) | def vendor_dir method load_entry (line 35) | def load_entry(entry) method require_libs (line 41) | def require_libs method load_vendored (line 48) | def load_vendored FILE: lib/puppet/version.rb type Puppet (line 10) | module Puppet function version (line 63) | def self.version function minor_version (line 71) | def self.minor_version function version= (line 75) | def self.version=(version) function read_version_file (line 87) | def self.read_version_file(path) FILE: lib/puppet/x509.rb type Puppet::X509 (line 10) | module Puppet::X509 FILE: lib/puppet/x509/cert_provider.rb class Puppet::X509::CertProvider (line 13) | class Puppet::X509::CertProvider method initialize (line 21) | def initialize(capath: Puppet[:localcacert], method save_cacerts (line 43) | def save_cacerts(certs) method load_cacerts (line 57) | def load_cacerts(required: false) method load_cacerts_from_pem (line 75) | def load_cacerts_from_pem(pem) method save_crls (line 90) | def save_crls(crls) method load_crls (line 104) | def load_crls(required: false) method load_crls_from_pem (line 122) | def load_crls_from_pem(pem) method crl_last_update (line 137) | def crl_last_update method crl_last_update= (line 149) | def crl_last_update=(time) method ca_last_update (line 159) | def ca_last_update method ca_last_update= (line 171) | def ca_last_update=(time) method save_private_key (line 186) | def save_private_key(name, key, password: nil) method load_private_key (line 212) | def load_private_key(name, required: false, password: nil) method load_private_key_from_pem (line 234) | def load_private_key_from_pem(pem, password: nil) method load_private_key_password (line 247) | def load_private_key_password method save_client_cert (line 260) | def save_client_cert(name, cert) method load_client_cert (line 276) | def load_client_cert(name, required: false) method load_client_cert_from_pem (line 295) | def load_client_cert_from_pem(pem) method create_request (line 306) | def create_request(name, private_key) method save_request (line 337) | def save_request(name, csr) method load_request (line 352) | def load_request(name) method delete_request (line 366) | def delete_request(name) method load_request_from_pem (line 380) | def load_request_from_pem(pem) method to_path (line 388) | def to_path(base, name) method permissions_for_setting (line 396) | def permissions_for_setting(name) FILE: lib/puppet/x509/pem_store.rb type Puppet::X509::PemStore (line 10) | module Puppet::X509::PemStore function load_pem (line 18) | def load_pem(path) function save_pem (line 34) | def save_pem(pem, path, owner: nil, group: nil, mode: 0o644) function delete_pem (line 51) | def delete_pem(path) FILE: lib/puppet_x.rb type PuppetX (line 15) | module PuppetX FILE: rakelib/benchmark.rake function generate_scenario_tasks (line 7) | def generate_scenario_tasks(location, name) FILE: rakelib/generate_ast_model.rake type Puppet::Pops (line 11) | module Puppet::Pops function generate_ast (line 12) | def self.generate_ast FILE: rakelib/generate_cert_fixtures.rake function save (line 10) | def save(dir, name, x509) FILE: rakelib/generate_references.rake function render_erb (line 25) | def render_erb(erb_file, variables) function puppet_doc (line 31) | def puppet_doc(reference) function generate_reference (line 39) | def generate_reference(reference, erb, body, output) function render_resource_type (line 54) | def render_resource_type(name, this_type) function extract_resource_types (line 83) | def extract_resource_types(strings_data) function unified_page_resource_types (line 172) | def unified_page_resource_types FILE: rakelib/memwalk.rake function print_object (line 98) | def print_object(addr, entry) function node_label (line 113) | def node_label(addr, entry) function node_name (line 124) | def node_name(addr) function print_edge (line 129) | def print_edge(from_addr, to_addr) function closure_and_edges (line 133) | def closure_and_edges(diff) function walk (line 141) | def walk(addr, edges, walked) function walk_to_object (line 151) | def walk_to_object(to_addr, cursor, edges, walked) function single_closure_and_edges (line 175) | def single_closure_and_edges(the_target) FILE: rakelib/parallel.rake type Parallel (line 12) | module Parallel type RSpec (line 13) | module RSpec class ProgressFormatBuffer (line 17) | class ProgressFormatBuffer type OutputState (line 26) | module OutputState method initialize (line 37) | def initialize(io, color) method color? (line 49) | def color? method read (line 53) | def read method parse_summary (line 97) | def parse_summary method parse_summary_line (line 122) | def parse_summary_line(line) class Parallelizer (line 161) | class Parallelizer method initialize (line 169) | def initialize(process_count, group_size, color, options = []) method color? (line 176) | def color? method run (line 180) | def run method group_specs (line 197) | def group_specs method run_specs (line 218) | def run_specs(groups, options) method colorize (line 300) | def colorize(text, color_code) method red (line 308) | def red(text) method green (line 312) | def green(text) method yellow (line 316) | def yellow(text) method dump_summary (line 320) | def dump_summary(buffers) method summary_count_line (line 378) | def summary_count_line(examples, failures, pending) function color_output? (line 389) | def color_output? FILE: spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb function sync (line 5) | def sync function retrieve (line 9) | def retrieve function insync? (line 13) | def insync?(is) FILE: spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb function l10n_impl (line 5) | def l10n_impl FILE: spec/fixtures/releases/jamtur01-apache/lib/puppet/provider/a2mod/debian.rb function create (line 9) | def create function destroy (line 13) | def destroy function exists? (line 17) | def exists? FILE: spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/functions/abc/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb class Hiera::Backend::Hieraspec_backend (line 1) | class Hiera::Backend::Hieraspec_backend method initialize (line 2) | def initialize(cache = nil) method lookup (line 6) | def lookup(key, scope, order_override, resolution_type, context) FILE: spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb class Hiera::Backend::Custom_backend (line 1) | class Hiera::Backend::Custom_backend method lookup (line 2) | def lookup(key, scope, order_override, resolution_type, context) FILE: spec/fixtures/unit/functions/lookup/hiera/backend/other_backend.rb class Hiera::Backend::Other_backend (line 1) | class Hiera::Backend::Other_backend method lookup (line 2) | def lookup(key, scope, order_override, resolution_type, context) FILE: spec/fixtures/unit/functions/lookup_fixture/environments/production/lib/puppet/functions/environment/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/functions/lookup_fixture/environments/production/modules/abc/lib/puppet/functions/abc/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/functions/lookup_fixture/environments/production/modules/bad_data/lib/puppet/functions/bad_data/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/functions/lookup_fixture/environments/production/modules/bca/lib/puppet/functions/bca/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/functions/lookup_fixture/environments/production/modules/meta/lib/puppet/functions/meta/data.rb function data (line 2) | def data() FILE: spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet_x/awesome2/echo_scheme_handler.rb type PuppetX (line 3) | module PuppetX type Awesome2 (line 4) | module Awesome2 class EchoSchemeHandler (line 9) | class EchoSchemeHandler < Puppet::Plugins::BindingSchemes::BindingsS... method contributed_bindings (line 10) | def contributed_bindings(uri, scope, composer) FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/usee/lib/puppet/functions/usee/callee.rb function callee (line 2) | def callee(value) FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/usee/lib/puppet/functions/usee/usee_ruby.rb function usee_ruby (line 2) | def usee_ruby() FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/usee2/lib/puppet/functions/usee2/callee.rb function callee (line 2) | def callee(value) FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/user/lib/puppet/functions/user/caller.rb function caller (line 2) | def caller() FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/user/lib/puppet/functions/user/caller2.rb function caller2 (line 2) | def caller2() FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/user/lib/puppet/functions/user/ruby_calling_puppet.rb function ruby_calling_puppet (line 2) | def ruby_calling_puppet() FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/user/lib/puppet/functions/user/ruby_calling_puppet_init.rb function ruby_calling_puppet_init (line 2) | def ruby_calling_puppet_init() FILE: spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/modules/user/lib/puppet/functions/user/ruby_calling_ruby.rb function ruby_calling_ruby (line 2) | def ruby_calling_ruby() FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/bad_func_load.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions function method_here_is_illegal (line 9) | def method_here_is_illegal() FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/bad_func_load2.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions function illegal_method_here (line 9) | def illegal_method_here FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/bad_func_load3.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions function bad_func_load3_illegal_method (line 6) | def bad_func_load3_illegal_method FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/bad_func_load4.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions function bad_func_load4_illegal_method (line 6) | def self.bad_func_load4_illegal_method FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/bad_func_load5.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions function bad_func_load5_illegal_method (line 9) | def self.bad_func_load5_illegal_method FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/callee.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/callee_ws.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/usee/lib/puppet/parser/functions/good_func_load.rb type Puppet::Parser::Functions (line 1) | module Puppet::Parser::Functions FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller.rb function caller (line 2) | def caller() FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb function caller_ws (line 7) | def caller_ws(scope, value) FILE: spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/callingpuppet.rb function callingpuppet (line 2) | def callingpuppet() FILE: spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/modulea/rb_func_a.rb function rb_func_a (line 2) | def rb_func_a() FILE: spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/rb_func_a.rb function rb_func_a (line 2) | def rb_func_a() FILE: spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb function rb_func_b (line 2) | def rb_func_b() FILE: spec/integration/agent/logging_spec.rb function double_of_bin_puppet_agent_call (line 77) | def double_of_bin_puppet_agent_call(argv) function no_log_dest_set_in (line 110) | def self.no_log_dest_set_in(argv) function verbose_or_debug_set_in_argv (line 114) | def self.verbose_or_debug_set_in_argv(argv) function log_dest_is_set_to (line 118) | def self.log_dest_is_set_to(argv, log_dest) function expected_loggers (line 124) | def self.expected_loggers(argv) function expected_level (line 147) | def self.expected_level(argv) function with_expectations_based_on (line 157) | def self.with_expectations_based_on(argv) FILE: spec/integration/application/agent_spec.rb function copy_fixtures (line 27) | def copy_fixtures(sources, dest) function with_another_agent_running (line 553) | def with_another_agent_running(&block) function mounts (line 997) | def mounts FILE: spec/integration/application/lookup_spec.rb function expect_lookup_with_output (line 66) | def expect_lookup_with_output(exitcode, out) FILE: spec/integration/application/module_spec.rb function use_local_fixture (line 112) | def use_local_fixture function create_working_copy (line 116) | def create_working_copy FILE: spec/integration/data_binding_spec.rb function configure_hiera_for_one_tier (line 210) | def configure_hiera_for_one_tier(data) function configure_hiera_for_plan_hierarchy (line 232) | def configure_hiera_for_plan_hierarchy(data, config) function configure_hiera_for_two_tier (line 248) | def configure_hiera_for_two_tier(data) function create_manifest_in_module (line 270) | def create_manifest_in_module(module_name, name, manifest) FILE: spec/integration/environments/default_manifest_spec.rb type EnvironmentsDefaultManifestsSpec (line 3) | module EnvironmentsDefaultManifestsSpec function failure_message (line 198) | def failure_message function failure_message_when_negated (line 202) | def failure_message_when_negated function a_catalog_compiled_for_environment (line 207) | def a_catalog_compiled_for_environment(envname) FILE: spec/integration/environments/settings_interpolation_spec.rb type SettingsInterpolationSpec (line 5) | module SettingsInterpolationSpec FILE: spec/integration/environments/settings_spec.rb function init_puppet_conf (line 16) | def init_puppet_conf(settings = {}) FILE: spec/integration/network/formats_spec.rb class PsonIntTest (line 5) | class PsonIntTest method == (line 7) | def ==(other) method from_data_hash (line 11) | def self.from_data_hash(data) method initialize (line 15) | def initialize(string) method to_pson (line 19) | def to_pson(*args) method canonical_order (line 26) | def self.canonical_order(s) FILE: spec/integration/network/http_pool_spec.rb function connection (line 38) | def connection(host, port) function connection (line 180) | def connection(host, port, ssl_context:) function require_client_certs (line 186) | def require_client_certs(ctx) FILE: spec/integration/node/environment_spec.rb function a_module_in (line 11) | def a_module_in(name, dir) FILE: spec/integration/parser/catalog_spec.rb function master_catalog_for (line 54) | def master_catalog_for(manifest) function master_and_agent_catalogs_for (line 58) | def master_and_agent_catalogs_for(manifest) function resources_in (line 65) | def resources_in(catalog) FILE: spec/integration/parser/collection_spec.rb function expect_the_message_to_be (line 7) | def expect_the_message_to_be(expected_messages, code, node = Puppet::Nod... function warnings (line 14) | def warnings FILE: spec/integration/parser/compiler_spec.rb class CompilerTestResource (line 6) | class CompilerTestResource method initialize (line 9) | def initialize(type, title) method [] (line 14) | def [](attr) method ref (line 19) | def ref method evaluated? (line 23) | def evaluated? method builtin_type? (line 27) | def builtin_type? method virtual? (line 31) | def virtual? method class? (line 35) | def class? method stage? (line 39) | def stage? method evaluate (line 43) | def evaluate method file (line 46) | def file method line (line 50) | def line method resource_type (line 54) | def resource_type function resource (line 63) | def resource(type, title) function extract_name (line 528) | def extract_name(ref) function assert_creates_relationships (line 532) | def assert_creates_relationships(relationship_code, expectations) function extract_name (line 1149) | def extract_name(ref) function assert_created_relationships (line 1153) | def assert_created_relationships(catalog, type_name, expectations) FILE: spec/integration/parser/environment_spec.rb function a_catalog_compiled_for_environment (line 38) | def a_catalog_compiled_for_environment(envname) FILE: spec/integration/parser/parameter_defaults_spec.rb function collect_notices (line 31) | def collect_notices(code) function eval_collect_notices (line 48) | def eval_collect_notices(arg_list, body, call_params) function epp_eval_collect_notices (line 63) | def epp_eval_collect_notices(arg_list, body, call_params, code, inline_epp) function expect_log (line 93) | def expect_log(decl, call_params, result, code = 'undef', inline_epp = t... function expect_fail (line 107) | def expect_fail(decl, call, text, inline_epp = true) FILE: spec/integration/parser/pcore_resource_spec.rb function find_resource_type (line 222) | def find_resource_type(scope, name) function generate_and_in_a_compilers_context (line 226) | def generate_and_in_a_compilers_context(&block) FILE: spec/integration/parser/scope_spec.rb function expect_the_message_to_be (line 6) | def expect_the_message_to_be(message, node = Puppet::Node.new('the node')) function expect_the_message_not_to_be (line 11) | def expect_the_message_not_to_be(message, node = Puppet::Node.new('the n... FILE: spec/integration/parser/undef_param_spec.rb function expect_the_message_to_be (line 13) | def expect_the_message_to_be(message, node = Puppet::Node.new('the node')) function expect_puppet_error (line 18) | def expect_puppet_error(message, node = Puppet::Node.new('the node')) FILE: spec/integration/provider/file/windows_spec.rb function create_temp_file (line 13) | def create_temp_file(owner_sid, group_sid, initial_mode) function strip_sticky (line 29) | def strip_sticky(value) FILE: spec/integration/resource/type_collection_spec.rb function mk_module (line 23) | def mk_module(name, files = {}) FILE: spec/integration/transaction/report_spec.rb function run_catalogs (line 46) | def run_catalogs(resources1, resources2, noop1 = false, noop2 = false, &... function new_blank_catalog (line 72) | def new_blank_catalog function new_catalog (line 76) | def new_catalog(resources = []) function get_cc_count (line 84) | def get_cc_count(report) FILE: spec/integration/transaction_spec.rb function mk_catalog (line 19) | def mk_catalog(*resources) function touch_path (line 25) | def touch_path function usr_bin_touch (line 29) | def usr_bin_touch(path) function touch (line 33) | def touch(path) FILE: spec/integration/type/file_spec.rb class WindowsSecurity (line 8) | class WindowsSecurity function set_mode (line 40) | def set_mode(mode, file) function get_mode (line 44) | def get_mode(file) function get_owner (line 48) | def get_owner(file) function get_group (line 52) | def get_group(file) class SecurityHelper (line 56) | class SecurityHelper function set_mode (line 60) | def set_mode(mode, file) function get_mode (line 64) | def get_mode(file) function get_owner (line 68) | def get_owner(file) function get_group (line 72) | def get_group(file) function get_aces_for_path_by_sid (line 76) | def get_aces_for_path_by_sid(path, sid) function build_path (line 670) | def build_path(dir) function expects_sid_granted_full_access_explicitly (line 1470) | def expects_sid_granted_full_access_explicitly(path, sid) function expects_system_granted_full_access_explicitly (line 1482) | def expects_system_granted_full_access_explicitly(path) function expects_at_least_one_inherited_ace_grants_full_access (line 1486) | def expects_at_least_one_inherited_ace_grants_full_access(path, sid) function expects_at_least_one_inherited_system_ace_grants_full_access (line 1498) | def expects_at_least_one_inherited_system_ace_grants_full_access(path) function grant_everyone_full_access (line 1589) | def grant_everyone_full_access(path) function tmpfile_with_contents (line 1769) | def tmpfile_with_contents(name, contents) function file_in_dir_with_contents (line 1775) | def file_in_dir_with_contents(dir, name, contents) function pretty_transaction_error (line 1781) | def pretty_transaction_error(transaction) function verify_file (line 1934) | def verify_file(transaction) FILE: spec/integration/type/package_spec.rb function provider_name (line 9) | def provider_name(os) FILE: spec/integration/util/autoload_spec.rb class AutoloadIntegrator (line 6) | class AutoloadIntegrator method newthing (line 8) | def self.newthing(name) method thing? (line 12) | def self.thing?(name) method clear (line 16) | def self.clear function with_file (line 28) | def with_file(name, *path) function with_loader (line 38) | def with_loader(name, path) FILE: spec/integration/util/rdoc/parser_spec.rb function write_file (line 101) | def write_file(file, content) function prepare_manifests_and_modules (line 108) | def prepare_manifests_and_modules function file_exists_and_matches_content (line 114) | def file_exists_and_matches_content(file, *content_patterns) function some_file_exists_with_matching_content (line 122) | def some_file_exists_with_matching_content(glob, *content_patterns) function module_path (line 144) | def module_path(module_name) function plugin_path (line 148) | def plugin_path(module_name, type, name) function has_plugin_rdoc (line 152) | def has_plugin_rdoc(module_name, type, name) FILE: spec/integration/util/settings_spec.rb function minimal_default_settings (line 8) | def minimal_default_settings function define_settings (line 12) | def define_settings(section, settings_hash) FILE: spec/integration/util/windows/registry_spec.rb class TestRegistry (line 7) | class TestRegistry method write_corrupt_dword (line 15) | def write_corrupt_dword(reg, valuename) FILE: spec/integration/util/windows/security_spec.rb class WindowsSecurityTester (line 4) | class WindowsSecurityTester function set_group_depending_on_current_user (line 41) | def set_group_depending_on_current_user(path) function grant_everyone_full_access (line 54) | def grant_everyone_full_access(path) function check_access (line 787) | def check_access(mode, path) function check_read (line 807) | def check_read(path) function check_write (line 811) | def check_write(path) function check_execute (line 815) | def check_execute(path) function check_delete (line 819) | def check_delete(path) function check_access (line 858) | def check_access(mode, path) function check_read (line 878) | def check_read(path) function check_write (line 882) | def check_write(path) function check_execute (line 886) | def check_execute(path) function check_delete (line 890) | def check_delete(path) FILE: spec/integration/util/windows/user_spec.rb function expect_logon_failure_error (line 83) | def expect_logon_failure_error(&block) FILE: spec/lib/matchers/containment_matchers.rb type ContainmentMatchers (line 1) | module ContainmentMatchers class ContainClass (line 2) | class ContainClass method initialize (line 3) | def initialize(containee) method in (line 7) | def in(container) method matches? (line 12) | def matches?(catalog) method failure_message (line 27) | def failure_message function contain_class (line 49) | def contain_class(containee) FILE: spec/lib/matchers/include_in_order.rb function failure_message (line 13) | def failure_message function failure_message_when_negated (line 17) | def failure_message_when_negated FILE: spec/lib/matchers/json.rb type JSONMatchers (line 1) | module JSONMatchers class SetJsonAttribute (line 2) | class SetJsonAttribute method initialize (line 3) | def initialize(attributes) method format (line 7) | def format method json (line 11) | def json(instance) method attr_value (line 15) | def attr_value(attrs, instance) method to (line 25) | def to(value) method matches? (line 30) | def matches?(instance) method failure_message (line 40) | def failure_message method failure_message_when_negated (line 48) | def failure_message_when_negated class ReadJsonAttribute (line 57) | class ReadJsonAttribute method initialize (line 58) | def initialize(attribute) method format (line 62) | def format method from (line 66) | def from(value) method as (line 71) | def as(as) method matches? (line 76) | def matches?(klass) method failure_message (line 87) | def failure_message method failure_message_when_negated (line 95) | def failure_message_when_negated class SchemaMatcher (line 107) | class SchemaMatcher method initialize (line 110) | def initialize(schema) method matches? (line 114) | def matches?(json) function validate_against (line 120) | def validate_against(schema_file) function set_json_attribute (line 125) | def set_json_attribute(*attributes) function read_json_attribute (line 129) | def read_json_attribute(attribute) FILE: spec/lib/matchers/match_tokens2.rb function failure_message (line 15) | def failure_message function compare (line 53) | def compare(e, a) FILE: spec/lib/matchers/relationship_graph_matchers.rb type RelationshipGraphMatchers (line 1) | module RelationshipGraphMatchers class EnforceOrderWithEdge (line 2) | class EnforceOrderWithEdge method initialize (line 3) | def initialize(before, after) method matches? (line 8) | def matches?(actual_graph) method failure_message (line 22) | def failure_message method forward_failure_message (line 26) | def forward_failure_message method reverse_failure_message (line 32) | def reverse_failure_message method vertex_called (line 40) | def vertex_called(graph, name) function enforce_order_with_edge (line 45) | def enforce_order_with_edge(before, after) FILE: spec/lib/matchers/resource.rb type Matchers (line 1) | module Matchers; module Resource type Resource (line 1) | module Resource function resource_match (line 5) | def resource_match(expected_resource, actual_resource) function failure_message (line 49) | def failure_message function resource_match (line 56) | def resource_match(expected_resource, actual_resource) function failure_message (line 69) | def failure_message FILE: spec/lib/puppet/certificate_factory.rb type Puppet::CertificateFactory (line 7) | module Puppet::CertificateFactory function build (line 26) | def self.build(cert_type, csr, issuer, serial, ttl = 3600) function add_extensions_to (line 73) | def self.add_extensions_to(cert, csr, issuer, extensions) function build_ca_extensions (line 117) | def self.build_ca_extensions function build_terminalsubca_extensions (line 145) | def self.build_terminalsubca_extensions function build_server_extensions (line 153) | def self.build_server_extensions function build_ocsp_extensions (line 162) | def self.build_ocsp_extensions function build_client_extensions (line 171) | def self.build_client_extensions function generate_extension (line 195) | def self.generate_extension(ef, oid, val, crit = false) FILE: spec/lib/puppet/indirector/indirector_testing/json.rb class Puppet::IndirectorTesting::JSON (line 4) | class Puppet::IndirectorTesting::JSON < Puppet::Indirector::JSON FILE: spec/lib/puppet/indirector/indirector_testing/memory.rb class Puppet::IndirectorTesting::Memory (line 3) | class Puppet::IndirectorTesting::Memory < Puppet::Indirector::Memory method supports_remote_requests? (line 4) | def supports_remote_requests? FILE: spec/lib/puppet/indirector/indirector_testing/msgpack.rb class Puppet::IndirectorTesting::Msgpack (line 4) | class Puppet::IndirectorTesting::Msgpack < Puppet::Indirector::Msgpack FILE: spec/lib/puppet/indirector_proxy.rb class Puppet::IndirectorProxy (line 1) | class Puppet::IndirectorProxy class ProxyId (line 2) | class ProxyId method initialize (line 4) | def initialize(name) method initialize (line 14) | def initialize(value, proxyname) method indirection (line 19) | def self.indirection method from_binary (line 23) | def self.from_binary(raw) method from_data_hash (line 27) | def self.from_data_hash(data) method to_data_hash (line 31) | def to_data_hash FILE: spec/lib/puppet/indirector_testing.rb class Puppet::IndirectorTesting (line 3) | class Puppet::IndirectorTesting method initialize (line 12) | def initialize(value) method from_binary (line 16) | def self.from_binary(raw) method from_data_hash (line 20) | def self.from_data_hash(data) method to_binary (line 24) | def to_binary method to_data_hash (line 28) | def to_data_hash FILE: spec/lib/puppet/test_ca.rb type Puppet (line 1) | module Puppet class TestCa (line 2) | class TestCa method next_serial (line 18) | def self.next_serial method initialize (line 24) | def initialize(name = 'Test CA') method create_request (line 32) | def create_request(name) method create_cert (line 42) | def create_cert(name, issuer_cert, issuer_key, opts = {}) method create_intermediate_cert (line 58) | def create_intermediate_cert(name, issuer_cert, issuer_key) method create_cacert (line 68) | def create_cacert(name) method create_crl (line 79) | def create_crl(issuer_cert, issuer_key) method sign (line 94) | def sign(csr, opts = {}) method revoke (line 112) | def revoke(cert, crl = @crl, issuer_key = @key) method generate (line 123) | def generate(name, opts) method build_cert (line 131) | def build_cert(name, issuer, opts = {}) method extension_factory_for (line 150) | def extension_factory_for(ca, cert = nil) FILE: spec/lib/puppet_spec/character_encoding.rb type PuppetSpec::CharacterEncoding (line 2) | module PuppetSpec::CharacterEncoding function with_external_encoding (line 3) | def self.with_external_encoding(encoding, &blk) FILE: spec/lib/puppet_spec/compiler.rb type PuppetSpec::Compiler (line 1) | module PuppetSpec::Compiler function compile_to_catalog (line 4) | def compile_to_catalog(string, node = Puppet::Node.new('test')) function compile_to_catalog_unfiltered (line 11) | def compile_to_catalog_unfiltered(string, node = Puppet::Node.new('tes... function compile_to_ral (line 17) | def compile_to_ral(manifest, node = Puppet::Node.new('test')) function compile_to_relationship_graph (line 24) | def compile_to_relationship_graph(manifest, prioritizer = Puppet::Grap... function apply_compiled_manifest (line 31) | def apply_compiled_manifest(manifest, prioritizer = Puppet::Graph::Seq... function apply_with_error_check (line 45) | def apply_with_error_check(manifest) function order_resources_traversed_in (line 51) | def order_resources_traversed_in(relationships) function collect_notices (line 57) | def collect_notices(code, node = Puppet::Node.new('foonode')) function eval_and_collect_notices (line 69) | def eval_and_collect_notices(code, node = Puppet::Node.new('foonode'),... function evaluate (line 92) | def evaluate(code: 'undef', source: nil, node: Puppet::Node.new('testn... FILE: spec/lib/puppet_spec/files.rb type PuppetSpec::Files (line 7) | module PuppetSpec::Files function cleanup (line 8) | def self.cleanup function make_absolute (line 21) | def make_absolute(path) function tmpfile (line 27) | def tmpfile(name, dir = nil) function file_containing (line 35) | def file_containing(name, contents) function script_containing (line 41) | def script_containing(name, contents) function tmpdir (line 54) | def tmpdir(name) function make_tmpname (line 63) | def make_tmpname((prefix, suffix), n) function dir_containing (line 75) | def dir_containing(name, contents_hash) function dir_contained_in (line 79) | def dir_contained_in(dir, contents_hash) function record_tmp (line 92) | def record_tmp(tmp) function expect_file_mode (line 98) | def expect_file_mode(file, mode) FILE: spec/lib/puppet_spec/fixtures.rb type PuppetSpec::Fixtures (line 1) | module PuppetSpec::Fixtures function fixtures (line 2) | def fixtures(*rest) function my_fixture_dir (line 5) | def my_fixture_dir function my_fixture (line 13) | def my_fixture(name) function my_fixtures (line 20) | def my_fixtures(glob = '*', flags = 0) function pem_content (line 29) | def pem_content(name) function cert_fixture (line 33) | def cert_fixture(name) function crl_fixture (line 37) | def crl_fixture(name) function key_fixture (line 41) | def key_fixture(name) function ec_key_fixture (line 45) | def ec_key_fixture(name) function request_fixture (line 49) | def request_fixture(name) FILE: spec/lib/puppet_spec/handler.rb class PuppetSpec::Handler (line 3) | class PuppetSpec::Handler method initialize (line 6) | def initialize(* routes) method set_content_type (line 10) | def set_content_type(response, format) method set_response (line 14) | def set_response(response, body, status = 200) method http_method (line 19) | def http_method(request) method path (line 23) | def path(request) method params (line 27) | def params(request) method client_cert (line 31) | def client_cert(request) method body (line 35) | def body(request) method headers (line 39) | def headers(request) class PuppetSpec::HandlerProfiler (line 44) | class PuppetSpec::HandlerProfiler method start (line 45) | def start(metric, description) method finish (line 48) | def finish(context, metric, description) method shutdown (line 51) | def shutdown() FILE: spec/lib/puppet_spec/https.rb class PuppetSpec::HTTPSServer (line 4) | class PuppetSpec::HTTPSServer method initialize (line 9) | def initialize(ca_cert: nil, ca_crl: nil, server_key: nil, server_cert... method handle_request (line 17) | def handle_request(ctx, ssl, response_proc) method start_server (line 38) | def start_server(ctx_proc: nil, response_proc: nil, &block) FILE: spec/lib/puppet_spec/language.rb type PuppetSpec::Language (line 4) | module PuppetSpec::Language function produces (line 7) | def produces(expectations) function fails (line 59) | def fails(expectations) FILE: spec/lib/puppet_spec/module_tool/shared_functions.rb type PuppetSpec (line 3) | module PuppetSpec type ModuleTool (line 4) | module ModuleTool type SharedFunctions (line 5) | module SharedFunctions function remote_release (line 6) | def remote_release(name, version) function preinstall (line 10) | def preinstall(name, version, options = { :into => primary_dir }) function mark_changed (line 22) | def mark_changed(path) function graph_should_include (line 27) | def graph_should_include(name, options) function flatten_graph (line 47) | def flatten_graph(graph) function v (line 51) | def v(str) FILE: spec/lib/puppet_spec/module_tool/stub_source.rb type PuppetSpec (line 1) | module PuppetSpec type ModuleTool (line 2) | module ModuleTool class StubSource (line 3) | class StubSource < SemanticPuppet::Dependency::Source method inspect (line 4) | def inspect; "Stub Source"; end method host (line 5) | def host method fetch (line 9) | def fetch(name) method available_releases (line 13) | def available_releases FILE: spec/lib/puppet_spec/modules.rb type PuppetSpec::Modules (line 1) | module PuppetSpec::Modules function create (line 3) | def create(name, dir, options = {}) function generate_files (line 71) | def generate_files(name, dir, options = {}) FILE: spec/lib/puppet_spec/network.rb type PuppetSpec::Network (line 7) | module PuppetSpec::Network function not_found_error (line 8) | def not_found_error function not_acceptable_error (line 12) | def not_acceptable_error function bad_request_error (line 16) | def bad_request_error function not_authorized_error (line 20) | def not_authorized_error function method_not_allowed_error (line 24) | def method_not_allowed_error function unsupported_media_type_error (line 28) | def unsupported_media_type_error function params (line 32) | def params function acceptable_content_types (line 36) | def acceptable_content_types function acceptable_content_types_string (line 43) | def acceptable_content_types_string function acceptable_catalog_content_types (line 47) | def acceptable_catalog_content_types function master_url_prefix (line 54) | def master_url_prefix function ca_url_prefix (line 58) | def ca_url_prefix function a_request_that_heads (line 62) | def a_request_that_heads(data, request = {}, params = params()) function a_request_that_submits (line 74) | def a_request_that_submits(data, request = {}, params = params()) function a_request_that_destroys (line 87) | def a_request_that_destroys(data, request = {}, params = params()) function a_request_that_finds (line 100) | def a_request_that_finds(data, request = {}, params = params()) function a_request_that_searches (line 113) | def a_request_that_searches(data, request = {}, params = params()) FILE: spec/lib/puppet_spec/pops.rb type PuppetSpec::Pops (line 1) | module PuppetSpec::Pops FILE: spec/lib/puppet_spec/puppetserver.rb class PuppetSpec::Puppetserver (line 5) | class PuppetSpec::Puppetserver class NodeServlet (line 11) | class NodeServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 12) | def do_GET request, response class CatalogServlet (line 19) | class CatalogServlet < WEBrick::HTTPServlet::AbstractServlet method do_POST (line 20) | def do_POST request, response class FileMetadatasServlet (line 28) | class FileMetadatasServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 29) | def do_GET request, response class FileMetadataServlet (line 35) | class FileMetadataServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 36) | def do_GET request, response class FileContentServlet (line 42) | class FileContentServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 43) | def do_GET request, response class ReportServlet (line 48) | class ReportServlet < WEBrick::HTTPServlet::AbstractServlet method do_PUT (line 49) | def do_PUT request, response class StaticFileContentServlet (line 55) | class StaticFileContentServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 56) | def do_GET request, response class FilebucketServlet (line 61) | class FilebucketServlet < WEBrick::HTTPServlet::AbstractServlet method do_GET (line 62) | def do_GET request, response method do_PUT (line 65) | def do_PUT request, response method do_HEAD (line 71) | def do_HEAD request, response class CertificateServlet (line 76) | class CertificateServlet < WEBrick::HTTPServlet::AbstractServlet method initialize (line 77) | def initialize(server, ca_cert) method do_GET (line 82) | def do_GET request, response class CertificateRevocationListServlet (line 92) | class CertificateRevocationListServlet < WEBrick::HTTPServlet::Abstrac... method initialize (line 93) | def initialize(server, crl) method do_GET (line 98) | def do_GET request, response class CertificateRequestServlet (line 104) | class CertificateRequestServlet < WEBrick::HTTPServlet::AbstractServlet method do_PUT (line 105) | def do_PUT request, response method initialize (line 110) | def initialize method start_server (line 139) | def start_server(mounts: {}, &block) method register_mounts (line 153) | def register_mounts(mounts: {}) method register_mount (line 168) | def register_mount(path, user_proc, default_servlet, *args) method upload_directory (line 177) | def upload_directory FILE: spec/lib/puppet_spec/scope.rb type PuppetSpec::Scope (line 1) | module PuppetSpec::Scope function create_test_scope_for_node (line 4) | def create_test_scope_for_node(node_name) FILE: spec/lib/puppet_spec/settings.rb type PuppetSpec::Settings (line 1) | module PuppetSpec::Settings function set_puppet_conf (line 23) | def set_puppet_conf(confdir, settings) function set_environment_conf (line 28) | def set_environment_conf(environmentpath, environment, settings) function write_file (line 34) | def write_file(file, contents) FILE: spec/lib/puppet_spec/ssl.rb type PuppetSpec (line 3) | module PuppetSpec type SSL (line 4) | module SSL function create_private_key (line 31) | def self.create_private_key(length = PRIVATE_KEY_LENGTH) function self_signed_ca (line 35) | def self.self_signed_ca(key, name) function create_csr (line 59) | def self.create_csr(key, name) function sign (line 70) | def self.sign(ca_key, ca_cert, csr, extensions = NODE_EXTENSIONS) function create_crl_for (line 94) | def self.create_crl_for(ca_cert, ca_key) function revoke (line 113) | def self.revoke(serial, crl, ca_key) function create_chained_pki (line 177) | def self.create_chained_pki function just_now (line 249) | def self.just_now function extension_factory_for (line 253) | def self.extension_factory_for(ca, cert = nil) function bundle (line 261) | def self.bundle(*items) FILE: spec/lib/puppet_spec/unindent.rb class String (line 1) | class String method unindent (line 2) | def unindent(left_padding = '') FILE: spec/lib/puppet_spec/verbose.rb type Kernel (line 2) | module Kernel function with_verbose_disabled (line 3) | def with_verbose_disabled function with_verbose_enabled (line 12) | def with_verbose_enabled FILE: spec/shared_behaviours/hiera_indirections.rb function write_hiera_config (line 4) | def write_hiera_config(config_file, datadir) function request (line 16) | def request(key) FILE: spec/shared_behaviours/path_parameters.rb function instance (line 80) | def instance(path) FILE: spec/shared_contexts/checksum.rb function with_checksum_types (line 27) | def self.with_checksum_types(path, file, &block) FILE: spec/shared_contexts/digests.rb function with_digest_algorithms (line 18) | def self.with_digest_algorithms(&block) function digest (line 37) | def digest(content) function digest (line 52) | def digest(content) function digest (line 67) | def digest(content) function digest (line 82) | def digest(content) function digest (line 97) | def digest(content) FILE: spec/shared_contexts/l10n.rb class ::Object (line 16) | class ::Object FILE: spec/shared_contexts/types_setup.rb function all_types (line 5) | def self.all_types function all_types (line 45) | def all_types function abstract_types (line 52) | def self.abstract_types function abstract_types (line 74) | def abstract_types function internal_types (line 79) | def self.internal_types function internal_types (line 84) | def internal_types function scalar_data_types (line 89) | def self.scalar_data_types function scalar_data_types (line 102) | def scalar_data_types function scalar_types (line 107) | def self.scalar_types function scalar_types (line 125) | def scalar_types function numeric_types (line 129) | def self.numeric_types function numeric_types (line 137) | def numeric_types function string_types (line 141) | def self.string_types function string_types (line 149) | def string_types function collection_types (line 153) | def self.collection_types function collection_types (line 163) | def collection_types function data_compatible_types (line 167) | def self.data_compatible_types function data_compatible_types (line 176) | def data_compatible_types function rich_data_compatible_types (line 180) | def self.rich_data_compatible_types function rich_data_compatible_types (line 194) | def rich_data_compatible_types function type_from_class (line 198) | def self.type_from_class(c) function type_from_class (line 201) | def type_from_class(c) FILE: spec/spec_helper.rb type PuppetSpec (line 27) | module PuppetSpec function profile (line 223) | def profile FILE: spec/unit/agent/disabler_spec.rb class DisablerTester (line 5) | class DisablerTester FILE: spec/unit/agent/locker_spec.rb class LockerTester (line 5) | class LockerTester FILE: spec/unit/agent_spec.rb class AgentTestClient (line 5) | class AgentTestClient method initialize (line 6) | def initialize(transaction_uuid = nil, job_id = nil) method run (line 9) | def run(client_args) method stop (line 13) | def stop function controlled_run (line 27) | def controlled_run(&block) function processing (line 334) | def processing; end function handling (line 335) | def handling; end function run (line 337) | def run(client_options = {}) FILE: spec/unit/application/agent_spec.rb class TestAgentClientClass (line 7) | class TestAgentClientClass method initialize (line 8) | def initialize(transaction_uuid = nil, job_id = nil); end method run (line 9) | def run(options = {}); end function expected_fingerprint (line 559) | def expected_fingerprint(name, x509) function execute_agent (line 636) | def execute_agent FILE: spec/unit/application/apply_spec.rb function temporary_catalog (line 435) | def temporary_catalog(content = '"something"') FILE: spec/unit/application/config_spec.rb function initialize_app (line 21) | def initialize_app(args) function read_utf8 (line 27) | def read_utf8(path) function write_utf8 (line 31) | def write_utf8(path, content) FILE: spec/unit/application/face_base_spec.rb class Puppet::Application::FaceBase::Basetest (line 5) | class Puppet::Application::FaceBase::Basetest < Puppet::Application::Fac... FILE: spec/unit/application/indirection_base_spec.rb class Puppet::Application::TestIndirection (line 8) | class Puppet::Application::TestIndirection < Puppet::Application::Indire... FILE: spec/unit/application/lookup_spec.rb function run_lookup (line 7) | def run_lookup(lookup) FILE: spec/unit/application/resource_spec.rb function exists? (line 146) | def exists? function string= (line 150) | def string=(value) function string (line 153) | def string function instances (line 221) | def self.instances FILE: spec/unit/application/ssl_spec.rb function expects_command_to_pass (line 38) | def expects_command_to_pass(expected_output = nil) function expects_command_to_fail (line 44) | def expects_command_to_fail(message) FILE: spec/unit/application_spec.rb function handle_unknown (line 11) | def handle_unknown(opt, arg); end class TestApp (line 156) | class TestApp < Puppet::Application method run_command (line 158) | def run_command class InvalidRunModeTestApp (line 184) | class InvalidRunModeTestApp < Puppet::Application method run_command (line 186) | def run_command FILE: spec/unit/concurrent/thread_local_singleton_spec.rb class PuppetSpec::Singleton (line 4) | class PuppetSpec::Singleton FILE: spec/unit/configurer/downloader_spec.rb function downloader (line 27) | def downloader(options = {}) function generate_file_resource (line 34) | def generate_file_resource(options = {}) FILE: spec/unit/configurer/fact_handler_spec.rb class FactHandlerTester (line 6) | class FactHandlerTester method initialize (line 11) | def initialize(environment) method reload_facter (line 15) | def reload_facter FILE: spec/unit/configurer_spec.rb function method_missing (line 694) | def method_missing(*args) function expects_pluginsync (line 728) | def expects_pluginsync function expects_new_catalog_only (line 737) | def expects_new_catalog_only(catalog) function expects_cached_catalog_only (line 742) | def expects_cached_catalog_only(catalog) function expects_fallback_to_cached_catalog (line 747) | def expects_fallback_to_cached_catalog(catalog) function expects_fallback_to_new_catalog (line 752) | def expects_fallback_to_new_catalog(catalog) function expects_neither_new_or_cached_catalog (line 758) | def expects_neither_new_or_cached_catalog FILE: spec/unit/confine/false_spec.rb function cached_value_of (line 21) | def cached_value_of(confine) FILE: spec/unit/confine/true_spec.rb function cached_value_of (line 21) | def cached_value_of(confine) FILE: spec/unit/confine_spec.rb class Puppet::TestConfine (line 5) | class Puppet::TestConfine < Puppet::Confine method pass? (line 6) | def pass?(value) FILE: spec/unit/context/trusted_information_spec.rb function allow_external_trusted_data (line 39) | def allow_external_trusted_data(certname, data) FILE: spec/unit/daemon_spec.rb class RecordingScheduler (line 9) | class RecordingScheduler method run_loop (line 12) | def run_loop(jobs) FILE: spec/unit/data_providers/function_data_provider_spec.rb function data (line 85) | def data() function data (line 104) | def data() function parent_fixture (line 114) | def parent_fixture(dir_name) function resources_in (line 118) | def resources_in(catalog) FILE: spec/unit/data_providers/hiera_data_provider_spec.rb function compile_and_get_notifications (line 29) | def compile_and_get_notifications(environment, code = nil) function compile (line 33) | def compile(environment, code = nil) function extract_notifications (line 42) | def extract_notifications(catalog) function parent_fixture (line 354) | def parent_fixture(dir_name) function resources_in (line 358) | def resources_in(catalog) FILE: spec/unit/datatypes_spec.rb type PuppetSpec::DataTypes (line 6) | module PuppetSpec::DataTypes class ::PuppetSpec::DataTypes::MyTest (line 161) | class ::PuppetSpec::DataTypes::MyTest method initialize (line 164) | def initialize(name, year_of_birth) method age (line 169) | def age method [] (line 173) | def [](key) method == (line 186) | def ==(o) method create_new_function (line 251) | def self.create_new_function(t) method initialize (line 264) | def initialize(strings, ints) class ::PuppetSpec::DataTypes::MyTest (line 250) | class ::PuppetSpec::DataTypes::MyTest method initialize (line 164) | def initialize(name, year_of_birth) method age (line 169) | def age method [] (line 173) | def [](key) method == (line 186) | def ==(o) method create_new_function (line 251) | def self.create_new_function(t) method initialize (line 264) | def initialize(strings, ints) FILE: spec/unit/environments_spec.rb type FsRemove (line 8) | module FsRemove function remove (line 9) | def remove function with_guard (line 870) | def with_guard(cached, name, &block) function cached_loader_from (line 1121) | def cached_loader_from(options, &block) function loader_from (line 1135) | def loader_from(options, &block) function using_expiration_service (line 1147) | def using_expiration_service(service) function with_environment_loaded (line 1159) | def with_environment_loaded(service, &block) class ReplayExpirationService (line 1170) | class ReplayExpirationService < Puppet::Environments::Cached::DefaultCac... method initialize (line 1173) | def initialize method created (line 1178) | def created(env) method evicted (line 1182) | def evicted(env_name) FILE: spec/unit/face/config_spec.rb function render (line 8) | def render(action, result) function add_section_option (line 306) | def add_section_option(args, section) FILE: spec/unit/face/epp_face_spec.rb function from_an_interactive_terminal (line 377) | def from_an_interactive_terminal function from_a_piped_input_of (line 381) | def from_a_piped_input_of(contents) FILE: spec/unit/face/generate_spec.rb function from_an_interactive_terminal (line 290) | def from_an_interactive_terminal FILE: spec/unit/face/module/list_spec.rb function console_output (line 113) | def console_output(options={}) FILE: spec/unit/face/parser_spec.rb function from_an_interactive_terminal (line 302) | def from_an_interactive_terminal function from_a_piped_input_of (line 306) | def from_a_piped_input_of(contents) FILE: spec/unit/face/plugin_spec.rb function render (line 8) | def render(result) FILE: spec/unit/file_bucket/dipper_spec.rb function make_tmp_file (line 54) | def make_tmp_file(contents) FILE: spec/unit/file_serving/configuration/parser_spec.rb type FSConfigurationParserTesting (line 6) | module FSConfigurationParserTesting function write_config_file (line 7) | def write_config_file(content) FILE: spec/unit/file_serving/fileset_spec.rb function mock_dir_structure (line 147) | def mock_dir_structure(path, stat_method = :lstat) function mock_big_dir_structure (line 170) | def mock_big_dir_structure(path, stat_method = :lstat) function setup_mocks_for_dir (line 193) | def setup_mocks_for_dir(mock_dir, base_path) function setup_mocks_for_file (line 202) | def setup_mocks_for_file(mock_file, base_path) function setup_mocks_for_entry (line 207) | def setup_mocks_for_entry(entry, base_path) function directory? (line 218) | def directory? FILE: spec/unit/file_serving/metadata_spec.rb function set_mode (line 385) | def set_mode(mode, path) function set_mode (line 482) | def set_mode(mode, path) FILE: spec/unit/file_serving/mount/file_spec.rb type FileServingMountTesting (line 4) | module FileServingMountTesting function stub_facter (line 5) | def stub_facter(hostname) FILE: spec/unit/file_serving/terminus_helper_spec.rb class Puppet::FileServing::TestHelper (line 5) | class Puppet::FileServing::TestHelper method initialize (line 10) | def initialize(model) FILE: spec/unit/file_serving/terminus_selector_spec.rb class TestSelector (line 6) | class TestSelector function create_request (line 10) | def create_request(key) FILE: spec/unit/file_system/path_pattern_spec.rb function create_file_in (line 150) | def create_file_in(dir, name) FILE: spec/unit/file_system/uniquefile_spec.rb function tempfile (line 116) | def tempfile(*args, &block) FILE: spec/unit/file_system_spec.rb function with_file_content (line 15) | def with_file_content(content) function is_current_user_system? (line 29) | def is_current_user_system? function expects_public_file (line 33) | def expects_public_file(path) function expects_private_file (line 48) | def expects_private_file(path) function spawn_process_that_locks (line 231) | def spawn_process_that_locks(file) function increment_counter_in_multiple_processes (line 250) | def increment_counter_in_multiple_processes(file, num_procs, options) FILE: spec/unit/forge/module_release_spec.rb function mock_digest_file_with_md5 (line 31) | def mock_digest_file_with_md5(md5) function mock_release (line 129) | def mock_release(json) FILE: spec/unit/functions/assert_type_spec.rb function optional (line 51) | def optional(type_ref) function type (line 55) | def type(type_ref) FILE: spec/unit/functions/binary_file_spec.rb function with_file_content (line 11) | def with_file_content(content) FILE: spec/unit/functions/defined_spec.rb function newclass (line 25) | def newclass(name) function newdefine (line 29) | def newdefine(name) function newresource (line 33) | def newresource(type, title) FILE: spec/unit/functions/epp_spec.rb function eval_template_with_args (line 157) | def eval_template_with_args(content, args_hash) function eval_template (line 166) | def eval_template(content) function epp_function (line 175) | def epp_function() FILE: spec/unit/functions/find_file_spec.rb function with_file_content (line 11) | def with_file_content(content) FILE: spec/unit/functions/find_template_spec.rb function with_file_content (line 11) | def with_file_content(content) FILE: spec/unit/functions/hiera_spec.rb function with_scope (line 148) | def with_scope(code = 'undef') function func (line 160) | def func(*args, &block) FILE: spec/unit/functions/inline_epp_spec.rb function eval_template_with_args (line 108) | def eval_template_with_args(content, args_hash) function eval_template (line 112) | def eval_template(content) function epp_function (line 116) | def epp_function() FILE: spec/unit/functions/logging_spec.rb function collect_logs (line 7) | def collect_logs(code) function expect_log (line 20) | def expect_log(code, log_level, message) FILE: spec/unit/functions/lookup_fixture_spec.rb function assemble_and_compile (line 32) | def assemble_and_compile(fmt, *lookup_args, &block) function assemble_and_compile_with_block (line 36) | def assemble_and_compile_with_block(fmt, block, *lookup_args, &cblock) function compile_and_get_notifications (line 46) | def compile_and_get_notifications(code) FILE: spec/unit/functions/lookup_spec.rb function collect_notices (line 87) | def collect_notices(code, explain = false, &block) function lookup (line 116) | def lookup(key, options = {}, explain = false, type = nil) function explain (line 129) | def explain(key, options = {}) FILE: spec/unit/functions/match_spec.rb function variant_type (line 62) | def variant_type(*t) function alias_type (line 66) | def alias_type(name, t) function type (line 71) | def type(s) FILE: spec/unit/functions/regsubst_spec.rb function regsubst (line 16) | def regsubst(*args) FILE: spec/unit/functions/split_spec.rb function split (line 16) | def split(*args) FILE: spec/unit/functions/strftime_spec.rb function test_format (line 7) | def test_format(ctor_arg, format, expected) function test_timestamp_format (line 89) | def test_timestamp_format(ctor_arg, format, expected) function test_timestamp_format_tz (line 93) | def test_timestamp_format_tz(ctor_arg, format, tz, expected) function collect_log (line 97) | def collect_log(code, node = Puppet::Node.new('foonode')) FILE: spec/unit/functions/versioncmp_spec.rb function versioncmp (line 15) | def versioncmp(*args) FILE: spec/unit/functions4_spec.rb type FunctionAPISpecModule (line 7) | module FunctionAPISpecModule class TestDuck (line 8) | class TestDuck class TestFunctionLoader (line 11) | class TestFunctionLoader < Puppet::Pops::Loader::StaticLoader method initialize (line 12) | def initialize method add_function (line 16) | def add_function(name, function) method add_type (line 20) | def add_type(name, type) method set_entry (line 24) | def set_entry(typed_name, value, origin = nil) method load_constant (line 29) | def load_constant(typed_name) function parse_eval (line 42) | def parse_eval(code, here) function min (line 53) | def min(x,y) function test (line 77) | def test(x) function test (line 414) | def test() function test (line 426) | def test() function test (line 464) | def test(x) function create_noargs_function_class (line 664) | def create_noargs_function_class function create_min_function_class (line 672) | def create_min_function_class function create_max_function_class (line 680) | def create_max_function_class function create_badly_named_method_function_class (line 688) | def create_badly_named_method_function_class function create_min_function_class_using_dispatch (line 696) | def create_min_function_class_using_dispatch function create_min_function_class_disptaching_to_two_methods (line 708) | def create_min_function_class_disptaching_to_two_methods function create_function_with_optionals_and_repeated (line 731) | def create_function_with_optionals_and_repeated function create_function_with_optionals_and_repeated_via_dispatch (line 739) | def create_function_with_optionals_and_repeated_via_dispatch function create_function_with_optionals_and_repeated_via_multiple_dispatch (line 754) | def create_function_with_optionals_and_repeated_via_multiple_dispatch function create_function_with_required_repeated_via_dispatch (line 774) | def create_function_with_required_repeated_via_dispatch function create_function_with_repeated (line 787) | def create_function_with_repeated function create_function_with_optional_repeated (line 798) | def create_function_with_optional_repeated function create_function_with_required_repeated (line 809) | def create_function_with_required_repeated function create_function_with_inexact_dispatch (line 820) | def create_function_with_inexact_dispatch function create_function_with_rq_after_opt (line 838) | def create_function_with_rq_after_opt function create_function_with_rq_repeated_after_opt (line 850) | def create_function_with_rq_repeated_after_opt function create_function_with_param_after_repeated (line 862) | def create_function_with_param_after_repeated function create_function_with_required_block_all_defaults (line 895) | def create_function_with_required_block_all_defaults function create_function_with_scope_required_block_all_defaults (line 908) | def create_function_with_scope_required_block_all_defaults function create_function_with_required_block_default_type (line 922) | def create_function_with_required_block_default_type function create_function_with_scope_param_required_repeat (line 935) | def create_function_with_scope_param_required_repeat function create_function_with_required_block_given_type (line 948) | def create_function_with_required_block_given_type function create_function_with_required_block_fully_specified (line 960) | def create_function_with_required_block_fully_specified function create_function_with_optional_block_all_defaults (line 973) | def create_function_with_optional_block_all_defaults function create_function_with_no_parameter_dispatch (line 986) | def create_function_with_no_parameter_dispatch function create_function_with_mismatch_handler (line 1002) | def create_function_with_mismatch_handler function create_function_with_cache_param (line 1022) | def create_function_with_cache_param function type_alias_t (line 1038) | def type_alias_t(name, type_string) function get_binding (line 1043) | def get_binding(loader_injected_arg) FILE: spec/unit/graph/relationship_graph_spec.rb function collect_canceled_resources (line 170) | def collect_canceled_resources(relationships, trigger_on) function admissible_sentinel_of (line 237) | def admissible_sentinel_of(ref) function completed_sentinel_of (line 241) | def completed_sentinel_of(ref) function vertex_called (line 394) | def vertex_called(graph, name) function stub_vertex (line 398) | def stub_vertex(name) FILE: spec/unit/graph/simple_graph_spec.rb class FauxVertex (line 24) | class FauxVertex method ref (line 25) | def ref function add_edges (line 317) | def add_edges(hash) function simplify (line 323) | def simplify(cycles) function expect_cycle_to_include (line 331) | def expect_cycle_to_include(cycle, *resource_names) function empty_graph (line 571) | def empty_graph(graph) function one_vertex_graph (line 574) | def one_vertex_graph(graph) function graph_without_edges (line 578) | def graph_without_edges(graph) function one_edge_graph (line 582) | def one_edge_graph(graph) function many_edge_graph (line 586) | def many_edge_graph(graph) function labeled_edge_graph (line 593) | def labeled_edge_graph(graph) function overlapping_edge_graph (line 597) | def overlapping_edge_graph(graph) function all_test_graphs (line 602) | def self.all_test_graphs function object_ids (line 607) | def object_ids(enumerable) function graph_to_yaml (line 613) | def graph_to_yaml(graph, which_format) class Puppet::TestDerivedClass (line 734) | class Puppet::TestDerivedClass < Puppet::Graph::SimpleGraph method initialize_from_hash (line 737) | def initialize_from_hash(hash) method to_data_hash (line 742) | def to_data_hash FILE: spec/unit/http/client_spec.rb function expect_http_error (line 92) | def expect_http_error(cause, expected_message) function redirect_to (line 549) | def redirect_to(status: 302, url:) function retry_after (line 837) | def retry_after(datetime) FILE: spec/unit/http/external_client_spec.rb class Puppet::HTTP::TestExternal (line 7) | class Puppet::HTTP::TestExternal method initialize (line 8) | def initialize(host, port, options = {}) method get (line 15) | def get(path, headers = {}, options = {}) method post (line 20) | def post(path, data, headers = nil, options = {}) method do_request (line 25) | def do_request(request, options) FILE: spec/unit/http/factory_spec.rb function create_connection (line 12) | def create_connection(site) FILE: spec/unit/http/pool_entry_spec.rb function create_session (line 9) | def create_session(connection, expiration_time = nil) FILE: spec/unit/http/pool_spec.rb function create_pool (line 23) | def create_pool function create_pool_with_connections (line 27) | def create_pool_with_connections(site, *connections) function create_pool_with_http_connections (line 35) | def create_pool_with_http_connections(site, *connections) function create_pool_with_expired_connections (line 43) | def create_pool_with_expired_connections(site, *connections) function create_connection (line 53) | def create_connection(site) function create_http_connection (line 57) | def create_http_connection(site) FILE: spec/unit/http/proxy_spec.rb function expects_direct_connection_to (line 13) | def expects_direct_connection_to(http, www) function expects_proxy_connection_via (line 23) | def expects_proxy_connection_via(http, www, host, port, user, password) FILE: spec/unit/http/resolver_spec.rb function stub_srv (line 118) | def stub_srv(host, port) FILE: spec/unit/http/service_spec.rb class TestService (line 17) | class TestService < Puppet::HTTP::Service method get_test (line 18) | def get_test(ssl_context) method mime_types (line 26) | def mime_types(model) FILE: spec/unit/http/session_spec.rb function create_bad_service (line 15) | def create_bad_service(failure_message = 'whoops') class DummyResolver (line 21) | class DummyResolver < Puppet::HTTP::Resolver method initialize (line 24) | def initialize(service) method resolve (line 29) | def resolve(session, name, ssl_context: nil, canceled_handler: nil) FILE: spec/unit/http/site_spec.rb function create_site (line 10) | def create_site(scheme, host, port) FILE: spec/unit/indirector/catalog/compiler_spec.rb function set_facts (line 7) | def set_facts(fact_hash) function a_legacy_request_that_contains (line 309) | def a_legacy_request_that_contains(facts, format = :pson) function a_request_that_contains (line 316) | def a_request_that_contains(facts) function stubs_resource_metadata (line 595) | def stubs_resource_metadata(ftype, relative_path, full_path = nil) function stubs_file_metadata (line 609) | def stubs_file_metadata(checksum_type, sha, relative_path, full_path = nil) function stubs_link_metadata (line 616) | def stubs_link_metadata(relative_path, destination) function stubs_directory_metadata (line 622) | def stubs_directory_metadata(relative_path) FILE: spec/unit/indirector/catalog/rest_spec.rb function catalog_response (line 18) | def catalog_response(catalog) FILE: spec/unit/indirector/catalog/store_configs_spec.rb class Puppet::Resource::Catalog::StoreConfigsTesting (line 6) | class Puppet::Resource::Catalog::StoreConfigsTesting < Puppet::Indirecto... FILE: spec/unit/indirector/direct_file_server_spec.rb class Puppet::FileTestModel (line 7) | class Puppet::FileTestModel method initialize (line 11) | def initialize(path = '/', options = {}) class Puppet::FileTestModel::DirectFileServer (line 17) | class Puppet::FileTestModel::DirectFileServer < Puppet::Indirector::Dire... FILE: spec/unit/indirector/exec_spec.rb class Puppet::ExecTestModel (line 7) | class Puppet::ExecTestModel class Puppet::ExecTestModel::Exec (line 12) | class Puppet::ExecTestModel::Exec < Puppet::Indirector::Exec FILE: spec/unit/indirector/face_spec.rb function params (line 39) | def params(method, options) FILE: spec/unit/indirector/facts/facter_spec.rb class Puppet::Node::Facts::Facter::MyCollection (line 4) | class Puppet::Node::Facts::Facter::MyCollection < Hash; end FILE: spec/unit/indirector/facts/json_spec.rb function dir_containing_json_facts (line 6) | def dir_containing_json_facts(hash) function assert_search_matches (line 47) | def assert_search_matches(matching, nonmatching, query) function apply_timestamp (line 152) | def apply_timestamp(facts, timestamp) FILE: spec/unit/indirector/facts/rest_spec.rb function facts_response (line 20) | def facts_response(facts) FILE: spec/unit/indirector/facts/store_configs_spec.rb class Puppet::Node::Facts::StoreConfigsTesting (line 6) | class Puppet::Node::Facts::StoreConfigsTesting < Puppet::Indirector::Memory FILE: spec/unit/indirector/facts/yaml_spec.rb function dir_containing_facts (line 6) | def dir_containing_facts(hash) function assert_search_matches (line 47) | def assert_search_matches(matching, nonmatching, query) function apply_timestamp (line 152) | def apply_timestamp(facts, timestamp) FILE: spec/unit/indirector/file_bucket_file/file_spec.rb function save_bucket_file (line 12) | def save_bucket_file(contents, path = "/who_cares") function make_bucketed_file (line 376) | def make_bucketed_file FILE: spec/unit/indirector/file_content/rest_spec.rb function file_content_response (line 14) | def file_content_response FILE: spec/unit/indirector/file_metadata/rest_spec.rb function metadata_response (line 15) | def metadata_response(metadata) FILE: spec/unit/indirector/file_server_spec.rb class Puppet::FileTestModel (line 8) | class Puppet::FileTestModel method initialize (line 12) | def initialize(path = '/', options = {}) class Puppet::FileTestModel::FileServer (line 18) | class Puppet::FileTestModel::FileServer < Puppet::Indirector::FileServer FILE: spec/unit/indirector/hiera_spec.rb type Testing (line 13) | module Testing type DataBinding (line 14) | module DataBinding class Hiera (line 15) | class Hiera < Puppet::Indirector::Hiera FILE: spec/unit/indirector/indirection_spec.rb function authorized? (line 34) | def authorized? FILE: spec/unit/indirector/json_spec.rb function with_content (line 60) | def with_content(text) function request (line 166) | def request(glob) function create_file (line 170) | def create_file(name, value = 12) FILE: spec/unit/indirector/memory_spec.rb type Testing (line 15) | module Testing; end class Testing::MyMemory (line 16) | class Testing::MyMemory < Puppet::Indirector::Memory FILE: spec/unit/indirector/msgpack_spec.rb function with_content (line 60) | def with_content(text) function request (line 166) | def request(glob) function create_file (line 170) | def create_file(name, value = 12) FILE: spec/unit/indirector/node/rest_spec.rb function node_response (line 18) | def node_response(node) FILE: spec/unit/indirector/node/store_configs_spec.rb class Puppet::Node::StoreConfigsTesting (line 6) | class Puppet::Node::StoreConfigsTesting < Puppet::Indirector::Memory FILE: spec/unit/indirector/none_spec.rb type Testing (line 9) | module Testing; end class Testing::None (line 10) | class Testing::None < Puppet::Indirector::None FILE: spec/unit/indirector/plain_spec.rb type Testing (line 11) | module Testing; end class Testing::MyPlain (line 12) | class Testing::MyPlain < Puppet::Indirector::Plain FILE: spec/unit/indirector/report/rest_spec.rb function report_response (line 19) | def report_response FILE: spec/unit/indirector/request_spec.rb function request (line 275) | def request(options = {}) FILE: spec/unit/indirector/resource/ral_spec.rb function stub_retrieve (line 8) | def stub_retrieve(*instances) FILE: spec/unit/indirector/resource/store_configs_spec.rb class Puppet::Resource::StoreConfigsTesting (line 6) | class Puppet::Resource::StoreConfigsTesting < Puppet::Indirector::Memory FILE: spec/unit/indirector/rest_spec.rb class Puppet::TestModel (line 4) | class Puppet::TestModel class Puppet::TestModel::Rest (line 10) | class Puppet::TestModel::Rest < Puppet::Indirector::REST class Puppet::FailingTestModel (line 13) | class Puppet::FailingTestModel class Puppet::FailingTestModel::Rest (line 19) | class Puppet::FailingTestModel::Rest < Puppet::Indirector::REST method find (line 20) | def find(request) FILE: spec/unit/indirector/terminus_spec.rb class Puppet::AbstractConcept (line 8) | class Puppet::AbstractConcept method initialize (line 12) | def initialize(name = "name") class Puppet::AbstractConcept::Freedom (line 17) | class Puppet::AbstractConcept::Freedom < Puppet::Indirector::Code class Puppet::AbstractConcept::Physics (line 117) | class Puppet::AbstractConcept::Physics < Puppet::Indirector::Code class Puppet::AbstractConcept::Intellect (line 129) | class Puppet::AbstractConcept::Intellect < Puppet::Indirector::Code class Puppet::Indirector::Terminus::TestTerminusType (line 193) | class Puppet::Indirector::Terminus::TestTerminusType < Puppet::Indirecto... FILE: spec/unit/indirector/yaml_spec.rb class Puppet::YamlTestModel (line 9) | class Puppet::YamlTestModel method initialize (line 14) | def initialize(name) class Puppet::YamlTestModel::Yaml (line 19) | class Puppet::YamlTestModel::Yaml < Puppet::Indirector::Yaml; end function dir_containing_instances (line 128) | def dir_containing_instances(instances) FILE: spec/unit/indirector_spec.rb function name (line 83) | def self.name function initialize (line 88) | def initialize(name) function initialize (line 134) | def initialize(name) FILE: spec/unit/interface/action_manager_spec.rb class ActionManagerTester (line 5) | class ActionManagerTester function __invoke_decorations (line 79) | def __invoke_decorations(*args) true end function options (line 80) | def options() [] end FILE: spec/unit/interface/action_spec.rb class Puppet::Interface::MyInterfaceBaseClass (line 87) | class Puppet::Interface::MyInterfaceBaseClass < Puppet::Interface function add_options_to (line 244) | def add_options_to(&block) function reported (line 288) | def reported; @reported; end function report (line 289) | def report(arg) function reported (line 431) | def reported; @reported; end function report (line 432) | def report(arg) FILE: spec/unit/interface/documentation_spec.rb class Puppet::Interface::TinyDocs::Test (line 4) | class Puppet::Interface::TinyDocs::Test method initialize (line 7) | def initialize method get_option (line 13) | def get_option(name) FILE: spec/unit/interface_spec.rb function add_options_to (line 152) | def add_options_to(&block) FILE: spec/unit/module_spec.rb function a_module_with_metadata (line 852) | def a_module_with_metadata(data) FILE: spec/unit/module_tool/applications/installer_spec.rb function installer (line 41) | def installer(modname, target_dir, options) function options (line 56) | def options function options (line 89) | def options function options (line 110) | def options function options (line 134) | def options function options (line 179) | def options function options (line 221) | def options function options (line 232) | def options function options (line 253) | def options function options (line 265) | def options function options (line 279) | def options function options (line 329) | def options function options (line 339) | def options function options (line 372) | def options function options (line 397) | def options function options (line 418) | def options function options (line 431) | def options function options (line 441) | def options function options (line 462) | def options FILE: spec/unit/module_tool/applications/uninstaller_spec.rb function options (line 35) | def options function options (line 76) | def options function options (line 86) | def options function options (line 123) | def options function options (line 151) | def options FILE: spec/unit/module_tool/applications/upgrader_spec.rb function upgrader (line 40) | def upgrader(name, options = {}) function options (line 48) | def options function options (line 82) | def options function options (line 114) | def options function options (line 151) | def options function options (line 162) | def options function options (line 187) | def options function options (line 200) | def options function options (line 227) | def options function options (line 293) | def options FILE: spec/unit/module_tool/install_directory_spec.rb function expect_normal_results (line 5) | def expect_normal_results function the_directory (line 64) | def the_directory(name, options) FILE: spec/unit/module_tool/tar/mini_spec.rb class MockFileStatEntry (line 11) | class MockFileStatEntry method initialize (line 12) | def initialize(mode = 0100) function unpacks_the_entry (line 79) | def unpacks_the_entry(type, name, mode = 0100) FILE: spec/unit/network/format_handler_spec.rb function asdfghjkl (line 18) | def asdfghjkl; end function suitable_in_setup_formats (line 61) | def suitable_in_setup_formats(accepted) FILE: spec/unit/network/format_spec.rb class FormatRenderer (line 7) | class FormatRenderer method to_multiple_my_format (line 8) | def self.to_multiple_my_format(list) method from_multiple_my_format (line 11) | def self.from_multiple_my_format(text) method from_my_format (line 14) | def self.from_my_format(text) method to_my_format (line 17) | def to_my_format FILE: spec/unit/network/format_support_spec.rb class FormatTester (line 6) | class FormatTester FILE: spec/unit/network/formats_spec.rb class FormatsTest (line 6) | class FormatsTest method == (line 10) | def ==(other) method from_data_hash (line 14) | def self.from_data_hash(data) method initialize (line 18) | def initialize(string) method to_data_hash (line 22) | def to_data_hash(*args) method to_binary (line 28) | def to_binary method from_binary (line 32) | def self.from_binary(data) FILE: spec/unit/network/http/api/indirected_routes_spec.rb class Puppet::IndirectorTesting::Nonvalidatingmemory (line 335) | class Puppet::IndirectorTesting::Nonvalidatingmemory < Puppet::Indirecto... method validate_key (line 336) | def validate_key(_) FILE: spec/unit/network/http/api_spec.rb function respond (line 7) | def respond(text) FILE: spec/unit/network/http/connection_spec.rb function create_connection (line 423) | def create_connection(options = {}) function redirect_to (line 429) | def redirect_to(url) function expects_limit_exceeded (line 440) | def expects_limit_exceeded(conn) function retry_after (line 481) | def retry_after(datetime) FILE: spec/unit/network/http/handler_spec.rb function a_request (line 14) | def a_request(method = "HEAD", path = "/production/#{indirection.name}/u... function respond (line 30) | def respond(text) FILE: spec/unit/network/http/request_spec.rb function headers (line 11) | def headers function a_request (line 18) | def a_request(headers, body = "") FILE: spec/unit/network/http/route_spec.rb function request (line 7) | def request(method, path) function respond (line 14) | def respond(text) FILE: spec/unit/network/http_pool_spec.rb class Puppet::Network::HttpPool::FooClient (line 4) | class Puppet::Network::HttpPool::FooClient method initialize (line 5) | def initialize(host, port, options = {}) FILE: spec/unit/node/environment_spec.rb function assert_manifest_conflict (line 222) | def assert_manifest_conflict(expectation, envconf_manifest_value) FILE: spec/unit/node/facts_spec.rb class Alien (line 84) | class Alien function create_facts (line 138) | def create_facts(values = {}) function deserialize_yaml_facts (line 142) | def deserialize_yaml_facts(facts) FILE: spec/unit/node_spec.rb function from_json (line 190) | def from_json(json) FILE: spec/unit/parameter/path_spec.rb function instance (line 18) | def instance(path) FILE: spec/unit/parser/ast/block_expression_spec.rb class StackDepthAST (line 5) | class StackDepthAST < Puppet::Parser::AST method evaluate (line 7) | def evaluate(*options) function depth_probe (line 14) | def depth_probe function sequence_probe (line 18) | def sequence_probe(name) function block_of (line 24) | def block_of(children) function assert_all_at_same_depth (line 28) | def assert_all_at_same_depth(*probes) FILE: spec/unit/parser/compiler_spec.rb class CompilerTestResource (line 5) | class CompilerTestResource method initialize (line 8) | def initialize(type, title) method [] (line 13) | def [](attr) method ref (line 18) | def ref method evaluated? (line 22) | def evaluated? method builtin_type? (line 26) | def builtin_type? method virtual? (line 30) | def virtual? method class? (line 34) | def class? method stage? (line 38) | def stage? method evaluate (line 42) | def evaluate method file (line 45) | def file method line (line 49) | def line method resource_type (line 53) | def resource_type function resource (line 62) | def resource(type, title) function add_resource (line 365) | def add_resource(name, parent = nil) function define_class (line 642) | def define_class(name, parameters) function compile (line 648) | def compile FILE: spec/unit/parser/functions/create_resources_spec.rb function collect_notices (line 320) | def collect_notices(code) FILE: spec/unit/parser/functions/file_spec.rb function with_file_content (line 11) | def with_file_content(content) FILE: spec/unit/parser/functions/fqdn_rand_spec.rb function fqdn_rand (line 78) | def fqdn_rand(max, args = {}) FILE: spec/unit/parser/functions/generate_spec.rb function with_executor (line 3) | def with_executor FILE: spec/unit/parser/functions/inline_template_spec.rb function inline_template (line 33) | def inline_template(*templates) FILE: spec/unit/parser/functions/template_spec.rb function eval_template (line 88) | def eval_template(content) FILE: spec/unit/parser/functions_spec.rb function callable_functions_from (line 4) | def callable_functions_from(mod) FILE: spec/unit/parser/resource_spec.rb function mkresource (line 13) | def mkresource(args = {}) function param (line 27) | def param(name, value, source) function paramify (line 31) | def paramify(source, hash) function newclass (line 39) | def newclass(name) function newdefine (line 43) | def newdefine(name) function newnode (line 47) | def newnode(name) function resource_type (line 430) | def resource_type(name) FILE: spec/unit/parser/scope_spec.rb function newclass (line 257) | def newclass(name) function create_class_scope (line 261) | def create_class_scope(name) FILE: spec/unit/parser/templatewrapper_spec.rb function given_a_template_file (line 101) | def given_a_template_file(name, contents) FILE: spec/unit/parser/type_loader_spec.rb function mk_module (line 103) | def mk_module(basedir, name) function mk_manifests (line 109) | def mk_manifests(base, mod, files) FILE: spec/unit/pops/adaptable_spec.rb class ValueAdapter (line 5) | class ValueAdapter < Puppet::Pops::Adaptable::Adapter class OtherAdapter (line 9) | class OtherAdapter < Puppet::Pops::Adaptable::Adapter method create_adapter (line 11) | def OtherAdapter.create_adapter(o) type Farm (line 18) | module Farm class FarmAdapter (line 19) | class FarmAdapter < Puppet::Pops::Adaptable::Adapter class Duck (line 24) | class Duck FILE: spec/unit/pops/benchmark_spec.rb function code (line 10) | def code class StringWriter (line 21) | class StringWriter < String function json_dump (line 25) | def json_dump(model) FILE: spec/unit/pops/evaluator/access_ops_spec.rb function range (line 14) | def range(from, to) function float_range (line 18) | def float_range(from, to) function binary (line 22) | def binary(s) FILE: spec/unit/pops/evaluator/deferred_resolver_spec.rb function compile_and_resolve_catalog (line 15) | def compile_and_resolve_catalog(code, preprocess = false) FILE: spec/unit/pops/evaluator/evaluating_parser_spec.rb function test (line 1073) | def test(count) function test (line 1090) | def test(lambda_arg) function assert_no_undef (line 1107) | def assert_no_undef(x) function collect_notices (line 1634) | def collect_notices(code) FILE: spec/unit/pops/evaluator/evaluator_rspec_helper.rb type EvaluatorRspecHelper (line 6) | module EvaluatorRspecHelper function evaluate (line 17) | def evaluate in_top_scope, scopename="x", in_named_scope = nil, in_top... function evaluate_l (line 49) | def evaluate_l in_top_scope, in_local_scope = nil, in_top_scope_again ... FILE: spec/unit/pops/factory_rspec_helper.rb type FactoryRspecHelper (line 3) | module FactoryRspecHelper function literal (line 4) | def literal(x) function block (line 8) | def block(*args) function var (line 12) | def var(x) function fqn (line 16) | def fqn(x) function string (line 20) | def string(*args) function minus (line 24) | def minus(x) function IF (line 28) | def IF(test, then_expr, else_expr=nil) function UNLESS (line 32) | def UNLESS(test, then_expr, else_expr=nil) function CASE (line 36) | def CASE(test, *options) function WHEN (line 40) | def WHEN(values, block) function method_missing (line 44) | def method_missing(method, *args, &block) function MAP (line 53) | def MAP(match, value) function dump (line 57) | def dump(x) function unindent (line 61) | def unindent x FILE: spec/unit/pops/issues_spec.rb function fake_positioned (line 32) | def fake_positioned(number) function diagnostic (line 36) | def diagnostic(severity, number, args) function warning (line 45) | def warning(number, args = {}) function deprecation (line 49) | def deprecation(number, args = {}) function error (line 53) | def error(number, args = {}) FILE: spec/unit/pops/label_provider_spec.rb class TestLabelProvider (line 5) | class TestLabelProvider FILE: spec/unit/pops/loaders/dependency_loader_spec.rb function loader_for (line 114) | def loader_for(name, dir) function typed_name (line 119) | def typed_name(type, name) FILE: spec/unit/pops/loaders/environment_loader_spec.rb function load_or_nil (line 99) | def load_or_nil(type, name) FILE: spec/unit/pops/loaders/loader_spec.rb type Puppet::Pops (line 8) | module Puppet::Pops type Loader (line 9) | module Loader function tn (line 511) | def tn(type, name) FILE: spec/unit/pops/loaders/loaders_spec.rb function expect_loader_hierarchy (line 114) | def expect_loader_hierarchy(loaders, expected_loaders) function compile_and_get_notifications (line 285) | def compile_and_get_notifications(code) function environment_for (line 852) | def environment_for(*module_paths) function typed_name (line 856) | def typed_name(type, name) function config_dir (line 860) | def config_dir(config_name) FILE: spec/unit/pops/loaders/module_loaders_spec.rb function typed_name (line 205) | def typed_name(type, name) FILE: spec/unit/pops/loaders/static_loader_spec.rb function typed_name (line 65) | def typed_name(type, name) function resource_type (line 69) | def resource_type(name) FILE: spec/unit/pops/lookup/context_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Lookup (line 6) | module Lookup function compile_and_get_notices (line 286) | def compile_and_get_notices(code, scope_vars = {}) FILE: spec/unit/pops/lookup/interpolation_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops class InterpolationTestAdapter (line 8) | class InterpolationTestAdapter < Lookup::LookupAdapter method initialize (line 11) | def initialize(data, interpolator) method track (line 16) | def track(name) method lookup (line 19) | def lookup(name, lookup_invocation, merge) method lookup_lookup_options (line 29) | def lookup_lookup_options(_, _) function expect_lookup (line 44) | def expect_lookup(*keys) FILE: spec/unit/pops/lookup/lookup_spec.rb type Puppet::Pops (line 6) | module Puppet::Pops type Lookup (line 7) | module Lookup FILE: spec/unit/pops/merge_strategy_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops FILE: spec/unit/pops/model/pn_transformer_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Model (line 6) | module Model function call (line 9) | def call(name, *elements) function lit (line 50) | def lit(value) FILE: spec/unit/pops/parser/epp_parser_spec.rb type EppParserRspecHelper (line 6) | module EppParserRspecHelper function parse (line 8) | def parse(code) FILE: spec/unit/pops/parser/evaluating_parser_spec.rb function quote (line 15) | def quote(x) function evaluator (line 19) | def evaluator() function evaluate (line 23) | def evaluate(s) function test (line 27) | def test(x) function test_interpolate (line 31) | def test_interpolate(x, y) FILE: spec/unit/pops/parser/lexer2_spec.rb type EgrammarLexer2Spec (line 6) | module EgrammarLexer2Spec function tokens_scanned_from (line 7) | def tokens_scanned_from(s) function epp_tokens_scanned_from (line 13) | def epp_tokens_scanned_from(s) function expect_issue (line 493) | def expect_issue(code, issue) function expect_issue (line 802) | def expect_issue(code, issue) function expect_issue (line 823) | def expect_issue(code, issue) FILE: spec/unit/pops/parser/parser_rspec_helper.rb type ParserRspecHelper (line 5) | module ParserRspecHelper function parse (line 8) | def parse(code) function parse_epp (line 13) | def parse_epp(code) FILE: spec/unit/pops/parser/pn_parser_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Parser (line 6) | module Parser function entry (line 91) | def entry(k, v) function lit (line 95) | def lit(v) FILE: spec/unit/pops/pn_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type PN (line 6) | module PN function lit (line 142) | def lit(v) FILE: spec/unit/pops/puppet_stack_spec.rb class StackTraceTest (line 6) | class StackTraceTest method get_stacktrace (line 7) | def get_stacktrace method get_top_of_stack (line 11) | def get_top_of_stack method one_level (line 15) | def one_level method one_level_top (line 19) | def one_level_top method two_levels (line 23) | def two_levels method two_levels_top (line 27) | def two_levels_top method level2 (line 31) | def level2 method level2_top (line 35) | def level2_top method gets_block (line 39) | def gets_block(a, &block) method gets_args_and_block (line 43) | def gets_args_and_block(a, b, &block) method with_nil_file (line 47) | def with_nil_file method with_empty_string_file (line 51) | def with_empty_string_file FILE: spec/unit/pops/resource/resource_type_impl_spec.rb type Puppet::Pops (line 6) | module Puppet::Pops type Resource (line 7) | module Resource FILE: spec/unit/pops/serialization/packer_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Serialization (line 5) | module Serialization function write (line 12) | def write(*values) function read (line 20) | def read(count = nil) FILE: spec/unit/pops/serialization/serialization_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Serialization (line 5) | module Serialization function write (line 27) | def write(*values) function read (line 34) | def read function parse (line 38) | def parse(string) class DerivedArray (line 321) | class DerivedArray < Array method _pcore_type (line 324) | def self._pcore_type method register_ptype (line 328) | def self.register_ptype(loader, ir) method initialize (line 333) | def initialize(values) method values (line 337) | def values class DerivedHash (line 342) | class DerivedHash < Hash method _pcore_type (line 345) | def self._pcore_type method register_ptype (line 349) | def self.register_ptype(loader, ir) method initialize (line 354) | def initialize(_pcore_init_hash) method _pcore_init_hash (line 358) | def _pcore_init_hash FILE: spec/unit/pops/serialization/to_from_hr_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Serialization (line 5) | module Serialization function write (line 25) | def write(value) function write_raw (line 33) | def write_raw(value) function read (line 40) | def read function parse (line 44) | def parse(string) class DerivedArray (line 367) | class DerivedArray < Array method _pcore_type (line 370) | def self._pcore_type method register_ptype (line 374) | def self.register_ptype(loader, ir) method initialize (line 379) | def initialize(values) method values (line 383) | def values class DerivedHash (line 388) | class DerivedHash < Hash method _pcore_type (line 391) | def self._pcore_type method register_ptype (line 395) | def self.register_ptype(loader, ir) method initialize (line 400) | def initialize(_pcore_init_hash) method _pcore_init_hash (line 404) | def _pcore_init_hash FILE: spec/unit/pops/serialization/to_stringified_spec.rb function transform (line 13) | def transform(v) function eval_transform (line 17) | def eval_transform(source) class Alien (line 124) | class Alien FILE: spec/unit/pops/time/timespan_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Time (line 6) | module Time FILE: spec/unit/pops/time/timestamp_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Time (line 5) | module Time FILE: spec/unit/pops/types/deferred_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/error_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/iterable_spec.rb type Puppet::Pops::Types (line 4) | module Puppet::Pops::Types class TestUnboundedIterator (line 229) | class TestUnboundedIterator method step (line 233) | def step(step_size) FILE: spec/unit/pops/types/p_binary_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_init_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_object_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types function type_object_t (line 25) | def type_object_t(name, body_string) function parse_object (line 31) | def parse_object(name, body_string) function compile (line 978) | def compile(code) function find_parent (line 1643) | def find_parent(tc, parent_name) FILE: spec/unit/pops/types/p_sem_ver_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_sensitive_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_timespan_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_timestamp_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/p_type_set_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types function type_set_t (line 16) | def type_set_t(name, body_string, name_authority) function parse_type_set (line 32) | def parse_type_set(name, body, name_authority = Pcore::RUNTIME_NAME_... function compile (line 421) | def compile(code) FILE: spec/unit/pops/types/p_uri_type_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/types/recursion_guard_spec.rb type Puppet::Pops::Types (line 4) | module Puppet::Pops::Types FILE: spec/unit/pops/types/ruby_generator_spec.rb function root_binding (line 6) | def root_binding type Puppet::Pops (line 10) | module Puppet::Pops type Types (line 11) | module Types function source (line 533) | def source FILE: spec/unit/pops/types/string_converter_spec.rb function to_a (line 935) | def to_a function to_a (line 942) | def to_a function to_hash (line 954) | def to_hash FILE: spec/unit/pops/types/task_spec.rb type Puppet::Pops (line 6) | module Puppet::Pops type Types (line 7) | module Types function compile (line 50) | def compile(code = nil) FILE: spec/unit/pops/types/type_acceptor_spec.rb class PuppetSpec::TestTypeAcceptor (line 4) | class PuppetSpec::TestTypeAcceptor method initialize (line 8) | def initialize method visit (line 13) | def visit(type, guard) type Puppet::Pops::Types (line 19) | module Puppet::Pops::Types FILE: spec/unit/pops/types/type_asserter_spec.rb type Puppet::Pops::Types (line 4) | module Puppet::Pops::Types FILE: spec/unit/pops/types/type_calculator_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Types (line 5) | module Types function range_t (line 9) | def range_t(from, to) function pattern_t (line 13) | def pattern_t(*patterns) function regexp_t (line 17) | def regexp_t(pattern) function string_t (line 21) | def string_t(string = nil) function constrained_string_t (line 25) | def constrained_string_t(size_type) function callable_t (line 29) | def callable_t(*params) function all_callables_t (line 33) | def all_callables_t function enum_t (line 37) | def enum_t(*strings) function variant_t (line 41) | def variant_t(*types) function empty_variant_t (line 45) | def empty_variant_t() function type_alias_t (line 52) | def type_alias_t(name, type_string) function type_reference_t (line 57) | def type_reference_t(type_string) function integer_t (line 61) | def integer_t function array_t (line 65) | def array_t(t, s = nil) function empty_array_t (line 69) | def empty_array_t function hash_t (line 73) | def hash_t(k,v,s = nil) function data_t (line 77) | def data_t function factory (line 81) | def factory function collection_t (line 85) | def collection_t(size_type = nil) function tuple_t (line 89) | def tuple_t(*types) function constrained_tuple_t (line 93) | def constrained_tuple_t(size_type, *types) function struct_t (line 97) | def struct_t(type_hash) function any_t (line 101) | def any_t function optional_t (line 105) | def optional_t(t) function type_t (line 109) | def type_t(t) function not_undef_t (line 113) | def not_undef_t(t = nil) function undef_t (line 117) | def undef_t function unit_t (line 121) | def unit_t function runtime_t (line 126) | def runtime_t(t, c) function object_t (line 130) | def object_t(hash) function iterable_t (line 134) | def iterable_t(t = nil) function types (line 138) | def types function _pcore_type (line 298) | def self._pcore_type function _pcore_type (line 447) | def self._pcore_type function initialize (line 541) | def initialize(name) class Foo (line 1643) | class Foo class Bar (line 1646) | class Bar < Foo function foo (line 2097) | def foo(a) class Foo (line 2272) | class Foo FILE: spec/unit/pops/types/type_factory_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Types (line 5) | module Types FILE: spec/unit/pops/types/type_formatter_spec.rb type Puppet::Pops::Types (line 4) | module Puppet::Pops::Types function drop_indent (line 9) | def drop_indent(str) FILE: spec/unit/pops/types/type_mismatch_describer_spec.rb type Puppet::Pops (line 7) | module Puppet::Pops type Types (line 8) | module Types FILE: spec/unit/pops/types/type_parser_spec.rb type Puppet::Pops (line 4) | module Puppet::Pops type Types (line 5) | module Types function raise_the_parameter_error (line 424) | def raise_the_parameter_error(type, required, given) function raise_type_error_for (line 428) | def raise_type_error_for(type_name) function raise_unparameterized_error_for (line 432) | def raise_unparameterized_error_for(type_name) function the_type_parsed_from (line 436) | def the_type_parsed_from(type) function the_type_spec_for (line 440) | def the_type_spec_for(type) FILE: spec/unit/pops/types/types_spec.rb type Puppet::Pops (line 5) | module Puppet::Pops type Types (line 6) | module Types FILE: spec/unit/pops/validation_spec.rb class MockSourcePos (line 9) | class MockSourcePos method initialize (line 11) | def initialize(offset) FILE: spec/unit/pops/validator/validator_spec.rb function validate (line 14) | def validate(factory) function deprecation_count (line 19) | def deprecation_count(acceptor) function with_environment (line 23) | def with_environment(environment, env_params = {}) function issue (line 784) | def issue(at_top) function parse (line 1034) | def parse(source, path=nil) FILE: spec/unit/pops/visitor_spec.rb class DuckProcessor (line 6) | class DuckProcessor method initialize (line 7) | def initialize method hi (line 11) | def hi(o, *args) method friend_Duck (line 15) | def friend_Duck(o) method friend_Numeric (line 19) | def friend_Numeric(o) class Duck (line 24) | class Duck class DuckProcessor2 (line 57) | class DuckProcessor2 method initialize (line 58) | def initialize method hi (line 62) | def hi(o, *args) method friend_Duck (line 66) | def friend_Duck(o, drink, eat="grain") class Duck (line 71) | class Duck FILE: spec/unit/property_spec.rb function bad_method= (line 370) | def provider.bad_method=(value) FILE: spec/unit/provider/aix_object_spec.rb function clear_attributes (line 17) | def clear_attributes function mapped_objects (line 327) | def mapped_objects(type, input) function stub_attributes_property (line 728) | def stub_attributes_property(attributes) function set_property (line 732) | def set_property(puppet_property, aix_attribute, property_to_attribute, ... FILE: spec/unit/provider/command_spec.rb function which (line 18) | def which(path) FILE: spec/unit/provider/exec/posix_spec.rb function make_exe (line 6) | def make_exe FILE: spec/unit/provider/exec_spec.rb function ruby_exit_0 (line 61) | def ruby_exit_0 function echo_from_ruby_exit_0 (line 65) | def echo_from_ruby_exit_0(message) function echo_from_ruby_exit_1 (line 70) | def echo_from_ruby_exit_1(message) FILE: spec/unit/provider/file/windows_spec.rb class WindowsSecurity (line 4) | class WindowsSecurity FILE: spec/unit/provider/nameservice/directoryservice_spec.rb type Puppet::Util::Plist (line 3) | module Puppet::Util::Plist FILE: spec/unit/provider/nameservice_spec.rb function posixmethod (line 14) | def posixmethod(param) function modifycmd (line 18) | def modifycmd(param, value) FILE: spec/unit/provider/package/aptrpm_spec.rb function rpm_args (line 18) | def rpm_args FILE: spec/unit/provider/package/base_spec.rb function query (line 5) | def query; end FILE: spec/unit/provider/package/dpkg_spec.rb function dpkg_query_execution_returns (line 69) | def dpkg_query_execution_returns(output) function dpkg_query_execution_with_multiple_args_returns (line 73) | def dpkg_query_execution_with_multiple_args_returns(output, *args) function parser_test (line 300) | def parser_test(dpkg_output_string, gold_hash, number_of_debug_logs = 0) FILE: spec/unit/provider/package/openbsd_spec.rb function expect_read_from_pkgconf (line 8) | def expect_read_from_pkgconf(lines) function expect_pkgadd_with_source (line 14) | def expect_pkgadd_with_source(source) function expect_pkgadd_with_env_and_name (line 20) | def expect_pkgadd_with_env_and_name(source, &block) FILE: spec/unit/provider/package/pkg_spec.rb function it_should_respond_to (line 11) | def self.it_should_respond_to(*actions) FILE: spec/unit/provider/package/pkgng_spec.rb function run_in_catalog (line 27) | def run_in_catalog(*resources) FILE: spec/unit/provider/package/rpm_spec.rb function parser_test (line 387) | def parser_test(rpm_output_string, gold_hash, number_of_debug_logs = 0) FILE: spec/unit/provider/package/windows/msi_package_spec.rb function expect_installer (line 11) | def expect_installer FILE: spec/unit/provider/package/windows_spec.rb function expect_execute (line 20) | def expect_execute(command, status) FILE: spec/unit/provider/service/base_spec.rb function execute_command (line 28) | def execute_command(command, options) FILE: spec/unit/provider/service/smf_spec.rb function set_resource_params (line 7) | def set_resource_params(params = {}) function transition_service (line 219) | def transition_service(from, to, tries) function mark_property_for_syncing (line 368) | def mark_property_for_syncing(property, value) FILE: spec/unit/provider/service/upstart_spec.rb function given_contents_of (line 10) | def given_contents_of(file, content) function then_contents_of (line 16) | def then_contents_of(file) function lists_processes_as (line 20) | def lists_processes_as(output) FILE: spec/unit/provider/user/aix_spec.rb function call_parse_password (line 127) | def call_parse_password FILE: spec/unit/provider/user/directoryservice_spec.rb type Puppet::Util::Plist (line 4) | module Puppet::Util::Plist FILE: spec/unit/provider/user/user_role_add_spec.rb function write_fixture (line 257) | def write_fixture(content) FILE: spec/unit/provider_spec.rb function existing_command (line 3) | def existing_command function provider_of (line 881) | def provider_of(options = {}, &block) function expect_command_executed (line 889) | def expect_command_executed(name, path, *args) function allow_creation_of (line 896) | def allow_creation_of(command, environment = {}) function file_exists_and_is_executable (line 900) | def file_exists_and_is_executable(path) FILE: spec/unit/resource/catalog_spec.rb function resource_at (line 412) | def resource_at(type, name, file, line) function title_patterns (line 593) | def self.title_patterns FILE: spec/unit/resource/status_spec.rb function events_as_hashes (line 200) | def events_as_hashes(report) FILE: spec/unit/resource/type_spec.rb function wrap3x (line 177) | def wrap3x(expression) function parse_expression (line 181) | def parse_expression(expr_string) function number_expression (line 185) | def number_expression(number) function variable_expression (line 189) | def variable_expression(name) function matchref_expression (line 193) | def matchref_expression(number) function code (line 778) | def code(str) FILE: spec/unit/resource_spec.rb function expect_lookup (line 10) | def expect_lookup(key, options = {}) function ast_leaf (line 285) | def ast_leaf(value) function inject_and_set_defaults (line 294) | def inject_and_set_defaults(resource, scope) function title_patterns (line 1063) | def self.title_patterns function parameters_to_include (line 1144) | def self.parameters_to_include FILE: spec/unit/scheduler/scheduler_spec.rb class MockTimer (line 8) | class MockTimer method initialize (line 11) | def initialize(start=1729) method wait_for (line 16) | def wait_for(seconds) method now (line 21) | def now function one_time_job (line 26) | def one_time_job(interval) function disabled_job (line 30) | def disabled_job(interval) FILE: spec/unit/settings/config_file_spec.rb function the_parse_of (line 7) | def the_parse_of(*lines) FILE: spec/unit/settings/enum_setting_spec.rb function enum_setting_allowing (line 21) | def enum_setting_allowing(*values) FILE: spec/unit/settings/environment_conf_spec.rb function setup_environment_conf (line 6) | def setup_environment_conf(config, conf_hash) FILE: spec/unit/settings/file_setting_spec.rb function settings (line 12) | def settings(wanted_values = {}) FILE: spec/unit/settings/ini_file_spec.rb function a_config_file_containing (line 547) | def a_config_file_containing(text) FILE: spec/unit/settings_spec.rb function metadata (line 20) | def metadata(setting) function stub_config_with (line 32) | def stub_config_with(content) function assert_accessing_setting_is_deprecated (line 1382) | def assert_accessing_setting_is_deprecated(settings, setting) function a_user_type_for (line 2160) | def a_user_type_for(username) function a_group_type_for (line 2213) | def a_group_type_for(groupname) FILE: spec/unit/ssl/base_spec.rb class TestCertificate (line 5) | class TestCertificate < Puppet::SSL::Base function parse (line 93) | def parse(dn) function cn_from (line 97) | def cn_from(subject) FILE: spec/unit/ssl/certificate_spec.rb function sign_wrapped_cert (line 10) | def sign_wrapped_cert(cert) function build_cert (line 76) | def build_cert(opts) FILE: spec/unit/ssl/state_machine_spec.rb function expected_digest (line 38) | def expected_digest(name, content) function to_fingerprint (line 42) | def to_fingerprint(digest) function expect_lockfile_to_contain (line 217) | def expect_lockfile_to_contain(pid) function write_csr_attributes (line 774) | def write_csr_attributes(data) FILE: spec/unit/transaction/additional_resource_generator_spec.rb function eval_generate (line 36) | def eval_generate function generate (line 40) | def generate function eval_code (line 44) | def eval_code function generate (line 71) | def generate() function generate (line 90) | def generate() function find_vertex (line 104) | def find_vertex(graph, type, title) function relationships_after_eval_generating (line 322) | def relationships_after_eval_generating(manifest, resource_to_generate) function eval_generate_resources_in (line 331) | def eval_generate_resources_in(catalog, relationship_graph, resource_to_... function relationships_after_generating (line 497) | def relationships_after_generating(manifest, resource_to_generate) function generate_resources_in (line 503) | def generate_resources_in(catalog, relationship_graph, resource_to_gener... function relationship_graph_for (line 509) | def relationship_graph_for(catalog) function order_resources_traversed_in (line 515) | def order_resources_traversed_in(relationships) function failure_message (line 530) | def failure_message FILE: spec/unit/transaction/event_spec.rb class TestResource (line 5) | class TestResource method to_s (line 6) | def to_s method [] (line 9) | def [](v) FILE: spec/unit/transaction/persistence_spec.rb function write_state_file (line 41) | def write_state_file(contents) FILE: spec/unit/transaction/report_spec.rb function metric (line 317) | def metric(name, value) function add_statuses (line 325) | def add_statuses(count, type = :file) function expect_equivalent_reports (line 662) | def expect_equivalent_reports(tripped, report) function logs_as_strings (line 683) | def logs_as_strings(report) function metrics_as_hashes (line 687) | def metrics_as_hashes(report) function expect_equivalent_resource_statuses (line 693) | def expect_equivalent_resource_statuses(tripped, report) function generate_report (line 719) | def generate_report function generate_report_with_error (line 754) | def generate_report_with_error FILE: spec/unit/transaction/resource_harness_spec.rb function events_to_hash (line 66) | def events_to_hash(events) function make_stub_provider (line 76) | def make_stub_provider function an_ensurable_resource_reacting_as (line 163) | def an_ensurable_resource_reacting_as(behaviors) FILE: spec/unit/transaction_spec.rb function catalog_with_resource (line 12) | def catalog_with_resource(resource) function transaction_with_resource (line 18) | def transaction_with_resource(resource) function generate (line 27) | def generate function post_resource_eval (line 711) | def post_resource_eval function post_resource_eval (line 732) | def post_resource_eval FILE: spec/unit/type/exec_spec.rb function exec_tester (line 6) | def exec_tester(command, exitstatus = 0, rest = {}) function exec_stub (line 34) | def exec_stub(options = {}) function instance (line 359) | def instance(path) function test (line 379) | def test(command, valid) function instance (line 629) | def instance(path) FILE: spec/unit/type/filebucket_spec.rb function bucket (line 40) | def bucket(hash) FILE: spec/unit/type/group_spec.rb function exists? (line 64) | def exists? function members (line 80) | def members function members_insync? (line 84) | def members_insync?(current, should) function members_to_s (line 88) | def members_to_s(values) FILE: spec/unit/type/package_spec.rb type PackageEvaluationTesting (line 135) | module PackageEvaluationTesting function setprops (line 136) | def setprops(properties) FILE: spec/unit/type/resources_spec.rb function instances (line 9) | def self.instances FILE: spec/unit/type/schedule_spec.rb type ScheduleTesting (line 3) | module ScheduleTesting function diff (line 4) | def diff(unit, incr, method, count) function day (line 9) | def day(method, count) function hour (line 13) | def hour(method, count) function min (line 17) | def min(method, count) FILE: spec/unit/type/service_spec.rb function safely_load_service_type (line 3) | def safely_load_service_type function default_timeout (line 170) | def default_timeout function logonpassword= (line 194) | def logonpassword=(value) end function logonaccount_insync? (line 195) | def logonaccount_insync?(current) end FILE: spec/unit/type/tidy_spec.rb function lstat_is (line 486) | def lstat_is(path, stat) function lstat_raises (line 490) | def lstat_raises(path, error_class) FILE: spec/unit/type/user_spec.rb function create (line 9) | def create; end function delete (line 10) | def delete; end function exists? (line 11) | def exists?; get(:ensure) != :absent; end function flush (line 12) | def flush; end function instances (line 13) | def self.instances; []; end function create (line 519) | def create; check_valid_shell;end function shell= (line 520) | def shell=(value); check_valid_shell; end function delete (line 521) | def delete; end function exists? (line 522) | def exists?; get(:ensure) != :absent; end function flush (line 523) | def flush; end function instances (line 524) | def self.instances; []; end function check_valid_shell (line 525) | def check_valid_shell; end FILE: spec/unit/type_spec.rb function munge (line 14) | def munge(value) function post_compile (line 862) | def post_compile function title_patterns (line 1133) | def self.title_patterns function title (line 1151) | def title function instance (line 1155) | def self.instance(name, path) function instances (line 1159) | def self.instances function instance (line 1180) | def self.instance(name) function instances (line 1183) | def self.instances class TestEnsurableType (line 1218) | class TestEnsurableType < Puppet::Type method exists? (line 1219) | def exists?; end method create (line 1220) | def create; end method destroy (line 1221) | def destroy; end FILE: spec/unit/util/at_fork_spec.rb function stub_solaris_handler (line 31) | def stub_solaris_handler(stub_noop_too = false) function stub_noop_handler (line 120) | def stub_noop_handler(namespace_only = false) FILE: spec/unit/util/autoload_spec.rb function with_libdir (line 24) | def with_libdir(libdir) FILE: spec/unit/util/backups_spec.rb function lstat_path_as (line 127) | def lstat_path_as(path, ftype) FILE: spec/unit/util/command_line_utils/puppet_option_parser_spec.rb function parses (line 192) | def parses(option_case) FILE: spec/unit/util/errors_spec.rb class ErrorTester (line 5) | class ErrorTester FILE: spec/unit/util/execution_spec.rb function call_exec_posix (line 10) | def call_exec_posix(command, arguments, stdin, stdout, stderr) function call_exec_windows (line 14) | def call_exec_windows(command, arguments, stdin, stdout, stderr) function stub_process_wait (line 25) | def stub_process_wait(exitstatus) function expect_cwd_to_be (line 289) | def expect_cwd_to_be(cwd) FILE: spec/unit/util/ldap/connection_spec.rb class LDAP (line 7) | class LDAP class Conn (line 8) | class Conn method initialize (line 9) | def initialize(*args) class SSLConn (line 12) | class SSLConn < Conn; end FILE: spec/unit/util/lockfile_spec.rb type LockfileSpecHelper (line 5) | module LockfileSpecHelper function run_in_forks (line 6) | def self.run_in_forks(count, &blk) FILE: spec/unit/util/log/destinations_spec.rb function expects_message_with_type (line 213) | def expects_message_with_type(klass, level, eventlog_type, eventlog_id) FILE: spec/unit/util/log_spec.rb function log_notice (line 9) | def log_notice(message) FILE: spec/unit/util/logging_spec.rb class LoggingTester (line 12) | class LoggingTester class PuppetStackCreator (line 16) | class PuppetStackCreator method raise_error (line 17) | def raise_error(exception_class) method call_raiser (line 28) | def call_raiser(exception_class) method two_frames_and_a_raise (line 32) | def two_frames_and_a_raise(exception_class) method outer_rescue (line 36) | def outer_rescue(exception_class) method run (line 44) | def run(exception_class) function setup (line 592) | def setup(level, message) FILE: spec/unit/util/monkey_patches_spec.rb function with_root_certs (line 97) | def with_root_certs(certs) FILE: spec/unit/util/network_device/config_spec.rb function write_device_config (line 15) | def write_device_config(*lines) FILE: spec/unit/util/network_device/transport/base_spec.rb class TestTransport (line 6) | class TestTransport < Puppet::Util::NetworkDevice::Transport::Base FILE: spec/unit/util/network_device_spec.rb class Puppet::Util::NetworkDevice::Test (line 15) | class Puppet::Util::NetworkDevice::Test class Device (line 16) | class Device method initialize (line 17) | def initialize(device, options) FILE: spec/unit/util/package/version/range_spec.rb class IntegerVersion (line 4) | class IntegerVersion class ValidationFailure (line 5) | class ValidationFailure < ArgumentError; end method parse (line 10) | def self.parse(ver) method initialize (line 19) | def initialize(version) method <=> (line 23) | def <=>(other) FILE: spec/unit/util/posix_spec.rb class PosixTest (line 6) | class PosixTest function prepare_user_and_groups_env (line 42) | def prepare_user_and_groups_env(user, groups) FILE: spec/unit/util/profiler/aggregate_spec.rb class AggregateSimpleLog (line 44) | class AggregateSimpleLog method initialize (line 47) | def initialize method call (line 51) | def call(msg) FILE: spec/unit/util/profiler/around_profiler_spec.rb class TestAroundProfiler (line 48) | class TestAroundProfiler method start (line 51) | def start(description, metric_id) method finish (line 55) | def finish(context, description, metric_id) FILE: spec/unit/util/profiler/logging_spec.rb class TestLoggingProfiler (line 48) | class TestLoggingProfiler < Puppet::Util::Profiler::Logging method do_start (line 49) | def do_start(metric, description) method do_finish (line 53) | def do_finish(context, metric, description) class SimpleLog (line 58) | class SimpleLog method initialize (line 61) | def initialize method call (line 65) | def call(msg) FILE: spec/unit/util/profiler_spec.rb class TestProfiler (line 32) | class TestProfiler method start (line 35) | def start(description, metric_id) method finish (line 40) | def finish(context, description, metric_id) FILE: spec/unit/util/rpm_compare_spec.rb class RpmTest (line 7) | class RpmTest FILE: spec/unit/util/run_mode_spec.rb function as_root (line 267) | def as_root function as_non_root (line 272) | def as_non_root FILE: spec/unit/util/storage_spec.rb function write_state_file (line 106) | def write_state_file(contents) FILE: spec/unit/util/watched_file_spec.rb function create_file (line 45) | def create_file(name) function a_file_that_doesnt_exist (line 49) | def a_file_that_doesnt_exist FILE: spec/unit/util/watcher/periodic_watcher_spec.rb function a_watcher_reporting (line 33) | def a_watcher_reporting(*observed_values) function an_expired_timer (line 39) | def an_expired_timer(timeout) function an_unexpired_timer (line 43) | def an_unexpired_timer(timeout) function a_time_that_reports_expired_as (line 47) | def a_time_that_reports_expired_as(expired, timeout) FILE: spec/unit/util/watcher_spec.rb function ctime (line 9) | def ctime(time) FILE: spec/unit/util/windows/adsi_spec.rb function ads_userflags (line 341) | def ads_userflags(flag) FILE: spec/unit/util/windows/security_descriptor_spec.rb function empty_dacl (line 10) | def empty_dacl function system_ace_dacl (line 14) | def system_ace_dacl FILE: spec/unit/util/windows/service_spec.rb function service_state_str (line 12) | def service_state_str(state) function expect_successful_status_query_and_return (line 23) | def expect_successful_status_query_and_return(query_return) function expect_successful_status_queries_and_return (line 27) | def expect_successful_status_queries_and_return(*query_returns) function expect_successful_config_query_and_return (line 40) | def expect_successful_config_query_and_return(query_return) function expect_successful_config_query2_and_return (line 44) | def expect_successful_config_query2_and_return(param, query_return) FILE: spec/unit/util/windows/string_spec.rb function wide_string (line 7) | def wide_string(str) function converts_to_wide_string (line 11) | def converts_to_wide_string(string_value) FILE: spec/unit/util_spec.rb function set_mode (line 7) | def set_mode(mode, file) function get_mode (line 11) | def get_mode(file) function set_mode (line 15) | def set_mode(mode, file) function get_mode (line 19) | def get_mode(file) function withenv_utf8 (line 169) | def withenv_utf8(&block) FILE: spec/unit/x509/cert_provider_spec.rb function create_provider (line 7) | def create_provider(options) function expects_public_file (line 11) | def expects_public_file(path) function expects_private_file (line 26) | def expects_private_file(path) FILE: spec/unit/x509/pem_store_spec.rb class Puppet::X509::TestPemStore (line 5) | class Puppet::X509::TestPemStore function with_unreadable_file (line 14) | def with_unreadable_file function with_unwritable_file (line 23) | def with_unwritable_file(&block) function with_unwritable_file_win32 (line 31) | def with_unwritable_file_win32 function with_unwritable_file_posix (line 41) | def with_unwritable_file_posix FILE: yardoc/templates/default/method_details/html/setup.rb function init (line 1) | def init function format_method_detail_extras (line 5) | def format_method_detail_extras(object)