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 3
3
# @summary
4
4
# This converts a string to a puppet resource.
5
5
#
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.
8
8
#
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.
12
12
#
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.
15
15
Puppet ::Functions . create_function ( :'stdlib::str2resource' ) do
16
16
# @param res_string The string to lookup as a resource
17
17
# @example
Original file line number Diff line number Diff line change 30
30
# }
31
31
#
32
32
# @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
41
41
class stdlib::manage (
42
42
Hash[String, Hash] $create_resources = {}
43
43
) {
You can’t perform that action at this time.
0 commit comments