- From: David Montgomery <
>
- To:
- Subject: [chef] Will will not work with a command
- Date: Wed, 10 Oct 2012 18:36:50 +0800
Hi,
I am havihng a severe issue with chef executing a command.
If I manually execute this command after fail the I can boot strap.
But even in a prior recipe I execute this command
execute "thes" do
command "echo 'ip_conntrack' >> /etc/modules"
action :run
end
chef fails with this error. When I load a template and execute sysctl
-p /etc/sysctl.conf
---- Begin output of sysctl -p /etc/sysctl.conf ----
STDOUT: net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_orphan_retries = 1
net.ipv4.tcp_fin_timeout = 25
net.ipv4.tcp_max_orphans = 8192
net.ipv4.ip_local_port_range = 32768 61000
STDERR: error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key
---- End output of sysctl -p /etc/sysctl.conf ----
Ran sysctl -p /etc/sysctl.conf returned 255
^Z
[1]+ Stopped tail -f chef_bootstrap.out
From the command line I execute echo 'ip_conntrack' >> /etc/modules
Then I rerun and it works.
Why will not chef work?
- [chef] Will will not work with a command, David Montgomery, 10/10/2012
Archive powered by MHonArc 2.6.16.