Closed illia-sh closed 6 years ago
I have pinned cookbook 'systemd', "= 2.1.3" in Berksfile , now works fine.
also it should be fixed in 3.0.2
I'm having what might be a similar problem but berks says I'm running systemd 3.1.0 ` kibana5_configure[kibana] action configure
Error executing action `configure` on resource 'kibana5_configure[kibana]'
NoMethodError
-------------
undefined method `description' for Custom resource systemd_service from cookbook systemd
chef_version=13.2.20
platform=opensuseleap
platform_version=42.2
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
program_name=chef-client worker: ppid=16842;start=14:09:40;
executable=/opt/chef/bin/chef-client
`
Any guidance for a newbie?
I'm having the same issue with description
property using version 3.1.0 of the systemd cookbook.
Pinning to systemd version 2.1.3
also fixed my issue.
Added the line "cookbook 'systemd', "= 2.1.3"" to my Berksfile, am I doing that right?
Still getting: NoMethodError: undefined method `description' for Custom resource systemd_service from cookbook systemd
Hi all.
I fixed version in a cookbook for now. Author of systemd
cookbook have fully refactored it. Better wait and see what will happen.
This appears fixed in more recent 3.x versions of systemd (at least, I can't reproduce it anymore) and the 2.1.3
version lock is an option for users with legacy support requirements.
Going to close this for now. Cheers!
I haven't checked yet , but systemd cookbook was updated recently , so it might be the root cause. https://github.com/nathwill/chef-systemd/releases