-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with firewall in 3.0 #128
Comments
I can't replicate this, tested:
|
I had an issue when moved to 3.0, the pull request #98 fixed it. |
@ruckc well, I can't replicate it even on 3.0.2 (centos 6): puppet --version3.0.2 puppet apply /tmp/foo.ppNotice: /Firewall[050 foo]/ensure: created puppet module list/etc/puppet/modules |
I am running puppet 3.1.0 and am still encountering this issue. I'm not sure what you're trying to duplicate the issue, but I get it when I change the port number of an existing firewall rule. |
@phemmer what issue exactly? Like I said - if its the method_missing one I can't replicate it on a clean system - there must be something environmental that is special to cause this to happen. |
Error: /Firewall[100 nginx]/dport: change from 80 to 80,443 failed: The iptables provider can not handle attribute dport EDIT: The pull request (#98) mentioned by rucks does fix the issue. |
#98 worked for me without issue. Curtis Ruck On Thu, Feb 28, 2013 at 4:04 PM, Ken Barber notifications@github.comwrote:
|
Previously method_missing was enough to create dynamic methods but Puppet 3.0 broke that functionality. So here we used 'define_method' instead to work around that. Signed-off-by: Ken Barber <ken@bob.sh>
* ticket/master/128-puppet_30_broke_method_missing: (GH-128) Change method_missing to define_method
@ruckc except when you hit a parameter that someone forgot to add to that static list I bet. You just haven't hit that particular case. Anyway, I've merged in a fix that uses the resource_map. |
Now I'm getting this:
I'm qubit on irc if that makes this easier. |
Can you run it with a --trace? |
|
@ruckc try again on master - looks like it was a Ruby 1.9 v 1.8 syntax mistake on my part. |
@kbarber I'm assuming you meant to me :-) |
@phemmer yeah I'm just not with it today. Okay I've pushed it. |
Yup, all good now. Thanks :-) |
Previously method_missing was enough to create dynamic methods but Puppet 3.0 broke that functionality. So here we used 'define_method' instead to work around that. Signed-off-by: Ken Barber <ken@bob.sh>
Previously method_missing was enough to create dynamic methods but Puppet 3.0 broke that functionality. So here we used 'define_method' instead to work around that. Signed-off-by: Ken Barber <ken@bob.sh>
Although I can't replicate this in 3.1.0, Puppet 3.0.1 used to have a problem with method_missing. Has this just disappeared or is something up with that version of Puppet?
The text was updated successfully, but these errors were encountered: