Comments (5)
Thanks for your report.
Can you elaborate a little more? I though Amazon Linux is quite RHEL compatible so far.
What version are you using, and which versions are affected?
The iptables-services
package should be available according to this post.
I think this might be due to the different versioning, as Amazon Linux uses 2014.09
while RHEL is at 7
.
My guess is, you're using an older version of Amazon Linux, which is still on a RHEL 6 (or lower) basis, but 2014.09 > 7
so the recipe gets confused.
Note that you can also always override the packages installed as the README states:
node['iptables-ng']['packages'] = %w(iptables iptables-ipv6)
from iptables-ng.
Yes, you are right, it is 2014.03
I believe all versions above 2.2.0 are affected.
Thanks for a hint with packages override, though.
cat ./system-release
Amazon Linux AMI release 2014.03
yum install iptables-services
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
No package iptables-services available.
Error: Nothing to do
from iptables-ng.
Could you try whether this is the case on 2014.09, too?
I can't test Amazon Linux, as there's not vagrant boxes for it as far as I know. I don't want to remove iptables-services
and then break support for the current release.
from iptables-ng.
I am having the same problem using Amazon Linux 2014.09:
# cat /etc/system-release
Amazon Linux AMI release 2014.09
# sudo yum install iptables-services
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
1017 packages excluded due to repository priority protections
No package iptables-services available.
Error: Nothing to do
In case it helps:
# yum search iptables
Loaded plugins: priorities, update-motd, upgrade-helper
1017 packages excluded due to repository priority protections
=========================================================================== N/S matched: iptables ===========================================================================
perl-IPTables-ChainMgr.noarch : Perl extension for manipulating iptables policies
perl-IPTables-Parse.noarch : Perl extension for parsing iptables firewall rulesets
collectd-iptables.x86_64 : Iptables plugin for collectd
fwsnort.noarch : Translates Snort rules into equivalent iptables rules
iptables-devel.x86_64 : Development package for iptables
iptables-utils.x86_64 : iptables and ip6tables services for iptables
shorewall.noarch : An iptables front end for firewall configuration
compat-iptables.i686 : Tools for managing Linux kernel packet filtering capabilities
compat-iptables.x86_64 : Tools for managing Linux kernel packet filtering capabilities
firehol.noarch : A powerful yet easy to use iptables frontend
iptables.i686 : Tools for managing Linux kernel packet filtering capabilities
iptables.x86_64 : Tools for managing Linux kernel packet filtering capabilities
iptstate.x86_64 : A top-like display of IP Tables state table entries
Name and summary matches only, use "search all" for everything.
from iptables-ng.
I released v2.2.5 with a fix that just installs only iptables
on Amazon Linux. Waiting for further bug reports. :)
from iptables-ng.
Related Issues (20)
- Generate 'default' file for custom LWRP chains HOT 5
- ? Does this restart iptables every chef run? HOT 7
- iptables-persistent restart always seems to fail HOT 7
- Loop through IPs listed in an attribute array or hash. HOT 4
- should we only reload the rules if it's safe to do so? HOT 8
- (Request) HOT 3
- IPv6 nat support HOT 7
- rule resources is flagged as updated every converge HOT 4
- delete rules that are not part of compiled attributes? HOT 3
- service[iptables-persistent] always fails when rules changed HOT 2
- locking a rule to one TCP version doesn't work (on el7) HOT 1
- Issue on debian 8 HOT 8
- 2.2.9 version breaks things badly. HOT 2
- LWRP not working as stated on the README HOT 13
- Missing v3.0.0 version git tag HOT 1
- Creating NAT/FORWARD chains does not create the directory using iptables_ng_chain HOT 2
- Ubuntu 16.04? HOT 5
- Deprecated resource cloning in Chef 13 HOT 1
- Missing 'manage' recipe? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iptables-ng.