Issue #2856 has been updated by micah -.

Status changed from Needs more information to Rejected

Well, I was holding off on looking into this until I'd sorted out the other 
issues with my upgrade, and now that I turn back to this issue, I am not seeing 
the message any longer. I'm not sure why that is, my only thought is that 
perhaps one of the commits in the branch that you published to fix #2863 made 
this go away. Either than or there was something else funky going on. 

I guess I would say that this should be closed, if you can't replicate it, and 
I can't either any longer... so I am going to change the status to Rejected, 
please feel free to change that if that isn't the right status, or if you would 
like me to do some further investigation.
----------------------------------------
Bug #2856: Setting recursion depth with the recurse parameter is now 
deprecated, please use recurselimit
http://projects.reductivelabs.com/issues/2856

Author: micah -
Status: Rejected
Priority: Normal
Assigned to: micah -
Category: file
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: 


I got this deprecation warning on a file resource that I am managing, which was 
like this:

<pre>
file {    
  "/home/":
    mode => 2755,
    owner => root,
    group => staff,
    recurse => 1;
}
</pre>

Ok, no problem, thanks for the deprecation warning. So I go an lookup the docs 
about how recurselimit should be, it says:

<pre>
recurse: Whether and how deeply to do recursive management. Valid values are 
true, false, inf, remote. Values can match /^[0-9]+$/.
recurselimit: How deeply to do recursive management. Values can match 
/^[0-9]+$/.
</pre>

Ok, so that says to me that I should specify that I want to do recursion (what 
is remote?) and that I should set the recurselimit to be one to match my former 
behavior, so I turned my file resource above into this:

<pre>
file {    
  "/home/":
    mode => 2755,
    owner => root,
    group => staff,
    recurse => true,
    recurselimit => 1;
}
</pre>

However, I am still getting this deprecation notice:

warning: /File[/home/]/recurse: Setting recursion depth with the recurse 
parameter is now deprecated, please use recurselimit

even though I am *not* setting the recursion depth with the recurse parameter. 
I'm not sure if the documentation is wrong here, or this warning is not very 
smart?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.


Reply via email to