File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
lib/puppet/functions/stdlib Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 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.
1515Puppet ::Functions . create_function ( :'stdlib::str2resource' ) do
1616 # @param res_string The string to lookup as a resource
1717 # @example
Original file line number Diff line number Diff line change 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
4141class stdlib::manage (
4242 Hash[String, Hash] $create_resources = {}
4343) {
You can’t perform that action at this time.
0 commit comments