puppetlabs-firewall | Puppet Firewall Module | Firewall library
kandi X-RAY | puppetlabs-firewall Summary
kandi X-RAY | puppetlabs-firewall Summary
The firewall module lets you manage firewall rules with Puppet.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- calculate the IP address prefix
- Returns a string representation of this mask .
- Returns the prefix from the cluster
puppetlabs-firewall Key Features
puppetlabs-firewall Examples and Code Snippets
Community Discussions
Trending Discussions on puppetlabs-firewall
QUESTION
I have a basic puppet install using this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-puppet-4-on-ubuntu-16-04
When I run /opt/puppetlabs/bin/puppet agent --test
on my node I get
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Error while evaluating a Resource Statement. Could not find declared class firewall at /etc/puppetlabs/code/environments/production/manifests/site.pp:7:1 on node mark-inspiron.
On my node:
...ANSWER
Answered 2017-Sep-20 at 20:30You need to install the modules on your master in a master setup with Puppet. They need to be somewhere in your modulepath
. You can either place it in the modules directory within your $codedir
(normally /etc/puppetlabs/code/modules
) or in your directory environment modules directory (likely /etc/puppetlabs/code/environments/production/modules
in your case since your cited site.pp
is there). If you defined additional module paths in your environment.conf
, then you can also place the modules there.
You can install/deploy them with a variety of methods, such as librarian-puppet, r10k, or code-manager (in Enterprise). However, the easiest method for you would be puppet module install puppetlabs-firewall
on the master. Your Puppet catalog will then find the firewall
class during compilation.
On a side note, that:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install puppetlabs-firewall
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page