diff options
author | nfagerlund <nick.fagerlund@gmail.com> | 2011-08-18 15:12:28 -0700 |
---|---|---|
committer | nfagerlund <nick.fagerlund@gmail.com> | 2011-08-18 15:12:28 -0700 |
commit | b623826a4edc5b1f4bb509aae923d77e8845ad42 (patch) | |
tree | c1fa1c6dbfe1c10f8472ff29fde7d0c38bc92f4f /lib | |
parent | 208b41e5dd3d5b9285759592acb25892b7c9ba89 (diff) | |
download | puppet-b623826a4edc5b1f4bb509aae923d77e8845ad42.tar.gz puppet-b623826a4edc5b1f4bb509aae923d77e8845ad42.tar.xz puppet-b623826a4edc5b1f4bb509aae923d77e8845ad42.zip |
Maint: Fix line wrapping in create_resources function
This is a cosmetic commit improving the line wrapping in the create_resources
function's documentation string.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/functions/create_resources.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/create_resources.rb b/lib/puppet/parser/functions/create_resources.rb index 8b281515f..646761957 100644 --- a/lib/puppet/parser/functions/create_resources.rb +++ b/lib/puppet/parser/functions/create_resources.rb @@ -1,7 +1,8 @@ Puppet::Parser::Functions::newfunction(:create_resources, :doc => <<-'ENDHEREDOC') do |args| Converts a hash into a set of resources and adds them to the catalog. - This function takes two arguments: a resource type, and a hash describing a set of resources. The hash should be in the form `{title => {parameters} }`: + This function takes two arguments: a resource type, and a hash describing + a set of resources. The hash should be in the form `{title => {parameters} }`: # A hash of user resources: $myusers = { @@ -15,7 +16,8 @@ Puppet::Parser::Functions::newfunction(:create_resources, :doc => <<-'ENDHEREDOC create_resource(user, $myusers) - This function can be used to create defined resources and classes, as well as native resources. + This function can be used to create defined resources and classes, as well + as native resources. ENDHEREDOC raise ArgumentError, ("create_resources(): wrong number of arguments (#{args.length}; must be 2)") if args.length != 2 #raise ArgumentError, 'requires resource type and param hash' if args.size < 2 |