[chef] Re: The route resource provide in Chef


Chronological Thread 
  • From: Bryan McLellan < >
  • To: Sascha Bates < >
  • Cc: ,
  • Subject: [chef] Re: The route resource provide in Chef
  • Date: Wed, 2 Mar 2011 15:11:05 -0800

On Wed, Mar 2, 2011 at 7:45 AM, Sascha Bates 
< >
 wrote:
> We're running RH 5.5 systems w/Chef 0.9.12 at my client.  I've got the
> route provider set up for some static route requirements.  Sadly, it
> doesn't seem to be writing to a config file, although it creates the
> route table just fine.  This is a problem for our ops guys if they
> reboot the servers, especially since things are not mature enough yet
> to just run chef-client all the time (which would rebuild the route
> table).

While I wrote the initial route provider, it was over two years ago
and none of my code remains. From a cursory review of the code, it
appears that on redhat based platforms it should save routes to files
in the /etc/sysconfig/network-scripts/ directory. Can you run
'chef-client -l debug' and provide the output in a gist or pastebin?
You should see "writing route" in the output when it does.

I'm copying the Chef list to include the rest of the community as they
may have more input.

Bryan



Archive powered by MHonArc 2.6.16.

§