-
Notifications
You must be signed in to change notification settings - Fork 3
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
update 0.1.9 issues with firewalld #8
Comments
Hi @thaylin You have the option to disable it. In fact, this process is how it works in our install-cc. You can review the file here http://www.severalnines.com/downloads/cmon/install-cc .
It is a limitation because the CC is built of a complex management for open source databases and it's not intended to manage the OS security, as that is a case-to-case basis. That's why if you read the docs it is mentioned that if you are able to setup your security, then you can set this to false. I don't think that is a security issue. The user has to know the software itself on how to use it. |
I do not have an option of disabling it, the issue is not not that I can disable the action to disable firewalld, the issue is that the service call
Is now duplicated Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Service[firewalld] is already declared at (file: /etc/puppetlabs/code/environments/lib_master/modules/firewalld/manifests/init.pp, line: 78); cannot redeclare (file: /etc/puppetlabs/code/environments/lib_master/modules/clustercontrol/manifests/init.pp, line: 135) (file: /etc/puppetlabs/code/environments/lib_master/modules/clustercontrol/manifests/init.pp, line: 135, column: 7) on node clustercontrol.lib.ncsu.edu
You could potentially get around this by having the service call also in an if statement that is only processed if disable_firewall => true. |
Hi @thaylin Thanks you're right. I missed that one there. I'll fix that. |
Fix and added now. We've updated our documentation as well as we won't touch/leave current configuration when disable_firewall and disable_os_sec_module are false. |
It seems the update for 0.1.9 introduced a default disabling of firewalld. This I believe is bad form. Modules should not disable major security features of the machine on its own, particularly one that is forward facing such as the firewall, as default.
In addition as a practical matter the update breaks puppet applies on any system that is already managing firewalld with a duplicate declaration error. There does not seem to be a way to turn off this error that I know, even with disabling this feature. I have locked my repo to 0.1.8 so puppet can run, even though I cannot take advantage of the previous patch to the controller ID.
The text was updated successfully, but these errors were encountered: