bolt 0.19.1 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bolt might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/bolt-modules/boltlib/lib/puppet/functions/puppetdb_query.rb +25 -0
- data/bolt-modules/boltlib/lib/puppet/functions/without_default_logging.rb +18 -0
- data/lib/bolt/cli.rb +1 -1
- data/lib/bolt/config.rb +1 -1
- data/lib/bolt/executor.rb +1 -1
- data/lib/bolt/puppetdb/client.rb +26 -19
- data/lib/bolt/transport/ssh/connection.rb +3 -1
- data/lib/bolt/version.rb +1 -1
- data/modules/canary/plans/init.pp +22 -1
- data/modules/facts/tasks/bash.sh +1 -1
- data/modules/facts/tasks/powershell.ps1 +1 -1
- data/modules/facts/tasks/ruby.rb +1 -1
- metadata +4 -1249
- data/modules/apply/tasks/resource.json +0 -18
- data/modules/apply/tasks/resource.rb +0 -98
- data/modules/package/tasks/init.json +0 -22
- data/modules/package/tasks/init.rb +0 -69
- data/modules/puppet_conf/tasks/init.json +0 -22
- data/modules/puppet_conf/tasks/init.rb +0 -43
- data/modules/service/tasks/init.json +0 -18
- data/modules/service/tasks/init.rb +0 -71
- data/modules/service/tasks/linux.json +0 -14
- data/modules/service/tasks/linux.sh +0 -45
- data/modules/service/tasks/windows.json +0 -14
- data/modules/service/tasks/windows.ps1 +0 -85
- data/vendored/facter/lib/facter.rb +0 -261
- data/vendored/facter/lib/facter/Cfkey.rb +0 -42
- data/vendored/facter/lib/facter/application.rb +0 -206
- data/vendored/facter/lib/facter/architecture.rb +0 -50
- data/vendored/facter/lib/facter/augeasversion.rb +0 -28
- data/vendored/facter/lib/facter/blockdevices.rb +0 -105
- data/vendored/facter/lib/facter/core/aggregate.rb +0 -220
- data/vendored/facter/lib/facter/core/directed_graph.rb +0 -46
- data/vendored/facter/lib/facter/core/execution.rb +0 -123
- data/vendored/facter/lib/facter/core/execution/base.rb +0 -81
- data/vendored/facter/lib/facter/core/execution/posix.rb +0 -50
- data/vendored/facter/lib/facter/core/execution/windows.rb +0 -57
- data/vendored/facter/lib/facter/core/logging.rb +0 -197
- data/vendored/facter/lib/facter/core/resolvable.rb +0 -94
- data/vendored/facter/lib/facter/core/suitable.rb +0 -113
- data/vendored/facter/lib/facter/dhcp_servers.rb +0 -45
- data/vendored/facter/lib/facter/domain.rb +0 -99
- data/vendored/facter/lib/facter/ec2.rb +0 -68
- data/vendored/facter/lib/facter/ec2/rest.rb +0 -137
- data/vendored/facter/lib/facter/facterversion.rb +0 -15
- data/vendored/facter/lib/facter/filesystems.rb +0 -45
- data/vendored/facter/lib/facter/fqdn.rb +0 -24
- data/vendored/facter/lib/facter/gce.rb +0 -16
- data/vendored/facter/lib/facter/gce/metadata.rb +0 -87
- data/vendored/facter/lib/facter/gid.rb +0 -25
- data/vendored/facter/lib/facter/hardwareisa.rb +0 -20
- data/vendored/facter/lib/facter/hardwaremodel.rb +0 -67
- data/vendored/facter/lib/facter/hostname.rb +0 -31
- data/vendored/facter/lib/facter/id.rb +0 -21
- data/vendored/facter/lib/facter/interfaces.rb +0 -58
- data/vendored/facter/lib/facter/ipaddress.rb +0 -169
- data/vendored/facter/lib/facter/ipaddress6.rb +0 -82
- data/vendored/facter/lib/facter/iphostnumber.rb +0 -29
- data/vendored/facter/lib/facter/kernel.rb +0 -22
- data/vendored/facter/lib/facter/kernelmajversion.rb +0 -23
- data/vendored/facter/lib/facter/kernelrelease.rb +0 -45
- data/vendored/facter/lib/facter/kernelversion.rb +0 -22
- data/vendored/facter/lib/facter/ldom.rb +0 -51
- data/vendored/facter/lib/facter/lsbdistcodename.rb +0 -20
- data/vendored/facter/lib/facter/lsbdistdescription.rb +0 -21
- data/vendored/facter/lib/facter/lsbdistid.rb +0 -20
- data/vendored/facter/lib/facter/lsbdistrelease.rb +0 -20
- data/vendored/facter/lib/facter/lsbmajdistrelease.rb +0 -22
- data/vendored/facter/lib/facter/lsbminordistrelease.rb +0 -22
- data/vendored/facter/lib/facter/lsbrelease.rb +0 -20
- data/vendored/facter/lib/facter/macaddress.rb +0 -99
- data/vendored/facter/lib/facter/macosx.rb +0 -56
- data/vendored/facter/lib/facter/manufacturer.rb +0 -68
- data/vendored/facter/lib/facter/memory.rb +0 -168
- data/vendored/facter/lib/facter/netmask.rb +0 -43
- data/vendored/facter/lib/facter/network.rb +0 -20
- data/vendored/facter/lib/facter/operatingsystem.rb +0 -24
- data/vendored/facter/lib/facter/operatingsystem/base.rb +0 -61
- data/vendored/facter/lib/facter/operatingsystem/cumuluslinux.rb +0 -27
- data/vendored/facter/lib/facter/operatingsystem/implementation.rb +0 -33
- data/vendored/facter/lib/facter/operatingsystem/linux.rb +0 -484
- data/vendored/facter/lib/facter/operatingsystem/osreleaselinux.rb +0 -28
- data/vendored/facter/lib/facter/operatingsystem/sunos.rb +0 -54
- data/vendored/facter/lib/facter/operatingsystem/vmkernel.rb +0 -11
- data/vendored/facter/lib/facter/operatingsystem/windows.rb +0 -43
- data/vendored/facter/lib/facter/operatingsystemmajrelease.rb +0 -31
- data/vendored/facter/lib/facter/operatingsystemrelease.rb +0 -29
- data/vendored/facter/lib/facter/os.rb +0 -98
- data/vendored/facter/lib/facter/osfamily.rb +0 -18
- data/vendored/facter/lib/facter/partitions.rb +0 -39
- data/vendored/facter/lib/facter/path.rb +0 -14
- data/vendored/facter/lib/facter/physicalprocessorcount.rb +0 -27
- data/vendored/facter/lib/facter/processor.rb +0 -52
- data/vendored/facter/lib/facter/processors.rb +0 -66
- data/vendored/facter/lib/facter/processors/os.rb +0 -244
- data/vendored/facter/lib/facter/ps.rb +0 -31
- data/vendored/facter/lib/facter/puppetversion.rb +0 -20
- data/vendored/facter/lib/facter/rackspace.rb +0 -37
- data/vendored/facter/lib/facter/rubyplatform.rb +0 -12
- data/vendored/facter/lib/facter/rubysitedir.rb +0 -15
- data/vendored/facter/lib/facter/rubyversion.rb +0 -12
- data/vendored/facter/lib/facter/selinux.rb +0 -154
- data/vendored/facter/lib/facter/ssh.rb +0 -73
- data/vendored/facter/lib/facter/system32.rb +0 -21
- data/vendored/facter/lib/facter/system_uptime.rb +0 -44
- data/vendored/facter/lib/facter/timezone.rb +0 -14
- data/vendored/facter/lib/facter/uniqueid.rb +0 -4
- data/vendored/facter/lib/facter/uptime.rb +0 -16
- data/vendored/facter/lib/facter/uptime_days.rb +0 -13
- data/vendored/facter/lib/facter/uptime_hours.rb +0 -13
- data/vendored/facter/lib/facter/uptime_seconds.rb +0 -20
- data/vendored/facter/lib/facter/util/architecture.rb +0 -19
- data/vendored/facter/lib/facter/util/collection.rb +0 -161
- data/vendored/facter/lib/facter/util/composite_loader.rb +0 -12
- data/vendored/facter/lib/facter/util/config.rb +0 -88
- data/vendored/facter/lib/facter/util/confine.rb +0 -66
- data/vendored/facter/lib/facter/util/dhcp_servers.rb +0 -58
- data/vendored/facter/lib/facter/util/directory_loader.rb +0 -88
- data/vendored/facter/lib/facter/util/ec2.rb +0 -106
- data/vendored/facter/lib/facter/util/fact.rb +0 -204
- data/vendored/facter/lib/facter/util/file_read.rb +0 -37
- data/vendored/facter/lib/facter/util/formatter.rb +0 -39
- data/vendored/facter/lib/facter/util/ip.rb +0 -340
- data/vendored/facter/lib/facter/util/ip/windows.rb +0 -215
- data/vendored/facter/lib/facter/util/loader.rb +0 -155
- data/vendored/facter/lib/facter/util/macaddress.rb +0 -43
- data/vendored/facter/lib/facter/util/macosx.rb +0 -73
- data/vendored/facter/lib/facter/util/manufacturer.rb +0 -99
- data/vendored/facter/lib/facter/util/memory.rb +0 -228
- data/vendored/facter/lib/facter/util/netmask.rb +0 -40
- data/vendored/facter/lib/facter/util/normalization.rb +0 -94
- data/vendored/facter/lib/facter/util/nothing_loader.rb +0 -12
- data/vendored/facter/lib/facter/util/operatingsystem.rb +0 -21
- data/vendored/facter/lib/facter/util/parser.rb +0 -168
- data/vendored/facter/lib/facter/util/partitions.rb +0 -47
- data/vendored/facter/lib/facter/util/partitions/linux.rb +0 -71
- data/vendored/facter/lib/facter/util/partitions/openbsd.rb +0 -40
- data/vendored/facter/lib/facter/util/plist.rb +0 -24
- data/vendored/facter/lib/facter/util/plist/generator.rb +0 -228
- data/vendored/facter/lib/facter/util/plist/parser.rb +0 -226
- data/vendored/facter/lib/facter/util/posix.rb +0 -16
- data/vendored/facter/lib/facter/util/processor.rb +0 -289
- data/vendored/facter/lib/facter/util/registry.rb +0 -11
- data/vendored/facter/lib/facter/util/resolution.rb +0 -160
- data/vendored/facter/lib/facter/util/solaris_zones.rb +0 -158
- data/vendored/facter/lib/facter/util/unix_root.rb +0 -5
- data/vendored/facter/lib/facter/util/uptime.rb +0 -83
- data/vendored/facter/lib/facter/util/values.rb +0 -109
- data/vendored/facter/lib/facter/util/virtual.rb +0 -212
- data/vendored/facter/lib/facter/util/vlans.rb +0 -21
- data/vendored/facter/lib/facter/util/windows.rb +0 -10
- data/vendored/facter/lib/facter/util/windows/api_types.rb +0 -135
- data/vendored/facter/lib/facter/util/windows/dir.rb +0 -43
- data/vendored/facter/lib/facter/util/windows/error.rb +0 -87
- data/vendored/facter/lib/facter/util/windows/process.rb +0 -294
- data/vendored/facter/lib/facter/util/windows/user.rb +0 -186
- data/vendored/facter/lib/facter/util/windows_root.rb +0 -7
- data/vendored/facter/lib/facter/util/wmi.rb +0 -49
- data/vendored/facter/lib/facter/util/xendomains.rb +0 -28
- data/vendored/facter/lib/facter/version.rb +0 -86
- data/vendored/facter/lib/facter/virtual.rb +0 -330
- data/vendored/facter/lib/facter/vlans.rb +0 -17
- data/vendored/facter/lib/facter/xendomains.rb +0 -20
- data/vendored/facter/lib/facter/zfs_version.rb +0 -14
- data/vendored/facter/lib/facter/zonename.rb +0 -6
- data/vendored/facter/lib/facter/zones.rb +0 -18
- data/vendored/facter/lib/facter/zpool_version.rb +0 -10
- data/vendored/hiera/lib/hiera.rb +0 -119
- data/vendored/hiera/lib/hiera/backend.rb +0 -360
- data/vendored/hiera/lib/hiera/backend/json_backend.rb +0 -58
- data/vendored/hiera/lib/hiera/backend/yaml_backend.rb +0 -63
- data/vendored/hiera/lib/hiera/config.rb +0 -97
- data/vendored/hiera/lib/hiera/console_logger.rb +0 -13
- data/vendored/hiera/lib/hiera/error.rb +0 -4
- data/vendored/hiera/lib/hiera/fallback_logger.rb +0 -41
- data/vendored/hiera/lib/hiera/filecache.rb +0 -86
- data/vendored/hiera/lib/hiera/interpolate.rb +0 -121
- data/vendored/hiera/lib/hiera/noop_logger.rb +0 -8
- data/vendored/hiera/lib/hiera/puppet_logger.rb +0 -17
- data/vendored/hiera/lib/hiera/recursive_guard.rb +0 -20
- data/vendored/hiera/lib/hiera/util.rb +0 -65
- data/vendored/hiera/lib/hiera/util/win32.rb +0 -40
- data/vendored/hiera/lib/hiera/version.rb +0 -89
- data/vendored/puppet/lib/hiera/puppet_function.rb +0 -84
- data/vendored/puppet/lib/hiera/scope.rb +0 -61
- data/vendored/puppet/lib/hiera_puppet.rb +0 -79
- data/vendored/puppet/lib/puppet.rb +0 -307
- data/vendored/puppet/lib/puppet/agent.rb +0 -134
- data/vendored/puppet/lib/puppet/agent/disabler.rb +0 -53
- data/vendored/puppet/lib/puppet/agent/locker.rb +0 -53
- data/vendored/puppet/lib/puppet/application.rb +0 -502
- data/vendored/puppet/lib/puppet/application/agent.rb +0 -473
- data/vendored/puppet/lib/puppet/application/apply.rb +0 -356
- data/vendored/puppet/lib/puppet/application/ca.rb +0 -11
- data/vendored/puppet/lib/puppet/application/catalog.rb +0 -4
- data/vendored/puppet/lib/puppet/application/cert.rb +0 -339
- data/vendored/puppet/lib/puppet/application/certificate.rb +0 -17
- data/vendored/puppet/lib/puppet/application/certificate_request.rb +0 -7
- data/vendored/puppet/lib/puppet/application/certificate_revocation_list.rb +0 -7
- data/vendored/puppet/lib/puppet/application/config.rb +0 -5
- data/vendored/puppet/lib/puppet/application/describe.rb +0 -257
- data/vendored/puppet/lib/puppet/application/device.rb +0 -378
- data/vendored/puppet/lib/puppet/application/doc.rb +0 -230
- data/vendored/puppet/lib/puppet/application/epp.rb +0 -5
- data/vendored/puppet/lib/puppet/application/face_base.rb +0 -268
- data/vendored/puppet/lib/puppet/application/facts.rb +0 -9
- data/vendored/puppet/lib/puppet/application/filebucket.rb +0 -300
- data/vendored/puppet/lib/puppet/application/generate.rb +0 -5
- data/vendored/puppet/lib/puppet/application/help.rb +0 -5
- data/vendored/puppet/lib/puppet/application/indirection_base.rb +0 -4
- data/vendored/puppet/lib/puppet/application/key.rb +0 -4
- data/vendored/puppet/lib/puppet/application/lookup.rb +0 -369
- data/vendored/puppet/lib/puppet/application/man.rb +0 -4
- data/vendored/puppet/lib/puppet/application/master.rb +0 -317
- data/vendored/puppet/lib/puppet/application/module.rb +0 -4
- data/vendored/puppet/lib/puppet/application/node.rb +0 -4
- data/vendored/puppet/lib/puppet/application/parser.rb +0 -5
- data/vendored/puppet/lib/puppet/application/plugin.rb +0 -3
- data/vendored/puppet/lib/puppet/application/report.rb +0 -4
- data/vendored/puppet/lib/puppet/application/resource.rb +0 -231
- data/vendored/puppet/lib/puppet/application/script.rb +0 -261
- data/vendored/puppet/lib/puppet/application/status.rb +0 -4
- data/vendored/puppet/lib/puppet/application_support.rb +0 -62
- data/vendored/puppet/lib/puppet/coercion.rb +0 -40
- data/vendored/puppet/lib/puppet/compilable_resource_type.rb +0 -15
- data/vendored/puppet/lib/puppet/configurer.rb +0 -464
- data/vendored/puppet/lib/puppet/configurer/downloader.rb +0 -67
- data/vendored/puppet/lib/puppet/configurer/fact_handler.rb +0 -46
- data/vendored/puppet/lib/puppet/configurer/plugin_handler.rb +0 -49
- data/vendored/puppet/lib/puppet/confine.rb +0 -80
- data/vendored/puppet/lib/puppet/confine/any.rb +0 -26
- data/vendored/puppet/lib/puppet/confine/exists.rb +0 -19
- data/vendored/puppet/lib/puppet/confine/false.rb +0 -19
- data/vendored/puppet/lib/puppet/confine/feature.rb +0 -17
- data/vendored/puppet/lib/puppet/confine/true.rb +0 -20
- data/vendored/puppet/lib/puppet/confine/variable.rb +0 -59
- data/vendored/puppet/lib/puppet/confine_collection.rb +0 -50
- data/vendored/puppet/lib/puppet/confiner.rb +0 -46
- data/vendored/puppet/lib/puppet/context.rb +0 -116
- data/vendored/puppet/lib/puppet/context/trusted_information.rb +0 -76
- data/vendored/puppet/lib/puppet/daemon.rb +0 -195
- data/vendored/puppet/lib/puppet/data_binding.rb +0 -14
- data/vendored/puppet/lib/puppet/datatypes.rb +0 -213
- data/vendored/puppet/lib/puppet/datatypes/error.rb +0 -21
- data/vendored/puppet/lib/puppet/datatypes/impl/error.rb +0 -40
- data/vendored/puppet/lib/puppet/defaults.rb +0 -2071
- data/vendored/puppet/lib/puppet/environments.rb +0 -511
- data/vendored/puppet/lib/puppet/error.rb +0 -110
- data/vendored/puppet/lib/puppet/etc.rb +0 -161
- data/vendored/puppet/lib/puppet/external/dot.rb +0 -319
- data/vendored/puppet/lib/puppet/external/nagios.rb +0 -46
- data/vendored/puppet/lib/puppet/external/nagios/base.rb +0 -472
- data/vendored/puppet/lib/puppet/external/nagios/parser.rb +0 -400
- data/vendored/puppet/lib/puppet/external/pson/common.rb +0 -374
- data/vendored/puppet/lib/puppet/external/pson/pure.rb +0 -15
- data/vendored/puppet/lib/puppet/external/pson/pure/generator.rb +0 -395
- data/vendored/puppet/lib/puppet/external/pson/pure/parser.rb +0 -307
- data/vendored/puppet/lib/puppet/external/pson/version.rb +0 -8
- data/vendored/puppet/lib/puppet/face.rb +0 -12
- data/vendored/puppet/lib/puppet/face/ca.rb +0 -266
- data/vendored/puppet/lib/puppet/face/catalog.rb +0 -130
- data/vendored/puppet/lib/puppet/face/catalog/select.rb +0 -49
- data/vendored/puppet/lib/puppet/face/certificate.rb +0 -165
- data/vendored/puppet/lib/puppet/face/certificate_request.rb +0 -56
- data/vendored/puppet/lib/puppet/face/certificate_revocation_list.rb +0 -56
- data/vendored/puppet/lib/puppet/face/config.rb +0 -210
- data/vendored/puppet/lib/puppet/face/epp.rb +0 -554
- data/vendored/puppet/lib/puppet/face/facts.rb +0 -87
- data/vendored/puppet/lib/puppet/face/generate.rb +0 -64
- data/vendored/puppet/lib/puppet/face/help.rb +0 -201
- data/vendored/puppet/lib/puppet/face/key.rb +0 -16
- data/vendored/puppet/lib/puppet/face/man.rb +0 -145
- data/vendored/puppet/lib/puppet/face/module.rb +0 -19
- data/vendored/puppet/lib/puppet/face/module/build.rb +0 -64
- data/vendored/puppet/lib/puppet/face/module/changes.rb +0 -42
- data/vendored/puppet/lib/puppet/face/module/generate.rb +0 -256
- data/vendored/puppet/lib/puppet/face/module/install.rb +0 -150
- data/vendored/puppet/lib/puppet/face/module/list.rb +0 -268
- data/vendored/puppet/lib/puppet/face/module/search.rb +0 -98
- data/vendored/puppet/lib/puppet/face/module/uninstall.rb +0 -93
- data/vendored/puppet/lib/puppet/face/module/upgrade.rb +0 -91
- data/vendored/puppet/lib/puppet/face/node.rb +0 -43
- data/vendored/puppet/lib/puppet/face/node/clean.rb +0 -96
- data/vendored/puppet/lib/puppet/face/parser.rb +0 -187
- data/vendored/puppet/lib/puppet/face/plugin.rb +0 -56
- data/vendored/puppet/lib/puppet/face/report.rb +0 -54
- data/vendored/puppet/lib/puppet/face/resource.rb +0 -53
- data/vendored/puppet/lib/puppet/face/status.rb +0 -51
- data/vendored/puppet/lib/puppet/feature/base.rb +0 -95
- data/vendored/puppet/lib/puppet/feature/bolt.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/cfpropertylist.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/eventlog.rb +0 -5
- data/vendored/puppet/lib/puppet/feature/hiera_eyaml.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/hocon.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/libuser.rb +0 -8
- data/vendored/puppet/lib/puppet/feature/msgpack.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/pe_license.rb +0 -4
- data/vendored/puppet/lib/puppet/feature/rack.rb +0 -19
- data/vendored/puppet/lib/puppet/feature/selinux.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/ssh.rb +0 -3
- data/vendored/puppet/lib/puppet/feature/telnet.rb +0 -9
- data/vendored/puppet/lib/puppet/feature/zlib.rb +0 -5
- data/vendored/puppet/lib/puppet/file_bucket.rb +0 -4
- data/vendored/puppet/lib/puppet/file_bucket/dipper.rb +0 -173
- data/vendored/puppet/lib/puppet/file_bucket/file.rb +0 -129
- data/vendored/puppet/lib/puppet/file_serving.rb +0 -3
- data/vendored/puppet/lib/puppet/file_serving/base.rb +0 -86
- data/vendored/puppet/lib/puppet/file_serving/configuration.rb +0 -115
- data/vendored/puppet/lib/puppet/file_serving/configuration/parser.rb +0 -137
- data/vendored/puppet/lib/puppet/file_serving/content.rb +0 -43
- data/vendored/puppet/lib/puppet/file_serving/fileset.rb +0 -174
- data/vendored/puppet/lib/puppet/file_serving/http_metadata.rb +0 -46
- data/vendored/puppet/lib/puppet/file_serving/metadata.rb +0 -163
- data/vendored/puppet/lib/puppet/file_serving/mount.rb +0 -39
- data/vendored/puppet/lib/puppet/file_serving/mount/file.rb +0 -121
- data/vendored/puppet/lib/puppet/file_serving/mount/locales.rb +0 -35
- data/vendored/puppet/lib/puppet/file_serving/mount/modules.rb +0 -24
- data/vendored/puppet/lib/puppet/file_serving/mount/pluginfacts.rb +0 -35
- data/vendored/puppet/lib/puppet/file_serving/mount/plugins.rb +0 -35
- data/vendored/puppet/lib/puppet/file_serving/mount/tasks.rb +0 -21
- data/vendored/puppet/lib/puppet/file_serving/terminus_helper.rb +0 -31
- data/vendored/puppet/lib/puppet/file_serving/terminus_selector.rb +0 -32
- data/vendored/puppet/lib/puppet/file_system.rb +0 -404
- data/vendored/puppet/lib/puppet/file_system/file_impl.rb +0 -154
- data/vendored/puppet/lib/puppet/file_system/memory_file.rb +0 -66
- data/vendored/puppet/lib/puppet/file_system/memory_impl.rb +0 -86
- data/vendored/puppet/lib/puppet/file_system/path_pattern.rb +0 -98
- data/vendored/puppet/lib/puppet/file_system/posix.rb +0 -46
- data/vendored/puppet/lib/puppet/file_system/uniquefile.rb +0 -190
- data/vendored/puppet/lib/puppet/file_system/windows.rb +0 -130
- data/vendored/puppet/lib/puppet/forge.rb +0 -242
- data/vendored/puppet/lib/puppet/forge/cache.rb +0 -60
- data/vendored/puppet/lib/puppet/forge/errors.rb +0 -114
- data/vendored/puppet/lib/puppet/forge/repository.rb +0 -155
- data/vendored/puppet/lib/puppet/functions.rb +0 -725
- data/vendored/puppet/lib/puppet/functions/alert.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/all.rb +0 -104
- data/vendored/puppet/lib/puppet/functions/annotate.rb +0 -108
- data/vendored/puppet/lib/puppet/functions/any.rb +0 -109
- data/vendored/puppet/lib/puppet/functions/assert_type.rb +0 -93
- data/vendored/puppet/lib/puppet/functions/binary_file.rb +0 -32
- data/vendored/puppet/lib/puppet/functions/break.rb +0 -51
- data/vendored/puppet/lib/puppet/functions/call.rb +0 -42
- data/vendored/puppet/lib/puppet/functions/contain.rb +0 -55
- data/vendored/puppet/lib/puppet/functions/convert_to.rb +0 -33
- data/vendored/puppet/lib/puppet/functions/crit.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/debug.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/defined.rb +0 -159
- data/vendored/puppet/lib/puppet/functions/dig.rb +0 -47
- data/vendored/puppet/lib/puppet/functions/each.rb +0 -169
- data/vendored/puppet/lib/puppet/functions/emerg.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/empty.rb +0 -79
- data/vendored/puppet/lib/puppet/functions/epp.rb +0 -48
- data/vendored/puppet/lib/puppet/functions/err.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/eyaml_lookup_key.rb +0 -96
- data/vendored/puppet/lib/puppet/functions/filter.rb +0 -143
- data/vendored/puppet/lib/puppet/functions/find_file.rb +0 -44
- data/vendored/puppet/lib/puppet/functions/flatten.rb +0 -64
- data/vendored/puppet/lib/puppet/functions/hiera.rb +0 -88
- data/vendored/puppet/lib/puppet/functions/hiera_array.rb +0 -81
- data/vendored/puppet/lib/puppet/functions/hiera_hash.rb +0 -92
- data/vendored/puppet/lib/puppet/functions/hiera_include.rb +0 -104
- data/vendored/puppet/lib/puppet/functions/hocon_data.rb +0 -41
- data/vendored/puppet/lib/puppet/functions/import.rb +0 -7
- data/vendored/puppet/lib/puppet/functions/include.rb +0 -53
- data/vendored/puppet/lib/puppet/functions/info.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/inline_epp.rb +0 -59
- data/vendored/puppet/lib/puppet/functions/join.rb +0 -56
- data/vendored/puppet/lib/puppet/functions/json_data.rb +0 -33
- data/vendored/puppet/lib/puppet/functions/keys.rb +0 -25
- data/vendored/puppet/lib/puppet/functions/length.rb +0 -44
- data/vendored/puppet/lib/puppet/functions/lest.rb +0 -55
- data/vendored/puppet/lib/puppet/functions/lookup.rb +0 -223
- data/vendored/puppet/lib/puppet/functions/map.rb +0 -136
- data/vendored/puppet/lib/puppet/functions/match.rb +0 -120
- data/vendored/puppet/lib/puppet/functions/module_directory.rb +0 -41
- data/vendored/puppet/lib/puppet/functions/new.rb +0 -1022
- data/vendored/puppet/lib/puppet/functions/next.rb +0 -23
- data/vendored/puppet/lib/puppet/functions/notice.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/reduce.rb +0 -164
- data/vendored/puppet/lib/puppet/functions/regsubst.rb +0 -82
- data/vendored/puppet/lib/puppet/functions/require.rb +0 -77
- data/vendored/puppet/lib/puppet/functions/return.rb +0 -22
- data/vendored/puppet/lib/puppet/functions/reverse_each.rb +0 -94
- data/vendored/puppet/lib/puppet/functions/scanf.rb +0 -44
- data/vendored/puppet/lib/puppet/functions/slice.rb +0 -124
- data/vendored/puppet/lib/puppet/functions/split.rb +0 -49
- data/vendored/puppet/lib/puppet/functions/step.rb +0 -98
- data/vendored/puppet/lib/puppet/functions/strftime.rb +0 -217
- data/vendored/puppet/lib/puppet/functions/then.rb +0 -77
- data/vendored/puppet/lib/puppet/functions/tree_each.rb +0 -200
- data/vendored/puppet/lib/puppet/functions/type.rb +0 -72
- data/vendored/puppet/lib/puppet/functions/unique.rb +0 -132
- data/vendored/puppet/lib/puppet/functions/unwrap.rb +0 -44
- data/vendored/puppet/lib/puppet/functions/values.rb +0 -25
- data/vendored/puppet/lib/puppet/functions/versioncmp.rb +0 -36
- data/vendored/puppet/lib/puppet/functions/warning.rb +0 -14
- data/vendored/puppet/lib/puppet/functions/with.rb +0 -32
- data/vendored/puppet/lib/puppet/functions/yaml_data.rb +0 -42
- data/vendored/puppet/lib/puppet/generate/models/type/property.rb +0 -70
- data/vendored/puppet/lib/puppet/generate/models/type/type.rb +0 -62
- data/vendored/puppet/lib/puppet/generate/type.rb +0 -239
- data/vendored/puppet/lib/puppet/gettext/config.rb +0 -252
- data/vendored/puppet/lib/puppet/gettext/module_translations.rb +0 -42
- data/vendored/puppet/lib/puppet/gettext/stubs.rb +0 -11
- data/vendored/puppet/lib/puppet/graph.rb +0 -11
- data/vendored/puppet/lib/puppet/graph/key.rb +0 -26
- data/vendored/puppet/lib/puppet/graph/prioritizer.rb +0 -29
- data/vendored/puppet/lib/puppet/graph/random_prioritizer.rb +0 -16
- data/vendored/puppet/lib/puppet/graph/rb_tree_map.rb +0 -388
- data/vendored/puppet/lib/puppet/graph/relationship_graph.rb +0 -283
- data/vendored/puppet/lib/puppet/graph/sequential_prioritizer.rb +0 -31
- data/vendored/puppet/lib/puppet/graph/simple_graph.rb +0 -539
- data/vendored/puppet/lib/puppet/graph/title_hash_prioritizer.rb +0 -16
- data/vendored/puppet/lib/puppet/indirector.rb +0 -61
- data/vendored/puppet/lib/puppet/indirector/catalog/compiler.rb +0 -418
- data/vendored/puppet/lib/puppet/indirector/catalog/json.rb +0 -24
- data/vendored/puppet/lib/puppet/indirector/catalog/msgpack.rb +0 -6
- data/vendored/puppet/lib/puppet/indirector/catalog/rest.rb +0 -6
- data/vendored/puppet/lib/puppet/indirector/catalog/store_configs.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/catalog/yaml.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate/ca.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/certificate/disabled_ca.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate/file.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/certificate/rest.rb +0 -16
- data/vendored/puppet/lib/puppet/indirector/certificate_request/ca.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate_request/file.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/certificate_request/memory.rb +0 -6
- data/vendored/puppet/lib/puppet/indirector/certificate_request/rest.rb +0 -10
- data/vendored/puppet/lib/puppet/indirector/certificate_revocation_list/ca.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate_revocation_list/file.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/certificate_revocation_list/rest.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/certificate_status.rb +0 -4
- data/vendored/puppet/lib/puppet/indirector/certificate_status/file.rb +0 -91
- data/vendored/puppet/lib/puppet/indirector/certificate_status/rest.rb +0 -11
- data/vendored/puppet/lib/puppet/indirector/code.rb +0 -6
- data/vendored/puppet/lib/puppet/indirector/data_binding/hiera.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/data_binding/none.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/direct_file_server.rb +0 -17
- data/vendored/puppet/lib/puppet/indirector/envelope.rb +0 -11
- data/vendored/puppet/lib/puppet/indirector/errors.rb +0 -5
- data/vendored/puppet/lib/puppet/indirector/exec.rb +0 -38
- data/vendored/puppet/lib/puppet/indirector/face.rb +0 -153
- data/vendored/puppet/lib/puppet/indirector/facts/facter.rb +0 -88
- data/vendored/puppet/lib/puppet/indirector/facts/memory.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/facts/network_device.rb +0 -27
- data/vendored/puppet/lib/puppet/indirector/facts/rest.rb +0 -21
- data/vendored/puppet/lib/puppet/indirector/facts/store_configs.rb +0 -11
- data/vendored/puppet/lib/puppet/indirector/facts/yaml.rb +0 -82
- data/vendored/puppet/lib/puppet/indirector/file_bucket_file/file.rb +0 -262
- data/vendored/puppet/lib/puppet/indirector/file_bucket_file/rest.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/file_bucket_file/selector.rb +0 -53
- data/vendored/puppet/lib/puppet/indirector/file_content.rb +0 -5
- data/vendored/puppet/lib/puppet/indirector/file_content/file.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/file_content/file_server.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/file_content/http.rb +0 -17
- data/vendored/puppet/lib/puppet/indirector/file_content/rest.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/file_content/selector.rb +0 -30
- data/vendored/puppet/lib/puppet/indirector/file_metadata.rb +0 -5
- data/vendored/puppet/lib/puppet/indirector/file_metadata/file.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/file_metadata/file_server.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/file_metadata/http.rb +0 -27
- data/vendored/puppet/lib/puppet/indirector/file_metadata/rest.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/file_metadata/selector.rb +0 -30
- data/vendored/puppet/lib/puppet/indirector/file_server.rb +0 -59
- data/vendored/puppet/lib/puppet/indirector/generic_http.rb +0 -16
- data/vendored/puppet/lib/puppet/indirector/hiera.rb +0 -94
- data/vendored/puppet/lib/puppet/indirector/indirection.rb +0 -344
- data/vendored/puppet/lib/puppet/indirector/json.rb +0 -75
- data/vendored/puppet/lib/puppet/indirector/key/ca.rb +0 -16
- data/vendored/puppet/lib/puppet/indirector/key/disabled_ca.rb +0 -22
- data/vendored/puppet/lib/puppet/indirector/key/file.rb +0 -50
- data/vendored/puppet/lib/puppet/indirector/key/memory.rb +0 -6
- data/vendored/puppet/lib/puppet/indirector/ldap.rb +0 -80
- data/vendored/puppet/lib/puppet/indirector/memory.rb +0 -34
- data/vendored/puppet/lib/puppet/indirector/msgpack.rb +0 -83
- data/vendored/puppet/lib/puppet/indirector/node/exec.rb +0 -71
- data/vendored/puppet/lib/puppet/indirector/node/ldap.rb +0 -275
- data/vendored/puppet/lib/puppet/indirector/node/memory.rb +0 -10
- data/vendored/puppet/lib/puppet/indirector/node/msgpack.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/node/plain.rb +0 -21
- data/vendored/puppet/lib/puppet/indirector/node/rest.rb +0 -7
- data/vendored/puppet/lib/puppet/indirector/node/store_configs.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/node/write_only_yaml.rb +0 -39
- data/vendored/puppet/lib/puppet/indirector/node/yaml.rb +0 -13
- data/vendored/puppet/lib/puppet/indirector/none.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/plain.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/report/msgpack.rb +0 -11
- data/vendored/puppet/lib/puppet/indirector/report/processor.rb +0 -59
- data/vendored/puppet/lib/puppet/indirector/report/rest.rb +0 -28
- data/vendored/puppet/lib/puppet/indirector/report/yaml.rb +0 -11
- data/vendored/puppet/lib/puppet/indirector/request.rb +0 -278
- data/vendored/puppet/lib/puppet/indirector/resource/ral.rb +0 -63
- data/vendored/puppet/lib/puppet/indirector/resource/store_configs.rb +0 -12
- data/vendored/puppet/lib/puppet/indirector/resource/validator.rb +0 -8
- data/vendored/puppet/lib/puppet/indirector/rest.rb +0 -350
- data/vendored/puppet/lib/puppet/indirector/ssl_file.rb +0 -201
- data/vendored/puppet/lib/puppet/indirector/status.rb +0 -3
- data/vendored/puppet/lib/puppet/indirector/status/local.rb +0 -12
- data/vendored/puppet/lib/puppet/indirector/status/rest.rb +0 -9
- data/vendored/puppet/lib/puppet/indirector/store_configs.rb +0 -30
- data/vendored/puppet/lib/puppet/indirector/terminus.rb +0 -169
- data/vendored/puppet/lib/puppet/indirector/yaml.rb +0 -63
- data/vendored/puppet/lib/puppet/info_service.rb +0 -17
- data/vendored/puppet/lib/puppet/info_service/class_information_service.rb +0 -110
- data/vendored/puppet/lib/puppet/info_service/task_information_service.rb +0 -32
- data/vendored/puppet/lib/puppet/interface.rb +0 -237
- data/vendored/puppet/lib/puppet/interface/action.rb +0 -402
- data/vendored/puppet/lib/puppet/interface/action_builder.rb +0 -166
- data/vendored/puppet/lib/puppet/interface/action_manager.rb +0 -97
- data/vendored/puppet/lib/puppet/interface/documentation.rb +0 -353
- data/vendored/puppet/lib/puppet/interface/face_collection.rb +0 -132
- data/vendored/puppet/lib/puppet/interface/option.rb +0 -171
- data/vendored/puppet/lib/puppet/interface/option_builder.rb +0 -105
- data/vendored/puppet/lib/puppet/interface/option_manager.rb +0 -104
- data/vendored/puppet/lib/puppet/loaders.rb +0 -27
- data/vendored/puppet/lib/puppet/metatype/manager.rb +0 -199
- data/vendored/puppet/lib/puppet/module.rb +0 -467
- data/vendored/puppet/lib/puppet/module/task.rb +0 -90
- data/vendored/puppet/lib/puppet/module_tool.rb +0 -196
- data/vendored/puppet/lib/puppet/module_tool/applications.rb +0 -14
- data/vendored/puppet/lib/puppet/module_tool/applications/application.rb +0 -90
- data/vendored/puppet/lib/puppet/module_tool/applications/builder.rb +0 -152
- data/vendored/puppet/lib/puppet/module_tool/applications/checksummer.rb +0 -62
- data/vendored/puppet/lib/puppet/module_tool/applications/installer.rb +0 -355
- data/vendored/puppet/lib/puppet/module_tool/applications/searcher.rb +0 -29
- data/vendored/puppet/lib/puppet/module_tool/applications/uninstaller.rb +0 -121
- data/vendored/puppet/lib/puppet/module_tool/applications/unpacker.rb +0 -100
- data/vendored/puppet/lib/puppet/module_tool/applications/upgrader.rb +0 -281
- data/vendored/puppet/lib/puppet/module_tool/checksums.rb +0 -49
- data/vendored/puppet/lib/puppet/module_tool/contents_description.rb +0 -88
- data/vendored/puppet/lib/puppet/module_tool/dependency.rb +0 -41
- data/vendored/puppet/lib/puppet/module_tool/errors.rb +0 -11
- data/vendored/puppet/lib/puppet/module_tool/errors/base.rb +0 -15
- data/vendored/puppet/lib/puppet/module_tool/errors/installer.rb +0 -93
- data/vendored/puppet/lib/puppet/module_tool/errors/shared.rb +0 -195
- data/vendored/puppet/lib/puppet/module_tool/errors/uninstaller.rb +0 -50
- data/vendored/puppet/lib/puppet/module_tool/errors/upgrader.rb +0 -63
- data/vendored/puppet/lib/puppet/module_tool/install_directory.rb +0 -45
- data/vendored/puppet/lib/puppet/module_tool/installed_modules.rb +0 -96
- data/vendored/puppet/lib/puppet/module_tool/local_tarball.rb +0 -90
- data/vendored/puppet/lib/puppet/module_tool/metadata.rb +0 -223
- data/vendored/puppet/lib/puppet/module_tool/shared_behaviors.rb +0 -180
- data/vendored/puppet/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -1
- data/vendored/puppet/lib/puppet/module_tool/tar.rb +0 -18
- data/vendored/puppet/lib/puppet/module_tool/tar/gnu.rb +0 -19
- data/vendored/puppet/lib/puppet/module_tool/tar/mini.rb +0 -106
- data/vendored/puppet/lib/puppet/network.rb +0 -3
- data/vendored/puppet/lib/puppet/network/auth_config_parser.rb +0 -90
- data/vendored/puppet/lib/puppet/network/authconfig.rb +0 -112
- data/vendored/puppet/lib/puppet/network/authorization.rb +0 -41
- data/vendored/puppet/lib/puppet/network/authstore.rb +0 -282
- data/vendored/puppet/lib/puppet/network/client_request.rb +0 -29
- data/vendored/puppet/lib/puppet/network/format.rb +0 -110
- data/vendored/puppet/lib/puppet/network/format_handler.rb +0 -108
- data/vendored/puppet/lib/puppet/network/format_support.rb +0 -134
- data/vendored/puppet/lib/puppet/network/formats.rb +0 -171
- data/vendored/puppet/lib/puppet/network/http.rb +0 -30
- data/vendored/puppet/lib/puppet/network/http/api.rb +0 -44
- data/vendored/puppet/lib/puppet/network/http/api/ca.rb +0 -2
- data/vendored/puppet/lib/puppet/network/http/api/ca/v1.rb +0 -11
- data/vendored/puppet/lib/puppet/network/http/api/indirected_routes.rb +0 -279
- data/vendored/puppet/lib/puppet/network/http/api/indirection_type.rb +0 -32
- data/vendored/puppet/lib/puppet/network/http/api/master.rb +0 -2
- data/vendored/puppet/lib/puppet/network/http/api/master/v3.rb +0 -28
- data/vendored/puppet/lib/puppet/network/http/api/master/v3/authorization.rb +0 -18
- data/vendored/puppet/lib/puppet/network/http/api/master/v3/environment.rb +0 -85
- data/vendored/puppet/lib/puppet/network/http/api/master/v3/environments.rb +0 -35
- data/vendored/puppet/lib/puppet/network/http/compression.rb +0 -120
- data/vendored/puppet/lib/puppet/network/http/connection.rb +0 -332
- data/vendored/puppet/lib/puppet/network/http/error.rb +0 -73
- data/vendored/puppet/lib/puppet/network/http/factory.rb +0 -56
- data/vendored/puppet/lib/puppet/network/http/handler.rb +0 -183
- data/vendored/puppet/lib/puppet/network/http/issues.rb +0 -12
- data/vendored/puppet/lib/puppet/network/http/memory_response.rb +0 -13
- data/vendored/puppet/lib/puppet/network/http/nocache_pool.rb +0 -21
- data/vendored/puppet/lib/puppet/network/http/pool.rb +0 -129
- data/vendored/puppet/lib/puppet/network/http/rack.rb +0 -33
- data/vendored/puppet/lib/puppet/network/http/rack/rest.rb +0 -162
- data/vendored/puppet/lib/puppet/network/http/request.rb +0 -70
- data/vendored/puppet/lib/puppet/network/http/response.rb +0 -23
- data/vendored/puppet/lib/puppet/network/http/route.rb +0 -100
- data/vendored/puppet/lib/puppet/network/http/session.rb +0 -17
- data/vendored/puppet/lib/puppet/network/http/site.rb +0 -39
- data/vendored/puppet/lib/puppet/network/http/webrick.rb +0 -124
- data/vendored/puppet/lib/puppet/network/http/webrick/rest.rb +0 -114
- data/vendored/puppet/lib/puppet/network/http_pool.rb +0 -61
- data/vendored/puppet/lib/puppet/network/resolver.rb +0 -85
- data/vendored/puppet/lib/puppet/network/rest_controller.rb +0 -2
- data/vendored/puppet/lib/puppet/network/rights.rb +0 -209
- data/vendored/puppet/lib/puppet/network/server.rb +0 -39
- data/vendored/puppet/lib/puppet/node.rb +0 -282
- data/vendored/puppet/lib/puppet/node/environment.rb +0 -586
- data/vendored/puppet/lib/puppet/node/facts.rb +0 -137
- data/vendored/puppet/lib/puppet/parameter.rb +0 -567
- data/vendored/puppet/lib/puppet/parameter/boolean.rb +0 -15
- data/vendored/puppet/lib/puppet/parameter/package_options.rb +0 -31
- data/vendored/puppet/lib/puppet/parameter/path.rb +0 -57
- data/vendored/puppet/lib/puppet/parameter/value.rb +0 -91
- data/vendored/puppet/lib/puppet/parameter/value_collection.rb +0 -212
- data/vendored/puppet/lib/puppet/parser.rb +0 -20
- data/vendored/puppet/lib/puppet/parser/abstract_compiler.rb +0 -36
- data/vendored/puppet/lib/puppet/parser/ast.rb +0 -65
- data/vendored/puppet/lib/puppet/parser/ast/block_expression.rb +0 -15
- data/vendored/puppet/lib/puppet/parser/ast/branch.rb +0 -19
- data/vendored/puppet/lib/puppet/parser/ast/hostclass.rb +0 -27
- data/vendored/puppet/lib/puppet/parser/ast/leaf.rb +0 -75
- data/vendored/puppet/lib/puppet/parser/ast/node.rb +0 -17
- data/vendored/puppet/lib/puppet/parser/ast/pops_bridge.rb +0 -273
- data/vendored/puppet/lib/puppet/parser/ast/resource.rb +0 -66
- data/vendored/puppet/lib/puppet/parser/ast/resource_instance.rb +0 -10
- data/vendored/puppet/lib/puppet/parser/ast/resourceparam.rb +0 -31
- data/vendored/puppet/lib/puppet/parser/ast/top_level_construct.rb +0 -4
- data/vendored/puppet/lib/puppet/parser/compiler.rb +0 -797
- data/vendored/puppet/lib/puppet/parser/compiler/catalog_validator.rb +0 -33
- data/vendored/puppet/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -64
- data/vendored/puppet/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +0 -57
- data/vendored/puppet/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -20
- data/vendored/puppet/lib/puppet/parser/e4_parser_adapter.rb +0 -60
- data/vendored/puppet/lib/puppet/parser/environment_compiler.rb +0 -199
- data/vendored/puppet/lib/puppet/parser/files.rb +0 -92
- data/vendored/puppet/lib/puppet/parser/functions.rb +0 -277
- data/vendored/puppet/lib/puppet/parser/functions/assert_type.rb +0 -60
- data/vendored/puppet/lib/puppet/parser/functions/binary_file.rb +0 -24
- data/vendored/puppet/lib/puppet/parser/functions/break.rb +0 -39
- data/vendored/puppet/lib/puppet/parser/functions/contain.rb +0 -30
- data/vendored/puppet/lib/puppet/parser/functions/create_resources.rb +0 -112
- data/vendored/puppet/lib/puppet/parser/functions/defined.rb +0 -107
- data/vendored/puppet/lib/puppet/parser/functions/dig.rb +0 -38
- data/vendored/puppet/lib/puppet/parser/functions/digest.rb +0 -5
- data/vendored/puppet/lib/puppet/parser/functions/each.rb +0 -104
- data/vendored/puppet/lib/puppet/parser/functions/epp.rb +0 -39
- data/vendored/puppet/lib/puppet/parser/functions/fail.rb +0 -4
- data/vendored/puppet/lib/puppet/parser/functions/file.rb +0 -33
- data/vendored/puppet/lib/puppet/parser/functions/filter.rb +0 -78
- data/vendored/puppet/lib/puppet/parser/functions/find_file.rb +0 -28
- data/vendored/puppet/lib/puppet/parser/functions/fqdn_rand.rb +0 -36
- data/vendored/puppet/lib/puppet/parser/functions/generate.rb +0 -36
- data/vendored/puppet/lib/puppet/parser/functions/hiera.rb +0 -103
- data/vendored/puppet/lib/puppet/parser/functions/hiera_array.rb +0 -92
- data/vendored/puppet/lib/puppet/parser/functions/hiera_hash.rb +0 -102
- data/vendored/puppet/lib/puppet/parser/functions/hiera_include.rb +0 -102
- data/vendored/puppet/lib/puppet/parser/functions/include.rb +0 -34
- data/vendored/puppet/lib/puppet/parser/functions/inline_epp.rb +0 -51
- data/vendored/puppet/lib/puppet/parser/functions/inline_template.rb +0 -26
- data/vendored/puppet/lib/puppet/parser/functions/lest.rb +0 -49
- data/vendored/puppet/lib/puppet/parser/functions/lookup.rb +0 -132
- data/vendored/puppet/lib/puppet/parser/functions/map.rb +0 -76
- data/vendored/puppet/lib/puppet/parser/functions/match.rb +0 -43
- data/vendored/puppet/lib/puppet/parser/functions/md5.rb +0 -5
- data/vendored/puppet/lib/puppet/parser/functions/new.rb +0 -991
- data/vendored/puppet/lib/puppet/parser/functions/next.rb +0 -38
- data/vendored/puppet/lib/puppet/parser/functions/realize.rb +0 -20
- data/vendored/puppet/lib/puppet/parser/functions/reduce.rb +0 -137
- data/vendored/puppet/lib/puppet/parser/functions/regsubst.rb +0 -62
- data/vendored/puppet/lib/puppet/parser/functions/require.rb +0 -40
- data/vendored/puppet/lib/puppet/parser/functions/return.rb +0 -71
- data/vendored/puppet/lib/puppet/parser/functions/reverse_each.rb +0 -83
- data/vendored/puppet/lib/puppet/parser/functions/scanf.rb +0 -38
- data/vendored/puppet/lib/puppet/parser/functions/sha1.rb +0 -5
- data/vendored/puppet/lib/puppet/parser/functions/sha256.rb +0 -5
- data/vendored/puppet/lib/puppet/parser/functions/shellquote.rb +0 -61
- data/vendored/puppet/lib/puppet/parser/functions/slice.rb +0 -39
- data/vendored/puppet/lib/puppet/parser/functions/split.rb +0 -28
- data/vendored/puppet/lib/puppet/parser/functions/sprintf.rb +0 -50
- data/vendored/puppet/lib/puppet/parser/functions/step.rb +0 -84
- data/vendored/puppet/lib/puppet/parser/functions/strftime.rb +0 -185
- data/vendored/puppet/lib/puppet/parser/functions/tag.rb +0 -12
- data/vendored/puppet/lib/puppet/parser/functions/tagged.rb +0 -24
- data/vendored/puppet/lib/puppet/parser/functions/template.rb +0 -39
- data/vendored/puppet/lib/puppet/parser/functions/then.rb +0 -73
- data/vendored/puppet/lib/puppet/parser/functions/type.rb +0 -53
- data/vendored/puppet/lib/puppet/parser/functions/versioncmp.rb +0 -30
- data/vendored/puppet/lib/puppet/parser/functions/with.rb +0 -28
- data/vendored/puppet/lib/puppet/parser/parser_factory.rb +0 -30
- data/vendored/puppet/lib/puppet/parser/relationship.rb +0 -83
- data/vendored/puppet/lib/puppet/parser/resource.rb +0 -417
- data/vendored/puppet/lib/puppet/parser/resource/param.rb +0 -22
- data/vendored/puppet/lib/puppet/parser/scope.rb +0 -1125
- data/vendored/puppet/lib/puppet/parser/script_compiler.rb +0 -118
- data/vendored/puppet/lib/puppet/parser/templatewrapper.rb +0 -102
- data/vendored/puppet/lib/puppet/parser/type_loader.rb +0 -149
- data/vendored/puppet/lib/puppet/plugins.rb +0 -9
- data/vendored/puppet/lib/puppet/plugins/configuration.rb +0 -25
- data/vendored/puppet/lib/puppet/plugins/syntax_checkers.rb +0 -98
- data/vendored/puppet/lib/puppet/pops.rb +0 -120
- data/vendored/puppet/lib/puppet/pops/adaptable.rb +0 -206
- data/vendored/puppet/lib/puppet/pops/adapters.rb +0 -138
- data/vendored/puppet/lib/puppet/pops/evaluator/access_operator.rb +0 -719
- data/vendored/puppet/lib/puppet/pops/evaluator/callable_signature.rb +0 -107
- data/vendored/puppet/lib/puppet/pops/evaluator/closure.rb +0 -373
- data/vendored/puppet/lib/puppet/pops/evaluator/collector_transformer.rb +0 -234
- data/vendored/puppet/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +0 -86
- data/vendored/puppet/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +0 -29
- data/vendored/puppet/lib/puppet/pops/evaluator/collectors/exported_collector.rb +0 -69
- data/vendored/puppet/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +0 -37
- data/vendored/puppet/lib/puppet/pops/evaluator/compare_operator.rb +0 -252
- data/vendored/puppet/lib/puppet/pops/evaluator/epp_evaluator.rb +0 -120
- data/vendored/puppet/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -1284
- data/vendored/puppet/lib/puppet/pops/evaluator/external_syntax_support.rb +0 -45
- data/vendored/puppet/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +0 -82
- data/vendored/puppet/lib/puppet/pops/evaluator/literal_evaluator.rb +0 -87
- data/vendored/puppet/lib/puppet/pops/evaluator/puppet_proc.rb +0 -69
- data/vendored/puppet/lib/puppet/pops/evaluator/relationship_operator.rb +0 -185
- data/vendored/puppet/lib/puppet/pops/evaluator/runtime3_converter.rb +0 -202
- data/vendored/puppet/lib/puppet/pops/evaluator/runtime3_resource_support.rb +0 -117
- data/vendored/puppet/lib/puppet/pops/evaluator/runtime3_support.rb +0 -540
- data/vendored/puppet/lib/puppet/pops/functions/dispatch.rb +0 -101
- data/vendored/puppet/lib/puppet/pops/functions/dispatcher.rb +0 -71
- data/vendored/puppet/lib/puppet/pops/functions/function.rb +0 -141
- data/vendored/puppet/lib/puppet/pops/issue_reporter.rb +0 -137
- data/vendored/puppet/lib/puppet/pops/issues.rb +0 -901
- data/vendored/puppet/lib/puppet/pops/label_provider.rb +0 -90
- data/vendored/puppet/lib/puppet/pops/loader/base_loader.rb +0 -166
- data/vendored/puppet/lib/puppet/pops/loader/dependency_loader.rb +0 -92
- data/vendored/puppet/lib/puppet/pops/loader/gem_support.rb +0 -49
- data/vendored/puppet/lib/puppet/pops/loader/loader.rb +0 -209
- data/vendored/puppet/lib/puppet/pops/loader/loader_paths.rb +0 -375
- data/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb +0 -523
- data/vendored/puppet/lib/puppet/pops/loader/null_loader.rb +0 -60
- data/vendored/puppet/lib/puppet/pops/loader/predefined_loader.rb +0 -24
- data/vendored/puppet/lib/puppet/pops/loader/puppet_function_instantiator.rb +0 -84
- data/vendored/puppet/lib/puppet/pops/loader/puppet_plan_instantiator.rb +0 -84
- data/vendored/puppet/lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb +0 -79
- data/vendored/puppet/lib/puppet/pops/loader/ruby_data_type_instantiator.rb +0 -39
- data/vendored/puppet/lib/puppet/pops/loader/ruby_function_instantiator.rb +0 -45
- data/vendored/puppet/lib/puppet/pops/loader/runtime3_type_loader.rb +0 -101
- data/vendored/puppet/lib/puppet/pops/loader/simple_environment_loader.rb +0 -20
- data/vendored/puppet/lib/puppet/pops/loader/static_loader.rb +0 -163
- data/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb +0 -69
- data/vendored/puppet/lib/puppet/pops/loader/type_definition_instantiator.rb +0 -100
- data/vendored/puppet/lib/puppet/pops/loader/typed_name.rb +0 -54
- data/vendored/puppet/lib/puppet/pops/loader/uri_helper.rb +0 -22
- data/vendored/puppet/lib/puppet/pops/loaders.rb +0 -545
- data/vendored/puppet/lib/puppet/pops/lookup.rb +0 -96
- data/vendored/puppet/lib/puppet/pops/lookup/configured_data_provider.rb +0 -93
- data/vendored/puppet/lib/puppet/pops/lookup/context.rb +0 -200
- data/vendored/puppet/lib/puppet/pops/lookup/data_adapter.rb +0 -27
- data/vendored/puppet/lib/puppet/pops/lookup/data_dig_function_provider.rb +0 -145
- data/vendored/puppet/lib/puppet/pops/lookup/data_hash_function_provider.rb +0 -126
- data/vendored/puppet/lib/puppet/pops/lookup/data_provider.rb +0 -92
- data/vendored/puppet/lib/puppet/pops/lookup/environment_data_provider.rb +0 -35
- data/vendored/puppet/lib/puppet/pops/lookup/explainer.rb +0 -595
- data/vendored/puppet/lib/puppet/pops/lookup/function_provider.rb +0 -110
- data/vendored/puppet/lib/puppet/pops/lookup/global_data_provider.rb +0 -75
- data/vendored/puppet/lib/puppet/pops/lookup/hiera_config.rb +0 -761
- data/vendored/puppet/lib/puppet/pops/lookup/interpolation.rb +0 -154
- data/vendored/puppet/lib/puppet/pops/lookup/invocation.rb +0 -261
- data/vendored/puppet/lib/puppet/pops/lookup/location_resolver.rb +0 -99
- data/vendored/puppet/lib/puppet/pops/lookup/lookup_adapter.rb +0 -471
- data/vendored/puppet/lib/puppet/pops/lookup/lookup_key.rb +0 -99
- data/vendored/puppet/lib/puppet/pops/lookup/lookup_key_function_provider.rb +0 -92
- data/vendored/puppet/lib/puppet/pops/lookup/module_data_provider.rb +0 -89
- data/vendored/puppet/lib/puppet/pops/lookup/sub_lookup.rb +0 -92
- data/vendored/puppet/lib/puppet/pops/merge_strategy.rb +0 -437
- data/vendored/puppet/lib/puppet/pops/migration/migration_checker.rb +0 -58
- data/vendored/puppet/lib/puppet/pops/model/ast.rb +0 -4870
- data/vendored/puppet/lib/puppet/pops/model/ast_transformer.rb +0 -131
- data/vendored/puppet/lib/puppet/pops/model/factory.rb +0 -1150
- data/vendored/puppet/lib/puppet/pops/model/model_label_provider.rb +0 -132
- data/vendored/puppet/lib/puppet/pops/model/model_tree_dumper.rb +0 -467
- data/vendored/puppet/lib/puppet/pops/model/pn_transformer.rb +0 -400
- data/vendored/puppet/lib/puppet/pops/model/tree_dumper.rb +0 -59
- data/vendored/puppet/lib/puppet/pops/parser/code_merger.rb +0 -29
- data/vendored/puppet/lib/puppet/pops/parser/eparser.rb +0 -3315
- data/vendored/puppet/lib/puppet/pops/parser/epp_parser.rb +0 -51
- data/vendored/puppet/lib/puppet/pops/parser/epp_support.rb +0 -260
- data/vendored/puppet/lib/puppet/pops/parser/evaluating_parser.rb +0 -165
- data/vendored/puppet/lib/puppet/pops/parser/heredoc_support.rb +0 -143
- data/vendored/puppet/lib/puppet/pops/parser/interpolation_support.rb +0 -244
- data/vendored/puppet/lib/puppet/pops/parser/lexer2.rb +0 -772
- data/vendored/puppet/lib/puppet/pops/parser/lexer_support.rb +0 -221
- data/vendored/puppet/lib/puppet/pops/parser/locatable.rb +0 -23
- data/vendored/puppet/lib/puppet/pops/parser/locator.rb +0 -336
- data/vendored/puppet/lib/puppet/pops/parser/parser_support.rb +0 -247
- data/vendored/puppet/lib/puppet/pops/parser/pn_parser.rb +0 -316
- data/vendored/puppet/lib/puppet/pops/parser/slurp_support.rb +0 -117
- data/vendored/puppet/lib/puppet/pops/patterns.rb +0 -60
- data/vendored/puppet/lib/puppet/pops/pcore.rb +0 -147
- data/vendored/puppet/lib/puppet/pops/pn.rb +0 -236
- data/vendored/puppet/lib/puppet/pops/puppet_stack.rb +0 -43
- data/vendored/puppet/lib/puppet/pops/resource/param.rb +0 -55
- data/vendored/puppet/lib/puppet/pops/resource/resource_type_impl.rb +0 -314
- data/vendored/puppet/lib/puppet/pops/semantic_error.rb +0 -29
- data/vendored/puppet/lib/puppet/pops/serialization.rb +0 -41
- data/vendored/puppet/lib/puppet/pops/serialization/abstract_reader.rb +0 -180
- data/vendored/puppet/lib/puppet/pops/serialization/abstract_writer.rb +0 -222
- data/vendored/puppet/lib/puppet/pops/serialization/deserializer.rb +0 -80
- data/vendored/puppet/lib/puppet/pops/serialization/extension.rb +0 -158
- data/vendored/puppet/lib/puppet/pops/serialization/from_data_converter.rb +0 -223
- data/vendored/puppet/lib/puppet/pops/serialization/instance_reader.rb +0 -19
- data/vendored/puppet/lib/puppet/pops/serialization/instance_writer.rb +0 -14
- data/vendored/puppet/lib/puppet/pops/serialization/json.rb +0 -297
- data/vendored/puppet/lib/puppet/pops/serialization/json_path.rb +0 -127
- data/vendored/puppet/lib/puppet/pops/serialization/object.rb +0 -70
- data/vendored/puppet/lib/puppet/pops/serialization/serializer.rb +0 -140
- data/vendored/puppet/lib/puppet/pops/serialization/time_factory.rb +0 -67
- data/vendored/puppet/lib/puppet/pops/serialization/to_data_converter.rb +0 -305
- data/vendored/puppet/lib/puppet/pops/time/timespan.rb +0 -718
- data/vendored/puppet/lib/puppet/pops/time/timestamp.rb +0 -160
- data/vendored/puppet/lib/puppet/pops/types/annotatable.rb +0 -36
- data/vendored/puppet/lib/puppet/pops/types/annotation.rb +0 -71
- data/vendored/puppet/lib/puppet/pops/types/class_loader.rb +0 -132
- data/vendored/puppet/lib/puppet/pops/types/enumeration.rb +0 -16
- data/vendored/puppet/lib/puppet/pops/types/implementation_registry.rb +0 -134
- data/vendored/puppet/lib/puppet/pops/types/iterable.rb +0 -339
- data/vendored/puppet/lib/puppet/pops/types/p_binary_type.rb +0 -233
- data/vendored/puppet/lib/puppet/pops/types/p_init_type.rb +0 -238
- data/vendored/puppet/lib/puppet/pops/types/p_meta_type.rb +0 -94
- data/vendored/puppet/lib/puppet/pops/types/p_object_type.rb +0 -1114
- data/vendored/puppet/lib/puppet/pops/types/p_object_type_extension.rb +0 -218
- data/vendored/puppet/lib/puppet/pops/types/p_runtime_type.rb +0 -115
- data/vendored/puppet/lib/puppet/pops/types/p_sem_ver_range_type.rb +0 -190
- data/vendored/puppet/lib/puppet/pops/types/p_sem_ver_type.rb +0 -149
- data/vendored/puppet/lib/puppet/pops/types/p_sensitive_type.rb +0 -73
- data/vendored/puppet/lib/puppet/pops/types/p_timespan_type.rb +0 -192
- data/vendored/puppet/lib/puppet/pops/types/p_timestamp_type.rb +0 -73
- data/vendored/puppet/lib/puppet/pops/types/p_type_set_type.rb +0 -383
- data/vendored/puppet/lib/puppet/pops/types/p_uri_type.rb +0 -190
- data/vendored/puppet/lib/puppet/pops/types/puppet_object.rb +0 -40
- data/vendored/puppet/lib/puppet/pops/types/recursion_guard.rb +0 -136
- data/vendored/puppet/lib/puppet/pops/types/ruby_generator.rb +0 -472
- data/vendored/puppet/lib/puppet/pops/types/ruby_method.rb +0 -31
- data/vendored/puppet/lib/puppet/pops/types/string_converter.rb +0 -1123
- data/vendored/puppet/lib/puppet/pops/types/tree_iterators.rb +0 -254
- data/vendored/puppet/lib/puppet/pops/types/type_acceptor.rb +0 -25
- data/vendored/puppet/lib/puppet/pops/types/type_asserter.rb +0 -47
- data/vendored/puppet/lib/puppet/pops/types/type_assertion_error.rb +0 -27
- data/vendored/puppet/lib/puppet/pops/types/type_calculator.rb +0 -809
- data/vendored/puppet/lib/puppet/pops/types/type_conversion_error.rb +0 -15
- data/vendored/puppet/lib/puppet/pops/types/type_factory.rb +0 -614
- data/vendored/puppet/lib/puppet/pops/types/type_formatter.rb +0 -802
- data/vendored/puppet/lib/puppet/pops/types/type_mismatch_describer.rb +0 -1075
- data/vendored/puppet/lib/puppet/pops/types/type_parser.rb +0 -685
- data/vendored/puppet/lib/puppet/pops/types/type_set_reference.rb +0 -59
- data/vendored/puppet/lib/puppet/pops/types/type_with_members.rb +0 -43
- data/vendored/puppet/lib/puppet/pops/types/types.rb +0 -3650
- data/vendored/puppet/lib/puppet/pops/utils.rb +0 -119
- data/vendored/puppet/lib/puppet/pops/validation.rb +0 -466
- data/vendored/puppet/lib/puppet/pops/validation/checker4_0.rb +0 -998
- data/vendored/puppet/lib/puppet/pops/validation/tasks_checker.rb +0 -60
- data/vendored/puppet/lib/puppet/pops/validation/validator_factory_4_0.rb +0 -43
- data/vendored/puppet/lib/puppet/pops/visitable.rb +0 -6
- data/vendored/puppet/lib/puppet/pops/visitor.rb +0 -116
- data/vendored/puppet/lib/puppet/property.rb +0 -608
- data/vendored/puppet/lib/puppet/property/boolean.rb +0 -7
- data/vendored/puppet/lib/puppet/property/ensure.rb +0 -105
- data/vendored/puppet/lib/puppet/property/keyvalue.rb +0 -95
- data/vendored/puppet/lib/puppet/property/list.rb +0 -69
- data/vendored/puppet/lib/puppet/property/ordered_list.rb +0 -29
- data/vendored/puppet/lib/puppet/provider.rb +0 -613
- data/vendored/puppet/lib/puppet/provider/aixobject.rb +0 -392
- data/vendored/puppet/lib/puppet/provider/augeas/augeas.rb +0 -566
- data/vendored/puppet/lib/puppet/provider/cisco.rb +0 -9
- data/vendored/puppet/lib/puppet/provider/command.rb +0 -25
- data/vendored/puppet/lib/puppet/provider/computer/computer.rb +0 -20
- data/vendored/puppet/lib/puppet/provider/confine.rb +0 -6
- data/vendored/puppet/lib/puppet/provider/cron/crontab.rb +0 -297
- data/vendored/puppet/lib/puppet/provider/exec.rb +0 -96
- data/vendored/puppet/lib/puppet/provider/exec/posix.rb +0 -48
- data/vendored/puppet/lib/puppet/provider/exec/shell.rb +0 -25
- data/vendored/puppet/lib/puppet/provider/exec/windows.rb +0 -55
- data/vendored/puppet/lib/puppet/provider/file/posix.rb +0 -136
- data/vendored/puppet/lib/puppet/provider/file/windows.rb +0 -104
- data/vendored/puppet/lib/puppet/provider/group/aix.rb +0 -143
- data/vendored/puppet/lib/puppet/provider/group/directoryservice.rb +0 -22
- data/vendored/puppet/lib/puppet/provider/group/groupadd.rb +0 -111
- data/vendored/puppet/lib/puppet/provider/group/ldap.rb +0 -45
- data/vendored/puppet/lib/puppet/provider/group/pw.rb +0 -49
- data/vendored/puppet/lib/puppet/provider/group/windows_adsi.rb +0 -106
- data/vendored/puppet/lib/puppet/provider/host/parsed.rb +0 -46
- data/vendored/puppet/lib/puppet/provider/interface/cisco.rb +0 -27
- data/vendored/puppet/lib/puppet/provider/ldap.rb +0 -137
- data/vendored/puppet/lib/puppet/provider/macauthorization/macauthorization.rb +0 -298
- data/vendored/puppet/lib/puppet/provider/mailalias/aliases.rb +0 -50
- data/vendored/puppet/lib/puppet/provider/maillist/mailman.rb +0 -108
- data/vendored/puppet/lib/puppet/provider/mcx/mcxcontent.rb +0 -173
- data/vendored/puppet/lib/puppet/provider/mount.rb +0 -76
- data/vendored/puppet/lib/puppet/provider/mount/parsed.rb +0 -282
- data/vendored/puppet/lib/puppet/provider/naginator.rb +0 -63
- data/vendored/puppet/lib/puppet/provider/nameservice.rb +0 -325
- data/vendored/puppet/lib/puppet/provider/nameservice/directoryservice.rb +0 -508
- data/vendored/puppet/lib/puppet/provider/nameservice/objectadd.rb +0 -22
- data/vendored/puppet/lib/puppet/provider/nameservice/pw.rb +0 -21
- data/vendored/puppet/lib/puppet/provider/network_device.rb +0 -72
- data/vendored/puppet/lib/puppet/provider/package.rb +0 -56
- data/vendored/puppet/lib/puppet/provider/package/aix.rb +0 -152
- data/vendored/puppet/lib/puppet/provider/package/appdmg.rb +0 -109
- data/vendored/puppet/lib/puppet/provider/package/apple.rb +0 -46
- data/vendored/puppet/lib/puppet/provider/package/apt.rb +0 -116
- data/vendored/puppet/lib/puppet/provider/package/aptitude.rb +0 -29
- data/vendored/puppet/lib/puppet/provider/package/aptrpm.rb +0 -83
- data/vendored/puppet/lib/puppet/provider/package/blastwave.rb +0 -111
- data/vendored/puppet/lib/puppet/provider/package/dnf.rb +0 -46
- data/vendored/puppet/lib/puppet/provider/package/dpkg.rb +0 -165
- data/vendored/puppet/lib/puppet/provider/package/fink.rb +0 -79
- data/vendored/puppet/lib/puppet/provider/package/freebsd.rb +0 -47
- data/vendored/puppet/lib/puppet/provider/package/gem.rb +0 -175
- data/vendored/puppet/lib/puppet/provider/package/hpux.rb +0 -44
- data/vendored/puppet/lib/puppet/provider/package/macports.rb +0 -107
- data/vendored/puppet/lib/puppet/provider/package/nim.rb +0 -282
- data/vendored/puppet/lib/puppet/provider/package/openbsd.rb +0 -242
- data/vendored/puppet/lib/puppet/provider/package/opkg.rb +0 -81
- data/vendored/puppet/lib/puppet/provider/package/pacman.rb +0 -267
- data/vendored/puppet/lib/puppet/provider/package/pip.rb +0 -188
- data/vendored/puppet/lib/puppet/provider/package/pip3.rb +0 -20
- data/vendored/puppet/lib/puppet/provider/package/pkg.rb +0 -255
- data/vendored/puppet/lib/puppet/provider/package/pkgdmg.rb +0 -151
- data/vendored/puppet/lib/puppet/provider/package/pkgin.rb +0 -87
- data/vendored/puppet/lib/puppet/provider/package/pkgng.rb +0 -143
- data/vendored/puppet/lib/puppet/provider/package/pkgutil.rb +0 -186
- data/vendored/puppet/lib/puppet/provider/package/portage.rb +0 -300
- data/vendored/puppet/lib/puppet/provider/package/ports.rb +0 -91
- data/vendored/puppet/lib/puppet/provider/package/portupgrade.rb +0 -239
- data/vendored/puppet/lib/puppet/provider/package/puppet_gem.rb +0 -17
- data/vendored/puppet/lib/puppet/provider/package/rpm.rb +0 -405
- data/vendored/puppet/lib/puppet/provider/package/rug.rb +0 -51
- data/vendored/puppet/lib/puppet/provider/package/sun.rb +0 -133
- data/vendored/puppet/lib/puppet/provider/package/sunfreeware.rb +0 -9
- data/vendored/puppet/lib/puppet/provider/package/tdnf.rb +0 -28
- data/vendored/puppet/lib/puppet/provider/package/up2date.rb +0 -40
- data/vendored/puppet/lib/puppet/provider/package/urpmi.rb +0 -55
- data/vendored/puppet/lib/puppet/provider/package/windows.rb +0 -113
- data/vendored/puppet/lib/puppet/provider/package/windows/exe_package.rb +0 -71
- data/vendored/puppet/lib/puppet/provider/package/windows/msi_package.rb +0 -62
- data/vendored/puppet/lib/puppet/provider/package/windows/package.rb +0 -100
- data/vendored/puppet/lib/puppet/provider/package/yum.rb +0 -293
- data/vendored/puppet/lib/puppet/provider/package/zypper.rb +0 -145
- data/vendored/puppet/lib/puppet/provider/parsedfile.rb +0 -459
- data/vendored/puppet/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +0 -590
- data/vendored/puppet/lib/puppet/provider/selboolean/getsetsebool.rb +0 -47
- data/vendored/puppet/lib/puppet/provider/selmodule/semodule.rb +0 -140
- data/vendored/puppet/lib/puppet/provider/service/base.rb +0 -134
- data/vendored/puppet/lib/puppet/provider/service/bsd.rb +0 -51
- data/vendored/puppet/lib/puppet/provider/service/daemontools.rb +0 -194
- data/vendored/puppet/lib/puppet/provider/service/debian.rb +0 -74
- data/vendored/puppet/lib/puppet/provider/service/freebsd.rb +0 -143
- data/vendored/puppet/lib/puppet/provider/service/gentoo.rb +0 -45
- data/vendored/puppet/lib/puppet/provider/service/init.rb +0 -194
- data/vendored/puppet/lib/puppet/provider/service/launchd.rb +0 -345
- data/vendored/puppet/lib/puppet/provider/service/openbsd.rb +0 -100
- data/vendored/puppet/lib/puppet/provider/service/openrc.rb +0 -71
- data/vendored/puppet/lib/puppet/provider/service/openwrt.rb +0 -36
- data/vendored/puppet/lib/puppet/provider/service/rcng.rb +0 -51
- data/vendored/puppet/lib/puppet/provider/service/redhat.rb +0 -72
- data/vendored/puppet/lib/puppet/provider/service/runit.rb +0 -112
- data/vendored/puppet/lib/puppet/provider/service/service.rb +0 -42
- data/vendored/puppet/lib/puppet/provider/service/smf.rb +0 -170
- data/vendored/puppet/lib/puppet/provider/service/src.rb +0 -147
- data/vendored/puppet/lib/puppet/provider/service/systemd.rb +0 -187
- data/vendored/puppet/lib/puppet/provider/service/upstart.rb +0 -359
- data/vendored/puppet/lib/puppet/provider/service/windows.rb +0 -106
- data/vendored/puppet/lib/puppet/provider/ssh_authorized_key/parsed.rb +0 -105
- data/vendored/puppet/lib/puppet/provider/sshkey/parsed.rb +0 -50
- data/vendored/puppet/lib/puppet/provider/user/aix.rb +0 -383
- data/vendored/puppet/lib/puppet/provider/user/directoryservice.rb +0 -632
- data/vendored/puppet/lib/puppet/provider/user/hpux.rb +0 -95
- data/vendored/puppet/lib/puppet/provider/user/ldap.rb +0 -128
- data/vendored/puppet/lib/puppet/provider/user/openbsd.rb +0 -76
- data/vendored/puppet/lib/puppet/provider/user/pw.rb +0 -98
- data/vendored/puppet/lib/puppet/provider/user/user_role_add.rb +0 -233
- data/vendored/puppet/lib/puppet/provider/user/useradd.rb +0 -265
- data/vendored/puppet/lib/puppet/provider/user/windows_adsi.rb +0 -148
- data/vendored/puppet/lib/puppet/provider/vlan/cisco.rb +0 -28
- data/vendored/puppet/lib/puppet/provider/yumrepo/inifile.rb +0 -303
- data/vendored/puppet/lib/puppet/provider/zfs/zfs.rb +0 -108
- data/vendored/puppet/lib/puppet/provider/zone/solaris.rb +0 -364
- data/vendored/puppet/lib/puppet/provider/zpool/zpool.rb +0 -125
- data/vendored/puppet/lib/puppet/reference/configuration.rb +0 -86
- data/vendored/puppet/lib/puppet/reference/function.rb +0 -17
- data/vendored/puppet/lib/puppet/reference/indirection.rb +0 -71
- data/vendored/puppet/lib/puppet/reference/metaparameter.rb +0 -35
- data/vendored/puppet/lib/puppet/reference/providers.rb +0 -118
- data/vendored/puppet/lib/puppet/reference/report.rb +0 -20
- data/vendored/puppet/lib/puppet/reference/type.rb +0 -113
- data/vendored/puppet/lib/puppet/relationship.rb +0 -89
- data/vendored/puppet/lib/puppet/reports.rb +0 -93
- data/vendored/puppet/lib/puppet/reports/http.rb +0 -37
- data/vendored/puppet/lib/puppet/reports/log.rb +0 -14
- data/vendored/puppet/lib/puppet/reports/store.rb +0 -68
- data/vendored/puppet/lib/puppet/resource.rb +0 -670
- data/vendored/puppet/lib/puppet/resource/capability_finder.rb +0 -150
- data/vendored/puppet/lib/puppet/resource/catalog.rb +0 -682
- data/vendored/puppet/lib/puppet/resource/status.rb +0 -227
- data/vendored/puppet/lib/puppet/resource/type.rb +0 -524
- data/vendored/puppet/lib/puppet/resource/type_collection.rb +0 -263
- data/vendored/puppet/lib/puppet/scheduler.rb +0 -16
- data/vendored/puppet/lib/puppet/scheduler/job.rb +0 -53
- data/vendored/puppet/lib/puppet/scheduler/scheduler.rb +0 -44
- data/vendored/puppet/lib/puppet/scheduler/splay_job.rb +0 -32
- data/vendored/puppet/lib/puppet/scheduler/timer.rb +0 -13
- data/vendored/puppet/lib/puppet/settings.rb +0 -1475
- data/vendored/puppet/lib/puppet/settings/array_setting.rb +0 -17
- data/vendored/puppet/lib/puppet/settings/autosign_setting.rb +0 -22
- data/vendored/puppet/lib/puppet/settings/base_setting.rb +0 -197
- data/vendored/puppet/lib/puppet/settings/boolean_setting.rb +0 -32
- data/vendored/puppet/lib/puppet/settings/certificate_revocation_setting.rb +0 -21
- data/vendored/puppet/lib/puppet/settings/config_file.rb +0 -153
- data/vendored/puppet/lib/puppet/settings/directory_setting.rb +0 -18
- data/vendored/puppet/lib/puppet/settings/duration_setting.rb +0 -32
- data/vendored/puppet/lib/puppet/settings/enum_setting.rb +0 -16
- data/vendored/puppet/lib/puppet/settings/environment_conf.rb +0 -213
- data/vendored/puppet/lib/puppet/settings/errors.rb +0 -11
- data/vendored/puppet/lib/puppet/settings/file_or_directory_setting.rb +0 -40
- data/vendored/puppet/lib/puppet/settings/file_setting.rb +0 -245
- data/vendored/puppet/lib/puppet/settings/ini_file.rb +0 -225
- data/vendored/puppet/lib/puppet/settings/path_setting.rb +0 -8
- data/vendored/puppet/lib/puppet/settings/priority_setting.rb +0 -42
- data/vendored/puppet/lib/puppet/settings/server_list_setting.rb +0 -20
- data/vendored/puppet/lib/puppet/settings/string_setting.rb +0 -9
- data/vendored/puppet/lib/puppet/settings/symbolic_enum_setting.rb +0 -17
- data/vendored/puppet/lib/puppet/settings/terminus_setting.rb +0 -14
- data/vendored/puppet/lib/puppet/settings/ttl_setting.rb +0 -51
- data/vendored/puppet/lib/puppet/settings/value_translator.rb +0 -15
- data/vendored/puppet/lib/puppet/ssl.rb +0 -13
- data/vendored/puppet/lib/puppet/ssl/base.rb +0 -158
- data/vendored/puppet/lib/puppet/ssl/certificate.rb +0 -95
- data/vendored/puppet/lib/puppet/ssl/certificate_authority.rb +0 -553
- data/vendored/puppet/lib/puppet/ssl/certificate_authority/autosign_command.rb +0 -45
- data/vendored/puppet/lib/puppet/ssl/certificate_authority/interface.rb +0 -324
- data/vendored/puppet/lib/puppet/ssl/certificate_factory.rb +0 -219
- data/vendored/puppet/lib/puppet/ssl/certificate_request.rb +0 -325
- data/vendored/puppet/lib/puppet/ssl/certificate_request_attributes.rb +0 -37
- data/vendored/puppet/lib/puppet/ssl/certificate_revocation_list.rb +0 -111
- data/vendored/puppet/lib/puppet/ssl/certificate_signer.rb +0 -33
- data/vendored/puppet/lib/puppet/ssl/configuration.rb +0 -61
- data/vendored/puppet/lib/puppet/ssl/digest.rb +0 -20
- data/vendored/puppet/lib/puppet/ssl/host.rb +0 -400
- data/vendored/puppet/lib/puppet/ssl/inventory.rb +0 -55
- data/vendored/puppet/lib/puppet/ssl/key.rb +0 -63
- data/vendored/puppet/lib/puppet/ssl/oids.rb +0 -193
- data/vendored/puppet/lib/puppet/ssl/validator.rb +0 -60
- data/vendored/puppet/lib/puppet/ssl/validator/default_validator.rb +0 -173
- data/vendored/puppet/lib/puppet/ssl/validator/no_validator.rb +0 -20
- data/vendored/puppet/lib/puppet/status.rb +0 -40
- data/vendored/puppet/lib/puppet/syntax_checkers.rb +0 -3
- data/vendored/puppet/lib/puppet/syntax_checkers/base64.rb +0 -40
- data/vendored/puppet/lib/puppet/syntax_checkers/json.rb +0 -35
- data/vendored/puppet/lib/puppet/test/test_helper.rb +0 -252
- data/vendored/puppet/lib/puppet/transaction.rb +0 -444
- data/vendored/puppet/lib/puppet/transaction/additional_resource_generator.rb +0 -220
- data/vendored/puppet/lib/puppet/transaction/event.rb +0 -144
- data/vendored/puppet/lib/puppet/transaction/event_manager.rb +0 -167
- data/vendored/puppet/lib/puppet/transaction/persistence.rb +0 -99
- data/vendored/puppet/lib/puppet/transaction/report.rb +0 -468
- data/vendored/puppet/lib/puppet/transaction/resource_harness.rb +0 -318
- data/vendored/puppet/lib/puppet/type.rb +0 -2665
- data/vendored/puppet/lib/puppet/type/augeas.rb +0 -211
- data/vendored/puppet/lib/puppet/type/component.rb +0 -88
- data/vendored/puppet/lib/puppet/type/computer.rb +0 -66
- data/vendored/puppet/lib/puppet/type/cron.rb +0 -480
- data/vendored/puppet/lib/puppet/type/exec.rb +0 -623
- data/vendored/puppet/lib/puppet/type/file.rb +0 -1039
- data/vendored/puppet/lib/puppet/type/file/checksum.rb +0 -50
- data/vendored/puppet/lib/puppet/type/file/checksum_value.rb +0 -54
- data/vendored/puppet/lib/puppet/type/file/content.rb +0 -160
- data/vendored/puppet/lib/puppet/type/file/ctime.rb +0 -20
- data/vendored/puppet/lib/puppet/type/file/data_sync.rb +0 -93
- data/vendored/puppet/lib/puppet/type/file/ensure.rb +0 -192
- data/vendored/puppet/lib/puppet/type/file/group.rb +0 -41
- data/vendored/puppet/lib/puppet/type/file/mode.rb +0 -177
- data/vendored/puppet/lib/puppet/type/file/mtime.rb +0 -18
- data/vendored/puppet/lib/puppet/type/file/owner.rb +0 -44
- data/vendored/puppet/lib/puppet/type/file/selcontext.rb +0 -141
- data/vendored/puppet/lib/puppet/type/file/source.rb +0 -356
- data/vendored/puppet/lib/puppet/type/file/target.rb +0 -87
- data/vendored/puppet/lib/puppet/type/file/type.rb +0 -19
- data/vendored/puppet/lib/puppet/type/filebucket.rb +0 -117
- data/vendored/puppet/lib/puppet/type/group.rb +0 -209
- data/vendored/puppet/lib/puppet/type/host.rb +0 -95
- data/vendored/puppet/lib/puppet/type/interface.rb +0 -121
- data/vendored/puppet/lib/puppet/type/k5login.rb +0 -165
- data/vendored/puppet/lib/puppet/type/macauthorization.rb +0 -167
- data/vendored/puppet/lib/puppet/type/mailalias.rb +0 -46
- data/vendored/puppet/lib/puppet/type/maillist.rb +0 -62
- data/vendored/puppet/lib/puppet/type/mcx.rb +0 -98
- data/vendored/puppet/lib/puppet/type/mount.rb +0 -314
- data/vendored/puppet/lib/puppet/type/nagios_command.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_contact.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_contactgroup.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_host.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_hostdependency.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_hostescalation.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_hostextinfo.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_hostgroup.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_service.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_servicedependency.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_serviceescalation.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_serviceextinfo.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_servicegroup.rb +0 -3
- data/vendored/puppet/lib/puppet/type/nagios_timeperiod.rb +0 -3
- data/vendored/puppet/lib/puppet/type/notify.rb +0 -46
- data/vendored/puppet/lib/puppet/type/package.rb +0 -571
- data/vendored/puppet/lib/puppet/type/resources.rb +0 -180
- data/vendored/puppet/lib/puppet/type/router.rb +0 -17
- data/vendored/puppet/lib/puppet/type/schedule.rb +0 -481
- data/vendored/puppet/lib/puppet/type/scheduled_task.rb +0 -183
- data/vendored/puppet/lib/puppet/type/selboolean.rb +0 -26
- data/vendored/puppet/lib/puppet/type/selmodule.rb +0 -59
- data/vendored/puppet/lib/puppet/type/service.rb +0 -258
- data/vendored/puppet/lib/puppet/type/ssh_authorized_key.rb +0 -143
- data/vendored/puppet/lib/puppet/type/sshkey.rb +0 -83
- data/vendored/puppet/lib/puppet/type/stage.rb +0 -27
- data/vendored/puppet/lib/puppet/type/tidy.rb +0 -345
- data/vendored/puppet/lib/puppet/type/user.rb +0 -794
- data/vendored/puppet/lib/puppet/type/vlan.rb +0 -26
- data/vendored/puppet/lib/puppet/type/whit.rb +0 -34
- data/vendored/puppet/lib/puppet/type/yumrepo.rb +0 -439
- data/vendored/puppet/lib/puppet/type/zfs.rb +0 -154
- data/vendored/puppet/lib/puppet/type/zone.rb +0 -382
- data/vendored/puppet/lib/puppet/type/zpool.rb +0 -91
- data/vendored/puppet/lib/puppet/util.rb +0 -700
- data/vendored/puppet/lib/puppet/util/at_fork.rb +0 -35
- data/vendored/puppet/lib/puppet/util/at_fork/noop.rb +0 -18
- data/vendored/puppet/lib/puppet/util/at_fork/solaris.rb +0 -160
- data/vendored/puppet/lib/puppet/util/autoload.rb +0 -226
- data/vendored/puppet/lib/puppet/util/backups.rb +0 -86
- data/vendored/puppet/lib/puppet/util/character_encoding.rb +0 -98
- data/vendored/puppet/lib/puppet/util/checksums.rb +0 -363
- data/vendored/puppet/lib/puppet/util/classgen.rb +0 -228
- data/vendored/puppet/lib/puppet/util/colors.rb +0 -100
- data/vendored/puppet/lib/puppet/util/command_line.rb +0 -190
- data/vendored/puppet/lib/puppet/util/command_line/puppet_option_parser.rb +0 -87
- data/vendored/puppet/lib/puppet/util/command_line/trollop.rb +0 -825
- data/vendored/puppet/lib/puppet/util/constant_inflector.rb +0 -24
- data/vendored/puppet/lib/puppet/util/diff.rb +0 -79
- data/vendored/puppet/lib/puppet/util/docs.rb +0 -128
- data/vendored/puppet/lib/puppet/util/errors.rb +0 -159
- data/vendored/puppet/lib/puppet/util/execution.rb +0 -412
- data/vendored/puppet/lib/puppet/util/execution_stub.rb +0 -26
- data/vendored/puppet/lib/puppet/util/feature.rb +0 -95
- data/vendored/puppet/lib/puppet/util/file_watcher.rb +0 -28
- data/vendored/puppet/lib/puppet/util/fileparsing.rb +0 -375
- data/vendored/puppet/lib/puppet/util/filetype.rb +0 -309
- data/vendored/puppet/lib/puppet/util/http_proxy.rb +0 -207
- data/vendored/puppet/lib/puppet/util/inifile.rb +0 -340
- data/vendored/puppet/lib/puppet/util/instance_loader.rb +0 -79
- data/vendored/puppet/lib/puppet/util/json_lockfile.rb +0 -44
- data/vendored/puppet/lib/puppet/util/ldap.rb +0 -2
- data/vendored/puppet/lib/puppet/util/ldap/connection.rb +0 -71
- data/vendored/puppet/lib/puppet/util/ldap/generator.rb +0 -42
- data/vendored/puppet/lib/puppet/util/ldap/manager.rb +0 -281
- data/vendored/puppet/lib/puppet/util/libuser.rb +0 -12
- data/vendored/puppet/lib/puppet/util/limits.rb +0 -12
- data/vendored/puppet/lib/puppet/util/lockfile.rb +0 -66
- data/vendored/puppet/lib/puppet/util/log.rb +0 -415
- data/vendored/puppet/lib/puppet/util/log/destination.rb +0 -49
- data/vendored/puppet/lib/puppet/util/log/destinations.rb +0 -258
- data/vendored/puppet/lib/puppet/util/logging.rb +0 -311
- data/vendored/puppet/lib/puppet/util/metaid.rb +0 -21
- data/vendored/puppet/lib/puppet/util/methodhelper.rb +0 -32
- data/vendored/puppet/lib/puppet/util/metric.rb +0 -64
- data/vendored/puppet/lib/puppet/util/monkey_patches.rb +0 -108
- data/vendored/puppet/lib/puppet/util/multi_match.rb +0 -51
- data/vendored/puppet/lib/puppet/util/nagios_maker.rb +0 -85
- data/vendored/puppet/lib/puppet/util/network_device.rb +0 -17
- data/vendored/puppet/lib/puppet/util/network_device/base.rb +0 -23
- data/vendored/puppet/lib/puppet/util/network_device/cisco.rb +0 -4
- data/vendored/puppet/lib/puppet/util/network_device/cisco/device.rb +0 -285
- data/vendored/puppet/lib/puppet/util/network_device/cisco/facts.rb +0 -72
- data/vendored/puppet/lib/puppet/util/network_device/cisco/interface.rb +0 -94
- data/vendored/puppet/lib/puppet/util/network_device/config.rb +0 -105
- data/vendored/puppet/lib/puppet/util/network_device/ipcalc.rb +0 -68
- data/vendored/puppet/lib/puppet/util/network_device/transport.rb +0 -5
- data/vendored/puppet/lib/puppet/util/network_device/transport/base.rb +0 -26
- data/vendored/puppet/lib/puppet/util/network_device/transport/ssh.rb +0 -126
- data/vendored/puppet/lib/puppet/util/network_device/transport/telnet.rb +0 -47
- data/vendored/puppet/lib/puppet/util/package.rb +0 -31
- data/vendored/puppet/lib/puppet/util/pidlock.rb +0 -62
- data/vendored/puppet/lib/puppet/util/platform.rb +0 -35
- data/vendored/puppet/lib/puppet/util/plist.rb +0 -155
- data/vendored/puppet/lib/puppet/util/posix.rb +0 -137
- data/vendored/puppet/lib/puppet/util/profiler.rb +0 -53
- data/vendored/puppet/lib/puppet/util/profiler/aggregate.rb +0 -85
- data/vendored/puppet/lib/puppet/util/profiler/around_profiler.rb +0 -67
- data/vendored/puppet/lib/puppet/util/profiler/logging.rb +0 -48
- data/vendored/puppet/lib/puppet/util/profiler/object_counts.rb +0 -17
- data/vendored/puppet/lib/puppet/util/profiler/wall_clock.rb +0 -35
- data/vendored/puppet/lib/puppet/util/provider_features.rb +0 -184
- data/vendored/puppet/lib/puppet/util/psych_support.rb +0 -30
- data/vendored/puppet/lib/puppet/util/rdoc.rb +0 -60
- data/vendored/puppet/lib/puppet/util/rdoc/code_objects.rb +0 -294
- data/vendored/puppet/lib/puppet/util/rdoc/generators/puppet_generator.rb +0 -910
- data/vendored/puppet/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb +0 -1085
- data/vendored/puppet/lib/puppet/util/rdoc/parser.rb +0 -12
- data/vendored/puppet/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +0 -259
- data/vendored/puppet/lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb +0 -14
- data/vendored/puppet/lib/puppet/util/reference.rb +0 -118
- data/vendored/puppet/lib/puppet/util/resource_template.rb +0 -61
- data/vendored/puppet/lib/puppet/util/retry_action.rb +0 -46
- data/vendored/puppet/lib/puppet/util/rubygems.rb +0 -75
- data/vendored/puppet/lib/puppet/util/run_mode.rb +0 -110
- data/vendored/puppet/lib/puppet/util/selinux.rb +0 -264
- data/vendored/puppet/lib/puppet/util/skip_tags.rb +0 -9
- data/vendored/puppet/lib/puppet/util/splayer.rb +0 -18
- data/vendored/puppet/lib/puppet/util/ssl.rb +0 -53
- data/vendored/puppet/lib/puppet/util/storage.rb +0 -89
- data/vendored/puppet/lib/puppet/util/suidmanager.rb +0 -165
- data/vendored/puppet/lib/puppet/util/symbolic_file_mode.rb +0 -144
- data/vendored/puppet/lib/puppet/util/tag_set.rb +0 -27
- data/vendored/puppet/lib/puppet/util/tagging.rb +0 -118
- data/vendored/puppet/lib/puppet/util/terminal.rb +0 -16
- data/vendored/puppet/lib/puppet/util/user_attr.rb +0 -21
- data/vendored/puppet/lib/puppet/util/warnings.rb +0 -31
- data/vendored/puppet/lib/puppet/util/watched_file.rb +0 -37
- data/vendored/puppet/lib/puppet/util/watcher.rb +0 -17
- data/vendored/puppet/lib/puppet/util/watcher/change_watcher.rb +0 -33
- data/vendored/puppet/lib/puppet/util/watcher/periodic_watcher.rb +0 -37
- data/vendored/puppet/lib/puppet/util/watcher/timer.rb +0 -19
- data/vendored/puppet/lib/puppet/util/windows.rb +0 -35
- data/vendored/puppet/lib/puppet/util/windows/access_control_entry.rb +0 -84
- data/vendored/puppet/lib/puppet/util/windows/access_control_list.rb +0 -113
- data/vendored/puppet/lib/puppet/util/windows/adsi.rb +0 -545
- data/vendored/puppet/lib/puppet/util/windows/api_types.rb +0 -282
- data/vendored/puppet/lib/puppet/util/windows/com.rb +0 -225
- data/vendored/puppet/lib/puppet/util/windows/error.rb +0 -83
- data/vendored/puppet/lib/puppet/util/windows/eventlog.rb +0 -197
- data/vendored/puppet/lib/puppet/util/windows/file.rb +0 -571
- data/vendored/puppet/lib/puppet/util/windows/principal.rb +0 -192
- data/vendored/puppet/lib/puppet/util/windows/process.rb +0 -497
- data/vendored/puppet/lib/puppet/util/windows/registry.rb +0 -374
- data/vendored/puppet/lib/puppet/util/windows/root_certs.rb +0 -108
- data/vendored/puppet/lib/puppet/util/windows/security.rb +0 -857
- data/vendored/puppet/lib/puppet/util/windows/security_descriptor.rb +0 -62
- data/vendored/puppet/lib/puppet/util/windows/sid.rb +0 -282
- data/vendored/puppet/lib/puppet/util/windows/string.rb +0 -16
- data/vendored/puppet/lib/puppet/util/windows/taskscheduler.rb +0 -1267
- data/vendored/puppet/lib/puppet/util/windows/user.rb +0 -309
- data/vendored/puppet/lib/puppet/util/yaml.rb +0 -36
- data/vendored/puppet/lib/puppet/vendor.rb +0 -57
- data/vendored/puppet/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +0 -2
- data/vendored/puppet/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +0 -210
- data/vendored/puppet/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +0 -28
- data/vendored/puppet/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +0 -27
- data/vendored/puppet/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +0 -608
- data/vendored/puppet/lib/puppet/vendor/load_deep_merge.rb +0 -1
- data/vendored/puppet/lib/puppet/vendor/load_pathspec.rb +0 -1
- data/vendored/puppet/lib/puppet/vendor/load_semantic.rb +0 -1
- data/vendored/puppet/lib/puppet/vendor/load_semantic_puppet.rb +0 -1
- data/vendored/puppet/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -122
- data/vendored/puppet/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -275
- data/vendored/puppet/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -17
- data/vendored/puppet/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -14
- data/vendored/puppet/lib/puppet/vendor/require_vendored.rb +0 -6
- data/vendored/puppet/lib/puppet/vendor/semantic/lib/semantic.rb +0 -5
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet.rb +0 -11
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency.rb +0 -181
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph.rb +0 -60
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph_node.rb +0 -117
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/module_release.rb +0 -58
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/source.rb +0 -25
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb +0 -31
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +0 -3
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +0 -203
- data/vendored/puppet/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb +0 -758
- data/vendored/puppet/lib/puppet/version.rb +0 -93
- data/vendored/puppet/lib/puppet_pal.rb +0 -879
- data/vendored/puppet/lib/puppet_x.rb +0 -14
@@ -1,105 +0,0 @@
|
|
1
|
-
require 'puppet/property'
|
2
|
-
|
3
|
-
# This property is automatically added to any {Puppet::Type} that responds
|
4
|
-
# to the methods 'exists?', 'create', and 'destroy'.
|
5
|
-
#
|
6
|
-
# Ensure defaults to having the wanted _(should)_ value `:present`.
|
7
|
-
#
|
8
|
-
# @api public
|
9
|
-
#
|
10
|
-
class Puppet::Property::Ensure < Puppet::Property
|
11
|
-
@name = :ensure
|
12
|
-
|
13
|
-
def self.defaultvalues
|
14
|
-
newvalue(:present) do
|
15
|
-
if @resource.provider and @resource.provider.respond_to?(:create)
|
16
|
-
@resource.provider.create
|
17
|
-
else
|
18
|
-
@resource.create
|
19
|
-
end
|
20
|
-
nil # return nil so the event is autogenerated
|
21
|
-
end
|
22
|
-
|
23
|
-
newvalue(:absent) do
|
24
|
-
if @resource.provider and @resource.provider.respond_to?(:destroy)
|
25
|
-
@resource.provider.destroy
|
26
|
-
else
|
27
|
-
@resource.destroy
|
28
|
-
end
|
29
|
-
nil # return nil so the event is autogenerated
|
30
|
-
end
|
31
|
-
|
32
|
-
defaultto do
|
33
|
-
if @resource.managed?
|
34
|
-
:present
|
35
|
-
else
|
36
|
-
nil
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
# This doc will probably get overridden
|
41
|
-
@doc ||= "The basic property that the resource should be in."
|
42
|
-
end
|
43
|
-
|
44
|
-
def self.inherited(sub)
|
45
|
-
# Add in the two properties that everyone will have.
|
46
|
-
sub.class_eval do
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
def change_to_s(currentvalue, newvalue)
|
51
|
-
begin
|
52
|
-
if currentvalue == :absent || currentvalue.nil?
|
53
|
-
return _("created")
|
54
|
-
elsif newvalue == :absent
|
55
|
-
return _("removed")
|
56
|
-
else
|
57
|
-
return _('%{name} changed %{is} to %{should}') % { name: name, is: is_to_s(currentvalue), should: should_to_s(newvalue) }
|
58
|
-
end
|
59
|
-
rescue Puppet::Error, Puppet::DevError
|
60
|
-
raise
|
61
|
-
rescue => detail
|
62
|
-
raise Puppet::DevError, _("Could not convert change %{name} to string: %{detail}") % { name: self.name, detail: detail }, detail.backtrace
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Retrieves the _is_ value for the ensure property.
|
67
|
-
# The existence of the resource is checked by first consulting the provider (if it responds to
|
68
|
-
# `:exists`), and secondly the resource. A a value of `:present` or `:absent` is returned
|
69
|
-
# depending on if the managed entity exists or not.
|
70
|
-
#
|
71
|
-
# @return [Symbol] a value of `:present` or `:absent` depending on if it exists or not
|
72
|
-
# @raise [Puppet::DevError] if neither the provider nor the resource responds to `:exists`
|
73
|
-
#
|
74
|
-
def retrieve
|
75
|
-
# XXX This is a problem -- whether the object exists or not often
|
76
|
-
# depends on the results of other properties, yet we're the first property
|
77
|
-
# to get checked, which means that those other properties do not have
|
78
|
-
# @is values set. This seems to be the source of quite a few bugs,
|
79
|
-
# although they're mostly logging bugs, not functional ones.
|
80
|
-
if prov = @resource.provider and prov.respond_to?(:exists?)
|
81
|
-
result = prov.exists?
|
82
|
-
elsif @resource.respond_to?(:exists?)
|
83
|
-
result = @resource.exists?
|
84
|
-
else
|
85
|
-
raise Puppet::DevError, _("No ability to determine if %{name} exists") % { name: @resource.class.name }
|
86
|
-
end
|
87
|
-
if result
|
88
|
-
return :present
|
89
|
-
else
|
90
|
-
return :absent
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
# If they're talking about the thing at all, they generally want to
|
95
|
-
# say it should exist.
|
96
|
-
#defaultto :present
|
97
|
-
defaultto do
|
98
|
-
if @resource.managed?
|
99
|
-
:present
|
100
|
-
else
|
101
|
-
nil
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
@@ -1,95 +0,0 @@
|
|
1
|
-
require 'puppet/property'
|
2
|
-
|
3
|
-
module Puppet
|
4
|
-
class Property
|
5
|
-
# This subclass of {Puppet::Property} manages string key value pairs.
|
6
|
-
# In order to use this property:
|
7
|
-
#
|
8
|
-
# * the _should_ value must be an array of key-value pairs separated by the 'separator'
|
9
|
-
# * the retrieve method should return a hash with the keys as symbols
|
10
|
-
# @note **IMPORTANT**: In order for this property to work there must also be a 'membership' parameter
|
11
|
-
# The class that inherits from property should override that method with the symbol for the membership
|
12
|
-
# @todo The node with an important message is not very clear.
|
13
|
-
#
|
14
|
-
class KeyValue < Property
|
15
|
-
|
16
|
-
def hash_to_key_value_s(hash)
|
17
|
-
hash.select { |k,v| true }.map { |pair| pair.join(separator) }.join(delimiter)
|
18
|
-
end
|
19
|
-
|
20
|
-
def should_to_s(should_value)
|
21
|
-
hash_to_key_value_s(should_value)
|
22
|
-
end
|
23
|
-
|
24
|
-
def is_to_s(current_value)
|
25
|
-
hash_to_key_value_s(current_value)
|
26
|
-
end
|
27
|
-
|
28
|
-
def membership
|
29
|
-
:key_value_membership
|
30
|
-
end
|
31
|
-
|
32
|
-
def inclusive?
|
33
|
-
@resource[membership] == :inclusive
|
34
|
-
end
|
35
|
-
|
36
|
-
def hashify(key_value_array)
|
37
|
-
#turns string array into a hash
|
38
|
-
key_value_array.inject({}) do |hash, key_value|
|
39
|
-
tmp = key_value.split(separator)
|
40
|
-
hash[tmp[0].intern] = tmp[1]
|
41
|
-
hash
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
def process_current_hash(current)
|
46
|
-
return {} if current == :absent
|
47
|
-
|
48
|
-
#inclusive means we are managing everything so if it isn't in should, its gone
|
49
|
-
current.each_key { |key| current[key] = nil } if inclusive?
|
50
|
-
current
|
51
|
-
end
|
52
|
-
|
53
|
-
def should
|
54
|
-
return nil unless @should
|
55
|
-
|
56
|
-
members = hashify(@should)
|
57
|
-
current = process_current_hash(retrieve)
|
58
|
-
|
59
|
-
#shared keys will get overwritten by members
|
60
|
-
current.merge(members)
|
61
|
-
end
|
62
|
-
|
63
|
-
# @return [String] Returns a default separator of "="
|
64
|
-
def separator
|
65
|
-
"="
|
66
|
-
end
|
67
|
-
|
68
|
-
# @return [String] Returns a default delimiter of ";"
|
69
|
-
def delimiter
|
70
|
-
";"
|
71
|
-
end
|
72
|
-
|
73
|
-
# Retrieves the key-hash from the provider by invoking its method named the same as this property.
|
74
|
-
# @return [Hash] the hash from the provider, or `:absent`
|
75
|
-
#
|
76
|
-
def retrieve
|
77
|
-
#ok, some 'convention' if the keyvalue property is named properties, provider should implement a properties method
|
78
|
-
if key_hash = provider.send(name) and key_hash != :absent
|
79
|
-
return key_hash
|
80
|
-
else
|
81
|
-
return :absent
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
# Returns true if there is no _is_ value, else returns if _is_ is equal to _should_ using == as comparison.
|
86
|
-
# @return [Boolean] whether the property is in sync or not.
|
87
|
-
#
|
88
|
-
def insync?(is)
|
89
|
-
return true unless is
|
90
|
-
|
91
|
-
(is == self.should)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
@@ -1,69 +0,0 @@
|
|
1
|
-
require 'puppet/property'
|
2
|
-
|
3
|
-
module Puppet
|
4
|
-
class Property
|
5
|
-
# This subclass of {Puppet::Property} manages an unordered list of values.
|
6
|
-
# For an ordered list see {Puppet::Property::OrderedList}.
|
7
|
-
#
|
8
|
-
class List < Property
|
9
|
-
|
10
|
-
def is_to_s(currentvalue)
|
11
|
-
currentvalue == :absent ? super(currentvalue) : currentvalue.join(delimiter)
|
12
|
-
end
|
13
|
-
|
14
|
-
def membership
|
15
|
-
:membership
|
16
|
-
end
|
17
|
-
|
18
|
-
def add_should_with_current(should, current)
|
19
|
-
should += current if current.is_a?(Array)
|
20
|
-
should.uniq
|
21
|
-
end
|
22
|
-
|
23
|
-
def inclusive?
|
24
|
-
@resource[membership] == :inclusive
|
25
|
-
end
|
26
|
-
|
27
|
-
#dearrayify was motivated because to simplify the implementation of the OrderedList property
|
28
|
-
def dearrayify(array)
|
29
|
-
array.sort.join(delimiter)
|
30
|
-
end
|
31
|
-
|
32
|
-
def should
|
33
|
-
return nil unless @should
|
34
|
-
|
35
|
-
members = @should
|
36
|
-
#inclusive means we are managing everything so if it isn't in should, its gone
|
37
|
-
members = add_should_with_current(members, retrieve) if ! inclusive?
|
38
|
-
|
39
|
-
dearrayify(members)
|
40
|
-
end
|
41
|
-
|
42
|
-
def delimiter
|
43
|
-
","
|
44
|
-
end
|
45
|
-
|
46
|
-
def retrieve
|
47
|
-
#ok, some 'convention' if the list property is named groups, provider should implement a groups method
|
48
|
-
if provider and tmp = provider.send(name) and tmp != :absent
|
49
|
-
return tmp.split(delimiter)
|
50
|
-
else
|
51
|
-
return :absent
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def prepare_is_for_comparison(is)
|
56
|
-
if is == :absent
|
57
|
-
is = []
|
58
|
-
end
|
59
|
-
dearrayify(is)
|
60
|
-
end
|
61
|
-
|
62
|
-
def insync?(is)
|
63
|
-
return true unless is
|
64
|
-
|
65
|
-
(prepare_is_for_comparison(is) == self.should)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
require 'puppet/property/list'
|
2
|
-
|
3
|
-
module Puppet
|
4
|
-
class Property
|
5
|
-
# This subclass of {Puppet::Property} manages an ordered list of values.
|
6
|
-
# The maintained order is the order defined by the 'current' set of values (i.e. the
|
7
|
-
# original order is not disrupted). Any additions are added after the current values
|
8
|
-
# in their given order).
|
9
|
-
#
|
10
|
-
# For an unordered list see {Puppet::Property::List}.
|
11
|
-
#
|
12
|
-
class OrderedList < List
|
13
|
-
|
14
|
-
def add_should_with_current(should, current)
|
15
|
-
if current.is_a?(Array)
|
16
|
-
#tricky trick
|
17
|
-
#Preserve all the current items in the list
|
18
|
-
#but move them to the back of the line
|
19
|
-
should = should + (current - should)
|
20
|
-
end
|
21
|
-
should
|
22
|
-
end
|
23
|
-
|
24
|
-
def dearrayify(array)
|
25
|
-
array.join(delimiter)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,613 +0,0 @@
|
|
1
|
-
# A Provider is an implementation of the actions that manage resources (of some type) on a system.
|
2
|
-
# This class is the base class for all implementation of a Puppet Provider.
|
3
|
-
#
|
4
|
-
# Concepts:
|
5
|
-
#--
|
6
|
-
# * **Confinement** - confinement restricts providers to only be applicable under certain conditions.
|
7
|
-
# It is possible to confine a provider several different ways:
|
8
|
-
# * the included {#confine} method which provides filtering on fact, feature, existence of files, or a free form
|
9
|
-
# predicate.
|
10
|
-
# * the {commands} method that filters on the availability of given system commands.
|
11
|
-
# * **Property hash** - the important instance variable `@property_hash` contains all current state values
|
12
|
-
# for properties (it is lazily built). It is important that these values are managed appropriately in the
|
13
|
-
# methods {instances}, {prefetch}, and in methods that alters the current state (those that change the
|
14
|
-
# lifecycle (creates, destroys), or alters some value reflected backed by a property).
|
15
|
-
# * **Flush** - is a hook that is called once per resource when everything has been applied. The intent is
|
16
|
-
# that an implementation may defer modification of the current state typically done in property setters
|
17
|
-
# and instead record information that allows flush to perform the changes more efficiently.
|
18
|
-
# * **Execution Methods** - The execution methods provides access to execution of arbitrary commands.
|
19
|
-
# As a convenience execution methods are available on both the instance and the class of a provider since a
|
20
|
-
# lot of provider logic switch between these contexts fairly freely.
|
21
|
-
# * **System Entity/Resource** - this documentation uses the term "system entity" for system resources to make
|
22
|
-
# it clear if talking about a resource on the system being managed (e.g. a file in the file system)
|
23
|
-
# or about a description of such a resource (e.g. a Puppet Resource).
|
24
|
-
# * **Resource Type** - this is an instance of Type that describes a classification of instances of Resource (e.g.
|
25
|
-
# the `File` resource type describes all instances of `file` resources).
|
26
|
-
# (The term is used to contrast with "type" in general, and specifically to contrast with the implementation
|
27
|
-
# class of Resource or a specific Type).
|
28
|
-
#
|
29
|
-
# @note An instance of a Provider is associated with one resource.
|
30
|
-
#
|
31
|
-
# @note Class level methods are only called once to configure the provider (when the type is created), and not
|
32
|
-
# for each resource the provider is operating on.
|
33
|
-
# The instance methods are however called for each resource.
|
34
|
-
#
|
35
|
-
# @api public
|
36
|
-
#
|
37
|
-
class Puppet::Provider
|
38
|
-
include Puppet::Util
|
39
|
-
include Puppet::Util::Errors
|
40
|
-
include Puppet::Util::Warnings
|
41
|
-
extend Puppet::Util::Warnings
|
42
|
-
|
43
|
-
require 'puppet/confiner'
|
44
|
-
require 'puppet/provider/command'
|
45
|
-
|
46
|
-
extend Puppet::Confiner
|
47
|
-
|
48
|
-
Puppet::Util.logmethods(self, true)
|
49
|
-
|
50
|
-
class << self
|
51
|
-
# Include the util module so we have access to things like 'which'
|
52
|
-
include Puppet::Util, Puppet::Util::Docs
|
53
|
-
include Puppet::Util::Logging
|
54
|
-
|
55
|
-
# @return [String] The name of the provider
|
56
|
-
attr_accessor :name
|
57
|
-
|
58
|
-
#
|
59
|
-
# @todo Original = _"The source parameter exists so that providers using the same
|
60
|
-
# source can specify this, so reading doesn't attempt to read the
|
61
|
-
# same package multiple times."_ This seems to be a package type specific attribute. Is this really
|
62
|
-
# used?
|
63
|
-
#
|
64
|
-
# @return [???] The source is WHAT?
|
65
|
-
attr_writer :source
|
66
|
-
|
67
|
-
# @todo What is this type? A reference to a Puppet::Type ?
|
68
|
-
# @return [Puppet::Type] the resource type (that this provider is ... WHAT?)
|
69
|
-
#
|
70
|
-
attr_accessor :resource_type
|
71
|
-
|
72
|
-
# @!attribute [r] doc
|
73
|
-
# The (full) documentation for this provider class. The documentation for the provider class itself
|
74
|
-
# should be set with the DSL method {desc=}. Setting the documentation with with {doc=} has the same effect
|
75
|
-
# as setting it with {desc=} (only the class documentation part is set). In essence this means that
|
76
|
-
# there is no getter for the class documentation part (since the getter returns the full
|
77
|
-
# documentation when there are additional contributors).
|
78
|
-
#
|
79
|
-
# @return [String] Returns the full documentation for the provider.
|
80
|
-
# @see Puppet::Utils::Docs
|
81
|
-
# @comment This is puzzling ... a write only doc attribute??? The generated setter never seems to be
|
82
|
-
# used, instead the instance variable @doc is set in the `desc` method. This seems wrong. It is instead
|
83
|
-
# documented as a read only attribute (to get the full documentation). Also see doc below for
|
84
|
-
# desc.
|
85
|
-
# @!attribute [w] desc
|
86
|
-
# Sets the documentation of this provider class. (The full documentation is read via the
|
87
|
-
# {doc} attribute).
|
88
|
-
#
|
89
|
-
# @dsl type
|
90
|
-
#
|
91
|
-
attr_writer :doc
|
92
|
-
end
|
93
|
-
|
94
|
-
# @return [???] This resource is what? Is an instance of a provider attached to one particular Puppet::Resource?
|
95
|
-
#
|
96
|
-
attr_accessor :resource
|
97
|
-
|
98
|
-
# Convenience methods - see class method with the same name.
|
99
|
-
# @return (see self.execute)
|
100
|
-
def execute(*args)
|
101
|
-
Puppet::Util::Execution.execute(*args)
|
102
|
-
end
|
103
|
-
|
104
|
-
# (see Puppet::Util::Execution.execute)
|
105
|
-
def self.execute(*args)
|
106
|
-
Puppet::Util::Execution.execute(*args)
|
107
|
-
end
|
108
|
-
|
109
|
-
# Convenience methods - see class method with the same name.
|
110
|
-
# @return (see self.execpipe)
|
111
|
-
def execpipe(*args, &block)
|
112
|
-
Puppet::Util::Execution.execpipe(*args, &block)
|
113
|
-
end
|
114
|
-
|
115
|
-
# (see Puppet::Util::Execution.execpipe)
|
116
|
-
def self.execpipe(*args, &block)
|
117
|
-
Puppet::Util::Execution.execpipe(*args, &block)
|
118
|
-
end
|
119
|
-
|
120
|
-
# Convenience methods - see class method with the same name.
|
121
|
-
# @return (see self.execfail)
|
122
|
-
# @deprecated
|
123
|
-
def execfail(*args)
|
124
|
-
Puppet::Util::Execution.execfail(*args)
|
125
|
-
end
|
126
|
-
|
127
|
-
# (see Puppet::Util::Execution.execfail)
|
128
|
-
# @deprecated
|
129
|
-
def self.execfail(*args)
|
130
|
-
Puppet::Util::Execution.execfail(*args)
|
131
|
-
end
|
132
|
-
|
133
|
-
# Returns the absolute path to the executable for the command referenced by the given name.
|
134
|
-
# @raise [Puppet::DevError] if the name does not reference an existing command.
|
135
|
-
# @return [String] the absolute path to the found executable for the command
|
136
|
-
# @see which
|
137
|
-
# @api public
|
138
|
-
def self.command(name)
|
139
|
-
name = name.intern
|
140
|
-
|
141
|
-
if defined?(@commands) and command = @commands[name]
|
142
|
-
# nothing
|
143
|
-
elsif superclass.respond_to? :command and command = superclass.command(name)
|
144
|
-
# nothing
|
145
|
-
else
|
146
|
-
raise Puppet::DevError, _("No command %{command} defined for provider %{provider}") % { command: name, provider: self.name }
|
147
|
-
end
|
148
|
-
|
149
|
-
which(command)
|
150
|
-
end
|
151
|
-
|
152
|
-
# Confines this provider to be suitable only on hosts where the given commands are present.
|
153
|
-
# Also see {Puppet::Confiner#confine} for other types of confinement of a provider by use of other types of
|
154
|
-
# predicates.
|
155
|
-
#
|
156
|
-
# @note It is preferred if the commands are not entered with absolute paths as this allows puppet
|
157
|
-
# to search for them using the PATH variable.
|
158
|
-
#
|
159
|
-
# @param command_specs [Hash{String => String}] Map of name to command that the provider will
|
160
|
-
# be executing on the system. Each command is specified with a name and the path of the executable.
|
161
|
-
# @return [void]
|
162
|
-
# @see optional_commands
|
163
|
-
# @api public
|
164
|
-
#
|
165
|
-
def self.commands(command_specs)
|
166
|
-
command_specs.each do |name, path|
|
167
|
-
has_command(name, path)
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
# Defines optional commands.
|
172
|
-
# Since Puppet 2.7.8 this is typically not needed as evaluation of provider suitability
|
173
|
-
# is lazy (when a resource is evaluated) and the absence of commands
|
174
|
-
# that will be present after other resources have been applied no longer needs to be specified as
|
175
|
-
# optional.
|
176
|
-
# @param [Hash{String => String}] hash Named commands that the provider will
|
177
|
-
# be executing on the system. Each command is specified with a name and the path of the executable.
|
178
|
-
# (@see #has_command)
|
179
|
-
# @see commands
|
180
|
-
# @api public
|
181
|
-
def self.optional_commands(hash)
|
182
|
-
hash.each do |name, target|
|
183
|
-
has_command(name, target) do
|
184
|
-
is_optional
|
185
|
-
end
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
# Creates a convenience method for invocation of a command.
|
190
|
-
#
|
191
|
-
# This generates a Provider method that allows easy execution of the command. The generated
|
192
|
-
# method may take arguments that will be passed through to the executable as the command line arguments
|
193
|
-
# when it is invoked.
|
194
|
-
#
|
195
|
-
# @example Use it like this:
|
196
|
-
# has_command(:echo, "/bin/echo")
|
197
|
-
# def some_method
|
198
|
-
# echo("arg 1", "arg 2")
|
199
|
-
# end
|
200
|
-
# @comment the . . . below is intentional to avoid the three dots to become an illegible ellipsis char.
|
201
|
-
# @example . . . or like this
|
202
|
-
# has_command(:echo, "/bin/echo") do
|
203
|
-
# is_optional
|
204
|
-
# environment :HOME => "/var/tmp", :PWD => "/tmp"
|
205
|
-
# end
|
206
|
-
#
|
207
|
-
# @param name [Symbol] The name of the command (will become the name of the generated method that executes the command)
|
208
|
-
# @param path [String] The path to the executable for the command
|
209
|
-
# @yield [ ] A block that configures the command (see {Puppet::Provider::Command})
|
210
|
-
# @comment a yield [ ] produces {|| ...} in the signature, do not remove the space.
|
211
|
-
# @note the name ´has_command´ looks odd in an API context, but makes more sense when seen in the internal
|
212
|
-
# DSL context where a Provider is declaratively defined.
|
213
|
-
# @api public
|
214
|
-
#
|
215
|
-
def self.has_command(name, path, &block)
|
216
|
-
name = name.intern
|
217
|
-
command = CommandDefiner.define(name, path, self, &block)
|
218
|
-
|
219
|
-
@commands[name] = command.executable
|
220
|
-
|
221
|
-
# Now define the class and instance methods.
|
222
|
-
create_class_and_instance_method(name) do |*args|
|
223
|
-
return command.execute(*args)
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
|
-
# Internal helper class when creating commands - undocumented.
|
228
|
-
# @api private
|
229
|
-
class CommandDefiner
|
230
|
-
private_class_method :new
|
231
|
-
|
232
|
-
def self.define(name, path, confiner, &block)
|
233
|
-
definer = new(name, path, confiner)
|
234
|
-
definer.instance_eval(&block) if block
|
235
|
-
definer.command
|
236
|
-
end
|
237
|
-
|
238
|
-
def initialize(name, path, confiner)
|
239
|
-
@name = name
|
240
|
-
@path = path
|
241
|
-
@optional = false
|
242
|
-
@confiner = confiner
|
243
|
-
@custom_environment = {}
|
244
|
-
end
|
245
|
-
|
246
|
-
def is_optional
|
247
|
-
@optional = true
|
248
|
-
end
|
249
|
-
|
250
|
-
def environment(env)
|
251
|
-
@custom_environment = @custom_environment.merge(env)
|
252
|
-
end
|
253
|
-
|
254
|
-
def command
|
255
|
-
if not @optional
|
256
|
-
@confiner.confine :exists => @path, :for_binary => true
|
257
|
-
end
|
258
|
-
|
259
|
-
Puppet::Provider::Command.new(@name, @path, Puppet::Util, Puppet::Util::Execution, { :failonfail => true, :combine => true, :custom_environment => @custom_environment })
|
260
|
-
end
|
261
|
-
end
|
262
|
-
|
263
|
-
# @return [Boolean] Return whether the given feature has been declared or not.
|
264
|
-
def self.declared_feature?(name)
|
265
|
-
defined?(@declared_features) and @declared_features.include?(name)
|
266
|
-
end
|
267
|
-
|
268
|
-
# @return [Boolean] Returns whether this implementation satisfies all of the default requirements or not.
|
269
|
-
# Returns false if there is no matching defaultfor
|
270
|
-
# @see Provider.defaultfor
|
271
|
-
#
|
272
|
-
def self.default?
|
273
|
-
default_match ? true : false
|
274
|
-
end
|
275
|
-
|
276
|
-
# Look through the array of defaultfor hashes and return the first match.
|
277
|
-
# @return [Hash<{String => Object}>] the matching hash specified by a defaultfor
|
278
|
-
# @see Provider.defaultfor
|
279
|
-
# @api private
|
280
|
-
def self.default_match
|
281
|
-
@defaults.find do |default|
|
282
|
-
default.all? do |key, values|
|
283
|
-
case key
|
284
|
-
when :feature
|
285
|
-
feature_match(values)
|
286
|
-
else
|
287
|
-
fact_match(key, values)
|
288
|
-
end
|
289
|
-
end
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
# Compare a fact value against one or more supplied value
|
294
|
-
# @param [Symbol] fact a fact to query to match against one of the given values
|
295
|
-
# @param [Array, Regexp, String] values one or more values to compare to the
|
296
|
-
# value of the given fact
|
297
|
-
# @return [Boolean] whether or not the fact value matches one of the supplied
|
298
|
-
# values. Given one or more Regexp instances, fact is compared via the basic
|
299
|
-
# pattern-matching operator.
|
300
|
-
def self.fact_match(fact, values)
|
301
|
-
fact_val = Facter.value(fact).to_s.downcase
|
302
|
-
if fact_val.empty?
|
303
|
-
return false
|
304
|
-
else
|
305
|
-
values = [values] unless values.is_a?(Array)
|
306
|
-
values.any? do |value|
|
307
|
-
if value.is_a?(Regexp)
|
308
|
-
fact_val =~ value
|
309
|
-
else
|
310
|
-
fact_val.intern == value.to_s.downcase.intern
|
311
|
-
end
|
312
|
-
end
|
313
|
-
end
|
314
|
-
end
|
315
|
-
|
316
|
-
def self.feature_match(value)
|
317
|
-
Puppet.features.send(value.to_s + "?")
|
318
|
-
end
|
319
|
-
|
320
|
-
# Sets a facts filter that determine which of several suitable providers should be picked by default.
|
321
|
-
# This selection only kicks in if there is more than one suitable provider.
|
322
|
-
# To filter on multiple facts the given hash may contain more than one fact name/value entry.
|
323
|
-
# The filter picks the provider if all the fact/value entries match the current set of facts. (In case
|
324
|
-
# there are still more than one provider after this filtering, the first found is picked).
|
325
|
-
# @param hash [Hash<{String => Object}>] hash of fact name to fact value.
|
326
|
-
# @return [void]
|
327
|
-
#
|
328
|
-
def self.defaultfor(hash)
|
329
|
-
@defaults << hash
|
330
|
-
end
|
331
|
-
|
332
|
-
# @return [Integer] Returns a numeric specificity for this provider based on how many requirements it has
|
333
|
-
# and number of _ancestors_. The higher the number the more specific the provider.
|
334
|
-
# The number of requirements is based on the hash size of the matching {Provider.defaultfor}.
|
335
|
-
#
|
336
|
-
# The _ancestors_ is the Ruby Module::ancestors method and the number of classes returned is used
|
337
|
-
# to boost the score. The intent is that if two providers are equal, but one is more "derived" than the other
|
338
|
-
# (i.e. includes more classes), it should win because it is more specific).
|
339
|
-
# @note Because of how this value is
|
340
|
-
# calculated there could be surprising side effects if a provider included an excessive amount of classes.
|
341
|
-
#
|
342
|
-
def self.specificity
|
343
|
-
# This strange piece of logic attempts to figure out how many parent providers there
|
344
|
-
# are to increase the score. What is will actually do is count all classes that Ruby Module::ancestors
|
345
|
-
# returns (which can be other classes than those the parent chain) - in a way, an odd measure of the
|
346
|
-
# complexity of a provider).
|
347
|
-
match = default_match
|
348
|
-
length = match ? match.length : 0
|
349
|
-
(length * 100) + ancestors.select { |a| a.is_a? Class }.length
|
350
|
-
end
|
351
|
-
|
352
|
-
# Initializes defaults and commands (i.e. clears them).
|
353
|
-
# @return [void]
|
354
|
-
def self.initvars
|
355
|
-
@defaults = []
|
356
|
-
@commands = {}
|
357
|
-
end
|
358
|
-
|
359
|
-
# Returns a list of system resources (entities) this provider may/can manage.
|
360
|
-
# This is a query mechanism that lists entities that the provider may manage on a given system. It is
|
361
|
-
# is directly used in query services, but is also the foundation for other services; prefetching, and
|
362
|
-
# purging.
|
363
|
-
#
|
364
|
-
# As an example, a package provider lists all installed packages. (In contrast, the File provider does
|
365
|
-
# not list all files on the file-system as that would make execution incredibly slow). An implementation
|
366
|
-
# of this method should be made if it is possible to quickly (with a single system call) provide all
|
367
|
-
# instances.
|
368
|
-
#
|
369
|
-
# An implementation of this method should only cache the values of properties
|
370
|
-
# if they are discovered as part of the process for finding existing resources.
|
371
|
-
# Resource properties that require additional commands (than those used to determine existence/identity)
|
372
|
-
# should be implemented in their respective getter method. (This is important from a performance perspective;
|
373
|
-
# it may be expensive to compute, as well as wasteful as all discovered resources may perhaps not be managed).
|
374
|
-
#
|
375
|
-
# An implementation may return an empty list (naturally with the effect that it is not possible to query
|
376
|
-
# for manageable entities).
|
377
|
-
#
|
378
|
-
# By implementing this method, it is possible to use the `resources´ resource type to specify purging
|
379
|
-
# of all non managed entities.
|
380
|
-
#
|
381
|
-
# @note The returned instances are instance of some subclass of Provider, not resources.
|
382
|
-
# @return [Array<Puppet::Provider>] a list of providers referencing the system entities
|
383
|
-
# @abstract this method must be implemented by a subclass and this super method should never be called as it raises an exception.
|
384
|
-
# @raise [Puppet::DevError] Error indicating that the method should have been implemented by subclass.
|
385
|
-
# @see prefetch
|
386
|
-
def self.instances
|
387
|
-
raise Puppet::DevError, _("Provider %{provider} has not defined the 'instances' class method") % { provider: self.name }
|
388
|
-
end
|
389
|
-
|
390
|
-
# Creates getter- and setter- methods for each property supported by the resource type.
|
391
|
-
# Call this method to generate simple accessors for all properties supported by the
|
392
|
-
# resource type. These simple accessors lookup and sets values in the property hash.
|
393
|
-
# The generated methods may be overridden by more advanced implementations if something
|
394
|
-
# else than a straight forward getter/setter pair of methods is required.
|
395
|
-
# (i.e. define such overriding methods after this method has been called)
|
396
|
-
#
|
397
|
-
# An implementor of a provider that makes use of `prefetch` and `flush` can use this method since it uses
|
398
|
-
# the internal `@property_hash` variable to store values. An implementation would then update the system
|
399
|
-
# state on a call to `flush` based on the current values in the `@property_hash`.
|
400
|
-
#
|
401
|
-
# @return [void]
|
402
|
-
#
|
403
|
-
def self.mk_resource_methods
|
404
|
-
[resource_type.validproperties, resource_type.parameters].flatten.each do |attr|
|
405
|
-
attr = attr.intern
|
406
|
-
next if attr == :name
|
407
|
-
define_method(attr) do
|
408
|
-
if @property_hash[attr].nil?
|
409
|
-
:absent
|
410
|
-
else
|
411
|
-
@property_hash[attr]
|
412
|
-
end
|
413
|
-
end
|
414
|
-
|
415
|
-
define_method(attr.to_s + "=") do |val|
|
416
|
-
@property_hash[attr] = val
|
417
|
-
end
|
418
|
-
end
|
419
|
-
end
|
420
|
-
|
421
|
-
self.initvars
|
422
|
-
|
423
|
-
# This method is used to generate a method for a command.
|
424
|
-
# @return [void]
|
425
|
-
# @api private
|
426
|
-
#
|
427
|
-
def self.create_class_and_instance_method(name, &block)
|
428
|
-
unless singleton_class.method_defined?(name)
|
429
|
-
meta_def(name, &block)
|
430
|
-
end
|
431
|
-
|
432
|
-
unless method_defined?(name)
|
433
|
-
define_method(name) do |*args|
|
434
|
-
self.class.send(name, *args)
|
435
|
-
end
|
436
|
-
end
|
437
|
-
end
|
438
|
-
private_class_method :create_class_and_instance_method
|
439
|
-
|
440
|
-
# @return [String] Returns the data source, which is the provider name if no other source has been set.
|
441
|
-
# @todo Unclear what "the source" is used for?
|
442
|
-
def self.source
|
443
|
-
@source ||= self.name
|
444
|
-
end
|
445
|
-
|
446
|
-
# Returns true if the given attribute/parameter is supported by the provider.
|
447
|
-
# The check is made that the parameter is a valid parameter for the resource type, and then
|
448
|
-
# if all its required features (if any) are supported by the provider.
|
449
|
-
#
|
450
|
-
# @param param [Class, Puppet::Parameter] the parameter class, or a parameter instance
|
451
|
-
# @return [Boolean] Returns whether this provider supports the given parameter or not.
|
452
|
-
# @raise [Puppet::DevError] if the given parameter is not valid for the resource type
|
453
|
-
#
|
454
|
-
def self.supports_parameter?(param)
|
455
|
-
if param.is_a?(Class)
|
456
|
-
klass = param
|
457
|
-
else
|
458
|
-
unless klass = resource_type.attrclass(param)
|
459
|
-
raise Puppet::DevError, _("'%{parameter_name}' is not a valid parameter for %{resource_type}") % { parameter_name: param, resource_type: resource_type.name }
|
460
|
-
end
|
461
|
-
end
|
462
|
-
return true unless features = klass.required_features
|
463
|
-
|
464
|
-
!!satisfies?(*features)
|
465
|
-
end
|
466
|
-
|
467
|
-
dochook(:defaults) do
|
468
|
-
if @defaults.length > 0
|
469
|
-
return @defaults.collect do |d|
|
470
|
-
"Default for " + d.collect do |f, v|
|
471
|
-
"`#{f}` == `#{[v].flatten.join(', ')}`"
|
472
|
-
end.sort.join(" and ") + "."
|
473
|
-
end.join(" ")
|
474
|
-
end
|
475
|
-
end
|
476
|
-
|
477
|
-
dochook(:commands) do
|
478
|
-
if @commands.length > 0
|
479
|
-
return "Required binaries: " + @commands.collect do |n, c|
|
480
|
-
"`#{c}`"
|
481
|
-
end.sort.join(", ") + "."
|
482
|
-
end
|
483
|
-
end
|
484
|
-
|
485
|
-
dochook(:features) do
|
486
|
-
if features.length > 0
|
487
|
-
return "Supported features: " + features.collect do |f|
|
488
|
-
"`#{f}`"
|
489
|
-
end.sort.join(", ") + "."
|
490
|
-
end
|
491
|
-
end
|
492
|
-
|
493
|
-
# Clears this provider instance to allow GC to clean up.
|
494
|
-
def clear
|
495
|
-
@resource = nil
|
496
|
-
end
|
497
|
-
|
498
|
-
# (see command)
|
499
|
-
def command(name)
|
500
|
-
self.class.command(name)
|
501
|
-
end
|
502
|
-
|
503
|
-
# Returns the value of a parameter value, or `:absent` if it is not defined.
|
504
|
-
# @param param [Puppet::Parameter] the parameter to obtain the value of
|
505
|
-
# @return [Object] the value of the parameter or `:absent` if not defined.
|
506
|
-
#
|
507
|
-
def get(param)
|
508
|
-
@property_hash[param.intern] || :absent
|
509
|
-
end
|
510
|
-
|
511
|
-
# Creates a new provider that is optionally initialized from a resource or a hash of properties.
|
512
|
-
# If no argument is specified, a new non specific provider is initialized. If a resource is given
|
513
|
-
# it is remembered for further operations. If a hash is used it becomes the internal `@property_hash`
|
514
|
-
# structure of the provider - this hash holds the current state property values of system entities
|
515
|
-
# as they are being discovered by querying or other operations (typically getters).
|
516
|
-
#
|
517
|
-
# @todo The use of a hash as a parameter needs a better explanation; why is this done? What is the intent?
|
518
|
-
# @param resource [Puppet::Resource, Hash] optional resource or hash
|
519
|
-
#
|
520
|
-
def initialize(resource = nil)
|
521
|
-
if resource.is_a?(Hash)
|
522
|
-
# We don't use a duplicate here, because some providers (ParsedFile, at least)
|
523
|
-
# use the hash here for later events.
|
524
|
-
@property_hash = resource
|
525
|
-
elsif resource
|
526
|
-
@resource = resource
|
527
|
-
@property_hash = {}
|
528
|
-
else
|
529
|
-
@property_hash = {}
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
|
-
# Returns the name of the resource this provider is operating on.
|
534
|
-
# @return [String] the name of the resource instance (e.g. the file path of a File).
|
535
|
-
# @raise [Puppet::DevError] if no resource is set, or no name defined.
|
536
|
-
#
|
537
|
-
def name
|
538
|
-
if n = @property_hash[:name]
|
539
|
-
return n
|
540
|
-
elsif self.resource
|
541
|
-
resource.name
|
542
|
-
else
|
543
|
-
raise Puppet::DevError, _("No resource and no name in property hash in %{class_name} instance") % { class_name: self.class.name }
|
544
|
-
end
|
545
|
-
end
|
546
|
-
|
547
|
-
# Sets the given parameters values as the current values for those parameters.
|
548
|
-
# Other parameters are unchanged.
|
549
|
-
# @param [Array<Puppet::Parameter>] params the parameters with values that should be set
|
550
|
-
# @return [void]
|
551
|
-
#
|
552
|
-
def set(params)
|
553
|
-
params.each do |param, value|
|
554
|
-
@property_hash[param.intern] = value
|
555
|
-
end
|
556
|
-
end
|
557
|
-
|
558
|
-
# @return [String] Returns a human readable string with information about the resource and the provider.
|
559
|
-
def to_s
|
560
|
-
"#{@resource}(provider=#{self.class.name})"
|
561
|
-
end
|
562
|
-
|
563
|
-
# @return [String] Returns a human readable string with information about the resource and the provider.
|
564
|
-
def inspect
|
565
|
-
to_s
|
566
|
-
end
|
567
|
-
|
568
|
-
# Makes providers comparable.
|
569
|
-
include Comparable
|
570
|
-
# Compares this provider against another provider.
|
571
|
-
# Comparison is only possible with another provider (no other class).
|
572
|
-
# The ordering is based on the class name of the two providers.
|
573
|
-
#
|
574
|
-
# @return [-1,0,+1, nil] A comparison result -1, 0, +1 if this is before other, equal or after other. Returns
|
575
|
-
# nil oif not comparable to other.
|
576
|
-
# @see Comparable
|
577
|
-
def <=>(other)
|
578
|
-
# We can only have ordering against other providers.
|
579
|
-
return nil unless other.is_a? Puppet::Provider
|
580
|
-
# Otherwise, order by the providers class name.
|
581
|
-
return self.class.name <=> other.class.name
|
582
|
-
end
|
583
|
-
|
584
|
-
# @comment Document prefetch here as it does not exist anywhere else (called from transaction if implemented)
|
585
|
-
# @!method self.prefetch(resource_hash)
|
586
|
-
# @abstract A subclass may implement this - it is not implemented in the Provider class
|
587
|
-
# This method may be implemented by a provider in order to pre-fetch resource properties.
|
588
|
-
# If implemented it should set the provider instance of the managed resources to a provider with the
|
589
|
-
# fetched state (i.e. what is returned from the {instances} method).
|
590
|
-
# @param resources_hash [Hash<{String => Puppet::Resource}>] map from name to resource of resources to prefetch
|
591
|
-
# @return [void]
|
592
|
-
# @api public
|
593
|
-
|
594
|
-
# @comment Document post_resource_eval here as it does not exist anywhere else (called from transaction if implemented)
|
595
|
-
# @!method self.post_resource_eval()
|
596
|
-
# @since 3.4.0
|
597
|
-
# @api public
|
598
|
-
# @abstract A subclass may implement this - it is not implemented in the Provider class
|
599
|
-
# This method may be implemented by a provider in order to perform any
|
600
|
-
# cleanup actions needed. It will be called at the end of the transaction if
|
601
|
-
# any resources in the catalog make use of the provider, regardless of
|
602
|
-
# whether the resources are changed or not and even if resource failures occur.
|
603
|
-
# @return [void]
|
604
|
-
|
605
|
-
# @comment Document flush here as it does not exist anywhere (called from transaction if implemented)
|
606
|
-
# @!method flush()
|
607
|
-
# @abstract A subclass may implement this - it is not implemented in the Provider class
|
608
|
-
# This method may be implemented by a provider in order to flush properties that has not been individually
|
609
|
-
# applied to the managed entity's current state.
|
610
|
-
# @return [void]
|
611
|
-
# @api public
|
612
|
-
end
|
613
|
-
|