X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Fensure_packages.rb;h=f255c036ef4d08127beb490fd1a45c0b867acd46;hp=f91e3e1ca34c7c01dae0cfc9e275a57b68adc247;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb index f91e3e1ca..f255c036e 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb @@ -3,9 +3,14 @@ # module Puppet::Parser::Functions newfunction(:ensure_packages, :type => :statement, :doc => <<-DOC - Takes a list of packages and only installs them if they don't already exist. + @summary + Takes a list of packages and only installs them if they don't already exist. + It optionally takes a hash as a second parameter that will be passed as the third argument to the ensure_resource() function. + + @return + install the passed packages DOC ) do |arguments|