bolt 0.21.7 → 0.21.8
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/lib/bolt/transport/ssh/connection.rb +4 -5
- data/lib/bolt/transport/ssh.rb +4 -1
- data/lib/bolt/transport/winrm/connection.rb +3 -4
- data/lib/bolt/transport/winrm.rb +4 -1
- data/lib/bolt/version.rb +1 -1
- data/libexec/apply_catalog.rb +10 -2
- data/vendored/puppet/lib/puppet/application/apply.rb +20 -9
- data/vendored/puppet/lib/puppet/application/cert.rb +3 -1
- data/vendored/puppet/lib/puppet/application/device.rb +22 -5
- data/vendored/puppet/lib/puppet/configurer/fact_handler.rb +5 -1
- data/vendored/puppet/lib/puppet/configurer.rb +15 -2
- data/vendored/puppet/lib/puppet/defaults.rb +36 -25
- data/vendored/puppet/lib/puppet/face/certificate.rb +2 -0
- data/vendored/puppet/lib/puppet/feature/base.rb +0 -3
- data/vendored/puppet/lib/puppet/functions/call.rb +37 -0
- data/vendored/puppet/lib/puppet/functions.rb +5 -0
- data/vendored/puppet/lib/puppet/indirector/ldap.rb +6 -0
- data/vendored/puppet/lib/puppet/node/environment.rb +4 -2
- data/vendored/puppet/lib/puppet/parser/scope.rb +2 -2
- data/vendored/puppet/lib/puppet/pops/adapters.rb +14 -0
- data/vendored/puppet/lib/puppet/pops/evaluator/deferred_resolver.rb +128 -0
- data/vendored/puppet/lib/puppet/pops/evaluator/evaluator_impl.rb +4 -1
- data/vendored/puppet/lib/puppet/pops/functions/dispatch.rb +2 -0
- data/vendored/puppet/lib/puppet/pops/issues.rb +9 -1
- data/vendored/puppet/lib/puppet/pops/loader/static_loader.rb +0 -16
- data/vendored/puppet/lib/puppet/pops/loaders.rb +1 -3
- data/vendored/puppet/lib/puppet/pops/parser/eparser.rb +6 -6
- data/vendored/puppet/lib/puppet/pops/pcore.rb +11 -0
- data/vendored/puppet/lib/puppet/pops/types/type_factory.rb +17 -0
- data/vendored/puppet/lib/puppet/pops/validation/tasks_checker.rb +13 -5
- data/vendored/puppet/lib/puppet/pops.rb +1 -0
- data/vendored/puppet/lib/puppet/provider/service/debian.rb +1 -0
- data/vendored/puppet/lib/puppet/provider/service/smf.rb +2 -3
- data/vendored/puppet/lib/puppet/provider/service/upstart.rb +10 -2
- data/vendored/puppet/lib/puppet/ssl/certificate_authority.rb +6 -84
- data/vendored/puppet/lib/puppet/ssl/certificate_request.rb +11 -3
- data/vendored/puppet/lib/puppet/type/file.rb +3 -0
- data/vendored/puppet/lib/puppet/type/user.rb +17 -3
- data/vendored/puppet/lib/puppet/util/autoload.rb +36 -31
- data/vendored/puppet/lib/puppet/util.rb +2 -0
- metadata +3 -43
- data/vendored/puppet/lib/puppet/indirector/node/write_only_yaml.rb +0 -39
- data/vendored/puppet/lib/puppet/provider/augeas/augeas.rb +0 -573
- data/vendored/puppet/lib/puppet/provider/cisco.rb +0 -9
- data/vendored/puppet/lib/puppet/provider/computer/computer.rb +0 -20
- 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/macauthorization/macauthorization.rb +0 -298
- data/vendored/puppet/lib/puppet/provider/mcx/mcxcontent.rb +0 -173
- data/vendored/puppet/lib/puppet/provider/mount/parsed.rb +0 -282
- data/vendored/puppet/lib/puppet/provider/mount.rb +0 -76
- 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/ssh_authorized_key/parsed.rb +0 -105
- data/vendored/puppet/lib/puppet/provider/sshkey/parsed.rb +0 -50
- data/vendored/puppet/lib/puppet/provider/vlan/cisco.rb +0 -28
- data/vendored/puppet/lib/puppet/provider/yumrepo/inifile.rb +0 -315
- data/vendored/puppet/lib/puppet/type/augeas.rb +0 -211
- data/vendored/puppet/lib/puppet/type/computer.rb +0 -66
- 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/mcx.rb +0 -98
- data/vendored/puppet/lib/puppet/type/mount.rb +0 -314
- data/vendored/puppet/lib/puppet/type/router.rb +0 -17
- 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/ssh_authorized_key.rb +0 -143
- data/vendored/puppet/lib/puppet/type/sshkey.rb +0 -83
- data/vendored/puppet/lib/puppet/type/vlan.rb +0 -26
- data/vendored/puppet/lib/puppet/type/yumrepo.rb +0 -430
- 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/cisco.rb +0 -4
- data/vendored/puppet/lib/puppet/util/network_device/ipcalc.rb +0 -68
- 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/windows/taskscheduler.rb +0 -1267
@@ -115,6 +115,35 @@ class Puppet::Util::Autoload
|
|
115
115
|
def module_directories(env)
|
116
116
|
raise ArgumentError, "Autoloader requires an environment" unless env
|
117
117
|
|
118
|
+
Puppet::Util::ModuleDirectoriesAdapter.adapt(env) do |a|
|
119
|
+
a.directories ||= env.modulepath.collect do |dir|
|
120
|
+
Dir.entries(dir).reject { |f| f =~ /^\./ }.collect { |f| File.join(dir, f, "lib") }
|
121
|
+
end.flatten.find_all do |d|
|
122
|
+
FileTest.directory?(d)
|
123
|
+
end
|
124
|
+
end.directories
|
125
|
+
end
|
126
|
+
|
127
|
+
# @api private
|
128
|
+
def vendored_modules
|
129
|
+
dir = Puppet[:vendormoduledir]
|
130
|
+
if dir && File.directory?(dir)
|
131
|
+
Dir.entries(dir)
|
132
|
+
.reject { |f| f =~ /^\./ }
|
133
|
+
.collect { |f| File.join(dir, f, "lib") }
|
134
|
+
.find_all { |d| FileTest.directory?(d) }
|
135
|
+
else
|
136
|
+
[]
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# @api private
|
141
|
+
def gem_directories
|
142
|
+
gem_source.directories
|
143
|
+
end
|
144
|
+
|
145
|
+
# @api private
|
146
|
+
def search_directories(env)
|
118
147
|
# This is a little bit of a hack. Basically, the autoloader is being
|
119
148
|
# called indirectly during application bootstrapping when we do things
|
120
149
|
# such as check "features". However, during bootstrapping, we haven't
|
@@ -135,41 +164,17 @@ class Puppet::Util::Autoload
|
|
135
164
|
# "app_defaults_initialized?" method on the main puppet Settings object.
|
136
165
|
# --cprice 2012-03-16
|
137
166
|
if Puppet.settings.app_defaults_initialized?
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
end
|
145
|
-
end.directories
|
146
|
-
else
|
147
|
-
# if we get here, the app defaults have not been initialized, so we basically use an empty module path.
|
148
|
-
[]
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
# @api private
|
153
|
-
def libdirs
|
154
|
-
# See the comments in #module_directories above. Basically, we need to be careful not to try to access the
|
155
|
-
# libdir before we know for sure that all of the settings have been initialized (e.g., during bootstrapping).
|
156
|
-
if (Puppet.settings.app_defaults_initialized?)
|
157
|
-
[Puppet[:libdir]]
|
167
|
+
unless @initialized
|
168
|
+
$LOAD_PATH.unshift(Puppet[:libdir])
|
169
|
+
$LOAD_PATH.concat(vendored_modules)
|
170
|
+
@initialized = true
|
171
|
+
end
|
172
|
+
gem_directories + module_directories(env) + $LOAD_PATH
|
158
173
|
else
|
159
|
-
|
174
|
+
gem_directories + $LOAD_PATH
|
160
175
|
end
|
161
176
|
end
|
162
177
|
|
163
|
-
# @api private
|
164
|
-
def gem_directories
|
165
|
-
gem_source.directories
|
166
|
-
end
|
167
|
-
|
168
|
-
# @api private
|
169
|
-
def search_directories(env)
|
170
|
-
[gem_directories, module_directories(env), libdirs, $LOAD_PATH].flatten
|
171
|
-
end
|
172
|
-
|
173
178
|
# Normalize a path. This converts ALT_SEPARATOR to SEPARATOR on Windows
|
174
179
|
# and eliminates unnecessary parts of a path.
|
175
180
|
def cleanpath(path)
|
@@ -300,6 +300,8 @@ module Util
|
|
300
300
|
# would use Puppet.features.microsoft_windows?, but this method needs to
|
301
301
|
# be called during the initialization of features so it can't depend on
|
302
302
|
# that.
|
303
|
+
#
|
304
|
+
# @deprecated Use ruby's built-in methods to determine if a path is absolute.
|
303
305
|
platform ||= Puppet::Util::Platform.windows? ? :windows : :posix
|
304
306
|
regex = case platform
|
305
307
|
when :windows
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -843,7 +843,6 @@ files:
|
|
843
843
|
- vendored/puppet/lib/puppet/indirector/node/plain.rb
|
844
844
|
- vendored/puppet/lib/puppet/indirector/node/rest.rb
|
845
845
|
- vendored/puppet/lib/puppet/indirector/node/store_configs.rb
|
846
|
-
- vendored/puppet/lib/puppet/indirector/node/write_only_yaml.rb
|
847
846
|
- vendored/puppet/lib/puppet/indirector/node/yaml.rb
|
848
847
|
- vendored/puppet/lib/puppet/indirector/none.rb
|
849
848
|
- vendored/puppet/lib/puppet/indirector/plain.rb
|
@@ -1048,6 +1047,7 @@ files:
|
|
1048
1047
|
- vendored/puppet/lib/puppet/pops/evaluator/collectors/exported_collector.rb
|
1049
1048
|
- vendored/puppet/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb
|
1050
1049
|
- vendored/puppet/lib/puppet/pops/evaluator/compare_operator.rb
|
1050
|
+
- vendored/puppet/lib/puppet/pops/evaluator/deferred_resolver.rb
|
1051
1051
|
- vendored/puppet/lib/puppet/pops/evaluator/epp_evaluator.rb
|
1052
1052
|
- vendored/puppet/lib/puppet/pops/evaluator/evaluator_impl.rb
|
1053
1053
|
- vendored/puppet/lib/puppet/pops/evaluator/external_syntax_support.rb
|
@@ -1203,10 +1203,7 @@ files:
|
|
1203
1203
|
- vendored/puppet/lib/puppet/property/ordered_list.rb
|
1204
1204
|
- vendored/puppet/lib/puppet/provider.rb
|
1205
1205
|
- vendored/puppet/lib/puppet/provider/aixobject.rb
|
1206
|
-
- vendored/puppet/lib/puppet/provider/augeas/augeas.rb
|
1207
|
-
- vendored/puppet/lib/puppet/provider/cisco.rb
|
1208
1206
|
- vendored/puppet/lib/puppet/provider/command.rb
|
1209
|
-
- vendored/puppet/lib/puppet/provider/computer/computer.rb
|
1210
1207
|
- vendored/puppet/lib/puppet/provider/confine.rb
|
1211
1208
|
- vendored/puppet/lib/puppet/provider/cron/crontab.rb
|
1212
1209
|
- vendored/puppet/lib/puppet/provider/exec.rb
|
@@ -1221,13 +1218,7 @@ files:
|
|
1221
1218
|
- vendored/puppet/lib/puppet/provider/group/ldap.rb
|
1222
1219
|
- vendored/puppet/lib/puppet/provider/group/pw.rb
|
1223
1220
|
- vendored/puppet/lib/puppet/provider/group/windows_adsi.rb
|
1224
|
-
- vendored/puppet/lib/puppet/provider/host/parsed.rb
|
1225
|
-
- vendored/puppet/lib/puppet/provider/interface/cisco.rb
|
1226
1221
|
- vendored/puppet/lib/puppet/provider/ldap.rb
|
1227
|
-
- vendored/puppet/lib/puppet/provider/macauthorization/macauthorization.rb
|
1228
|
-
- vendored/puppet/lib/puppet/provider/mcx/mcxcontent.rb
|
1229
|
-
- vendored/puppet/lib/puppet/provider/mount.rb
|
1230
|
-
- vendored/puppet/lib/puppet/provider/mount/parsed.rb
|
1231
1222
|
- vendored/puppet/lib/puppet/provider/nameservice.rb
|
1232
1223
|
- vendored/puppet/lib/puppet/provider/nameservice/directoryservice.rb
|
1233
1224
|
- vendored/puppet/lib/puppet/provider/nameservice/objectadd.rb
|
@@ -1277,9 +1268,6 @@ files:
|
|
1277
1268
|
- vendored/puppet/lib/puppet/provider/package/yum.rb
|
1278
1269
|
- vendored/puppet/lib/puppet/provider/package/zypper.rb
|
1279
1270
|
- vendored/puppet/lib/puppet/provider/parsedfile.rb
|
1280
|
-
- vendored/puppet/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb
|
1281
|
-
- vendored/puppet/lib/puppet/provider/selboolean/getsetsebool.rb
|
1282
|
-
- vendored/puppet/lib/puppet/provider/selmodule/semodule.rb
|
1283
1271
|
- vendored/puppet/lib/puppet/provider/service/base.rb
|
1284
1272
|
- vendored/puppet/lib/puppet/provider/service/bsd.rb
|
1285
1273
|
- vendored/puppet/lib/puppet/provider/service/daemontools.rb
|
@@ -1300,8 +1288,6 @@ files:
|
|
1300
1288
|
- vendored/puppet/lib/puppet/provider/service/systemd.rb
|
1301
1289
|
- vendored/puppet/lib/puppet/provider/service/upstart.rb
|
1302
1290
|
- vendored/puppet/lib/puppet/provider/service/windows.rb
|
1303
|
-
- vendored/puppet/lib/puppet/provider/ssh_authorized_key/parsed.rb
|
1304
|
-
- vendored/puppet/lib/puppet/provider/sshkey/parsed.rb
|
1305
1291
|
- vendored/puppet/lib/puppet/provider/user/aix.rb
|
1306
1292
|
- vendored/puppet/lib/puppet/provider/user/directoryservice.rb
|
1307
1293
|
- vendored/puppet/lib/puppet/provider/user/hpux.rb
|
@@ -1311,8 +1297,6 @@ files:
|
|
1311
1297
|
- vendored/puppet/lib/puppet/provider/user/user_role_add.rb
|
1312
1298
|
- vendored/puppet/lib/puppet/provider/user/useradd.rb
|
1313
1299
|
- vendored/puppet/lib/puppet/provider/user/windows_adsi.rb
|
1314
|
-
- vendored/puppet/lib/puppet/provider/vlan/cisco.rb
|
1315
|
-
- vendored/puppet/lib/puppet/provider/yumrepo/inifile.rb
|
1316
1300
|
- vendored/puppet/lib/puppet/reference/configuration.rb
|
1317
1301
|
- vendored/puppet/lib/puppet/reference/function.rb
|
1318
1302
|
- vendored/puppet/lib/puppet/reference/indirection.rb
|
@@ -1397,9 +1381,7 @@ files:
|
|
1397
1381
|
- vendored/puppet/lib/puppet/transaction/report.rb
|
1398
1382
|
- vendored/puppet/lib/puppet/transaction/resource_harness.rb
|
1399
1383
|
- vendored/puppet/lib/puppet/type.rb
|
1400
|
-
- vendored/puppet/lib/puppet/type/augeas.rb
|
1401
1384
|
- vendored/puppet/lib/puppet/type/component.rb
|
1402
|
-
- vendored/puppet/lib/puppet/type/computer.rb
|
1403
1385
|
- vendored/puppet/lib/puppet/type/cron.rb
|
1404
1386
|
- vendored/puppet/lib/puppet/type/exec.rb
|
1405
1387
|
- vendored/puppet/lib/puppet/type/file.rb
|
@@ -1419,29 +1401,15 @@ files:
|
|
1419
1401
|
- vendored/puppet/lib/puppet/type/file/type.rb
|
1420
1402
|
- vendored/puppet/lib/puppet/type/filebucket.rb
|
1421
1403
|
- vendored/puppet/lib/puppet/type/group.rb
|
1422
|
-
- vendored/puppet/lib/puppet/type/host.rb
|
1423
|
-
- vendored/puppet/lib/puppet/type/interface.rb
|
1424
|
-
- vendored/puppet/lib/puppet/type/k5login.rb
|
1425
|
-
- vendored/puppet/lib/puppet/type/macauthorization.rb
|
1426
|
-
- vendored/puppet/lib/puppet/type/mcx.rb
|
1427
|
-
- vendored/puppet/lib/puppet/type/mount.rb
|
1428
1404
|
- vendored/puppet/lib/puppet/type/notify.rb
|
1429
1405
|
- vendored/puppet/lib/puppet/type/package.rb
|
1430
1406
|
- vendored/puppet/lib/puppet/type/resources.rb
|
1431
|
-
- vendored/puppet/lib/puppet/type/router.rb
|
1432
1407
|
- vendored/puppet/lib/puppet/type/schedule.rb
|
1433
|
-
- vendored/puppet/lib/puppet/type/scheduled_task.rb
|
1434
|
-
- vendored/puppet/lib/puppet/type/selboolean.rb
|
1435
|
-
- vendored/puppet/lib/puppet/type/selmodule.rb
|
1436
1408
|
- vendored/puppet/lib/puppet/type/service.rb
|
1437
|
-
- vendored/puppet/lib/puppet/type/ssh_authorized_key.rb
|
1438
|
-
- vendored/puppet/lib/puppet/type/sshkey.rb
|
1439
1409
|
- vendored/puppet/lib/puppet/type/stage.rb
|
1440
1410
|
- vendored/puppet/lib/puppet/type/tidy.rb
|
1441
1411
|
- vendored/puppet/lib/puppet/type/user.rb
|
1442
|
-
- vendored/puppet/lib/puppet/type/vlan.rb
|
1443
1412
|
- vendored/puppet/lib/puppet/type/whit.rb
|
1444
|
-
- vendored/puppet/lib/puppet/type/yumrepo.rb
|
1445
1413
|
- vendored/puppet/lib/puppet/util.rb
|
1446
1414
|
- vendored/puppet/lib/puppet/util/at_fork.rb
|
1447
1415
|
- vendored/puppet/lib/puppet/util/at_fork/noop.rb
|
@@ -1488,16 +1456,9 @@ files:
|
|
1488
1456
|
- vendored/puppet/lib/puppet/util/multi_match.rb
|
1489
1457
|
- vendored/puppet/lib/puppet/util/network_device.rb
|
1490
1458
|
- vendored/puppet/lib/puppet/util/network_device/base.rb
|
1491
|
-
- vendored/puppet/lib/puppet/util/network_device/cisco.rb
|
1492
|
-
- vendored/puppet/lib/puppet/util/network_device/cisco/device.rb
|
1493
|
-
- vendored/puppet/lib/puppet/util/network_device/cisco/facts.rb
|
1494
|
-
- vendored/puppet/lib/puppet/util/network_device/cisco/interface.rb
|
1495
1459
|
- vendored/puppet/lib/puppet/util/network_device/config.rb
|
1496
|
-
- vendored/puppet/lib/puppet/util/network_device/ipcalc.rb
|
1497
1460
|
- vendored/puppet/lib/puppet/util/network_device/transport.rb
|
1498
1461
|
- vendored/puppet/lib/puppet/util/network_device/transport/base.rb
|
1499
|
-
- vendored/puppet/lib/puppet/util/network_device/transport/ssh.rb
|
1500
|
-
- vendored/puppet/lib/puppet/util/network_device/transport/telnet.rb
|
1501
1462
|
- vendored/puppet/lib/puppet/util/package.rb
|
1502
1463
|
- vendored/puppet/lib/puppet/util/pidlock.rb
|
1503
1464
|
- vendored/puppet/lib/puppet/util/platform.rb
|
@@ -1557,7 +1518,6 @@ files:
|
|
1557
1518
|
- vendored/puppet/lib/puppet/util/windows/security_descriptor.rb
|
1558
1519
|
- vendored/puppet/lib/puppet/util/windows/sid.rb
|
1559
1520
|
- vendored/puppet/lib/puppet/util/windows/string.rb
|
1560
|
-
- vendored/puppet/lib/puppet/util/windows/taskscheduler.rb
|
1561
1521
|
- vendored/puppet/lib/puppet/util/windows/user.rb
|
1562
1522
|
- vendored/puppet/lib/puppet/util/yaml.rb
|
1563
1523
|
- vendored/puppet/lib/puppet/vendor.rb
|
@@ -1,39 +0,0 @@
|
|
1
|
-
require 'puppet/node'
|
2
|
-
require 'puppet/indirector/yaml'
|
3
|
-
|
4
|
-
# This is a WriteOnlyYaml terminus that exists only for the purpose of being able to write
|
5
|
-
# node cache data that later can be read by the YAML terminus.
|
6
|
-
# The use case this supports is to make it possible to search among the "current nodes"
|
7
|
-
# when Puppet DB (recommended) or other central storage of information is not available.
|
8
|
-
#
|
9
|
-
# @see puppet issue 16753
|
10
|
-
# @see Puppet::Application::Master#setup_node_cache
|
11
|
-
# @api private
|
12
|
-
#
|
13
|
-
class Puppet::Node::WriteOnlyYaml < Puppet::Indirector::Yaml
|
14
|
-
def initialize
|
15
|
-
#TRANSLATORS 'Puppet::Node::WriteOnlyYaml' is a class and should not be translated
|
16
|
-
message = _('Puppet::Node::WriteOnlyYaml is deprecated and will be removed in a future release of Puppet.')
|
17
|
-
Puppet.warn_once('deprecations', 'Puppet::Node::WriteOnlyYaml', message)
|
18
|
-
super
|
19
|
-
end
|
20
|
-
|
21
|
-
desc "(Deprecated) Store node information as flat files, serialized using YAML,
|
22
|
-
does not deserialize (write only)."
|
23
|
-
|
24
|
-
# Overridden to always return nil. This is a write only terminus.
|
25
|
-
# @param [Object] request Ignored.
|
26
|
-
# @return [nil] This implementation always return nil'
|
27
|
-
# @api public
|
28
|
-
def find(request)
|
29
|
-
nil
|
30
|
-
end
|
31
|
-
|
32
|
-
# Overridden to always return nil. This is a write only terminus.
|
33
|
-
# @param [Object] request Ignored.
|
34
|
-
# @return [nil] This implementation always return nil
|
35
|
-
# @api public
|
36
|
-
def search(request)
|
37
|
-
nil
|
38
|
-
end
|
39
|
-
end
|