sous-chefs / xinetd

Development repository for the xinetd cookbook

Home Page:https://supermarket.chef.io/cookbooks/xinetd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incorrect atrribute name for xinetd service template

stgarf opened this issue · comments

I noticed a service wasn't getting disabled when I set disabled to yes.

In /var/log/syslog.log I can see the following:

Jan 21 00:06:49 debian-7 xinetd[3643]: bad service attribute: disabled [file=/etc/xinetd.d/http [line=3]

https://github.com/stevendanna/cookbook-xinetd/blob/master/templates/default/service.erb#L3

I believe the correct atrribute name is actually disable as opposed to it's current incarnation.

Setting disable = yes successfully disabled the service in xinetd for me on this system.

One thing that I had not considered was that this was renamed or differs based on xinetd version or OS. I have not looked into this, nor have I tested it.

1.0.2 has ben released which should have your fix. Thanks!