Issue #1904 has been reported by nwp.
----------------------------------------
Bug #1904: "alias" metaparameter gives error when used on file resource with
"recurse => true"
http://projects.reductivelabs.com/issues/1904
Author: nwp
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.6
Keywords:
This is with 0.24.6
Error given is along the lines of:
Could not create /srv/wordpress/plugins/flexi-pages-widget.zip: Parameter alias
failed: Munging failed for value ["wordpress-plugins"] in class alias: Cannot
add aliases without a catalog
Where the resource definition is:
file { "/srv/wordpress/plugins":
recurse => true,
alias => "wordpress-plugins",
path => "/srv/wordpress/plugins",
owner => root,
group => operator,
source => "puppet://$servername/wordpress/plugins",
require => Package["wordpress"],
notify => Service["apache2"],
}
As an aside, this also seems to eat memory like it's going out of fashion. I
get the impression that recursive file resources internally act as if there is
one resource per file (although I haven't looked at the code yet) and that this
fact is the root of both these problems.
Cheers,
Nick
----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---