Skip to content

Commit af575d0

Browse files
committed
Fix new errors after rebasing on top of main
1 parent 863b42f commit af575d0

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

lib/puppet/functions/stdlib/str2resource.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# @summary
44
# This converts a string to a puppet resource.
55
#
6-
# This attempts to convert a string like 'File[/foo]' into the
7-
# puppet resource `File['/foo']` as detected by the catalog.
6+
# This attempts to convert a string like 'File[/foo]' into the
7+
# puppet resource `File['/foo']` as detected by the catalog.
88
#
9-
# Things like 'File[/foo, /bar]' are not supported as a
10-
# title might contain things like ',' or ' '. There is
11-
# no clear value seperator to use.
9+
# Things like 'File[/foo, /bar]' are not supported as a
10+
# title might contain things like ',' or ' '. There is
11+
# no clear value seperator to use.
1212
#
13-
# This function can depend on the parse order of your
14-
# manifests/modules as it inspects the catalog thus far.
13+
# This function can depend on the parse order of your
14+
# manifests/modules as it inspects the catalog thus far.
1515
Puppet::Functions.create_function(:'stdlib::str2resource') do
1616
# @param res_string The string to lookup as a resource
1717
# @example

manifests/manage.pp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
# }
3131
#
3232
# @example
33-
# stdlib::manage::create_resources:
34-
# file:
35-
# '/etc/motd.d/hello':
36-
# content: I say Hi
37-
# notify: 'Service[sshd]'
38-
# package:
39-
# example:
40-
# ensure: installed
33+
# stdlib::manage::create_resources:
34+
# file:
35+
# '/etc/motd.d/hello':
36+
# content: I say Hi
37+
# notify: 'Service[sshd]'
38+
# package:
39+
# example:
40+
# ensure: installed
4141
class stdlib::manage (
4242
Hash[String, Hash] $create_resources = {}
4343
) {

0 commit comments

Comments
 (0)