Chef Error, No such file or Directory

Hello Everyone,

I'm very to chef and I'm building my first cookbook to configure SeLinux in Centos7.

When I run the cookbook in kitchen converge I get the below stacktrace:

27: template '/etc/selinux/config' do
28: source "config.erb"
29: mode "0644"
30: variables(
31: :selinux_state => node['selinux']['selinux-state'],
32: :selinux_type => node['selinux']['selinux-type']
33: )
34: owner duser
35: group dgroup
36: action :create
37:
38: end
39:

[2020-03-03T14:18:11+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2020-03-03T14:18:11+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2020-03-03T14:18:11+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: template[/etc/selinux/config] (selinux::default line 27) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of ["/sbin/restorecon", "-R", "/etc/selinux/config"] ----
STDOUT:
STDERR: No such file or directory
---- End output of ["/sbin/restorecon", "-R", "/etc/selinux/config"] ----
Ran ["/sbin/restorecon", "-R", "/etc/selinux/config"] returned 1

I checked multiple time that the patch etc/selinux/config is correct so I do not understand why it tells me "no such file or directory"???

Does /sbin/restorecon exists ?

Yes both files exist