I think this has already been fixed, hasn't it?
On Oct 13, 2008, at 1:47 PM, Sean E. Millichamp wrote:
>
> Patch against 0.24.6rc1.
>
> Signed-off-by: Sean E. Millichamp <[EMAIL PROTECTED]>
> ---
> lib/puppet/type/file/checksum.rb | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/lib/puppet/type/file/checksum.rb b/lib/puppet/type/file/
> checksum.rb
> index 27edee1..2e2c38d 100755
> --- a/lib/puppet/type/file/checksum.rb
> +++ b/lib/puppet/type/file/checksum.rb
> @@ -54,7 +54,9 @@ Puppet::Type.type(:file).newproperty(:checksum) do
> if FileTest.directory?(@resource[:path])
> return :time
> elsif @resource[:source]
> - self.warning("Files with source set must use md5
> as checksum. Forcing to md5 from %s for %s" % [ value,
> @resource[:path] ])
> + if value != :md5
> + self.warning("Files with source set must use
> md5 as checksum. Forcing to md5 from %s for %s" % [ value,
> @resource[:path] ])
> + end
> return :md5
> else
> return symbolize(value)
> --
> 1.5.5.1
>
>
> >
--
The chief lesson I have learned in a long life is that the only way to
make a man trustworthy is to trust him; and the surest way to make him
untrustworthy is to distrust him and show your distrust.
-- Henry L. Stimson
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---