Issue #22280 has been updated by Dawn Foster. Project changed from Ask Puppet Labs to Puppet
This bug is unrelated to the Ask Puppet Labs website (wrong project). I'm putting it in Puppet for now and hoping Charlie can make sure it ends up in the right project. ---------------------------------------- Bug #22280: Apache a2enmod fails https://projects.puppetlabs.com/issues/22280#change-96754 * Author: Till Ehrengruber * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: a2enmod apache undefined method * Branch: ---------------------------------------- Hey there, i'm getting wirred a wirred error message when using a2enmod: <pre> Error: Could not prefetch a2mod provider 'a2mod': undefined method `collect' for #<String:0xa8c3908> Error: /Stage[main]//A2mod[Enable proxy mod]: Could not evaluate: undefined method `collect' for #<String:0xa91d408> </pre> In my site.pp <pre> include apache a2mod { "Enable proxy mod": name => "autoindex",ensure => "present"} </pre> or just by applying it: <pre> puppet apply -e "a2mod { "Enable proxy mod": name => "autoindex",ensure => "present"}" </pre> System: OS: Ubuntu 12.04 (in an openvz container) Puppet version: 3.2.2 (Puppet Enterprise 3.0.0), installed from same binary on master and node My path is set to: <pre> Exec { path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"], } </pre> I already proofed that a2enmod is there and in path <pre> $ which a2enmod /usr/sbin/a2enmod </pre> and also tried with a different module than mod proxy. I even made a completly fresh install (master and nodes) but no change :-( Maybe there are some packages that don't belong together so here is my sources.list: <pre> deb http://archive.ubuntu.com/ubuntu precise main restricted universe deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu precise partner </pre> -- 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://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
