On Mon, 2008-10-13 at 14:09 -0500, Luke Kanies wrote:
> I think this has already been fixed, hasn't it?

I don't see it in James Turnbull's 0.24.x github branch - that is the
one we are supposed to be tracking for 0.24.6rc1, right?

Sean

> 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
> >
> >
> > >
> 
> 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to