Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Editing the Content attribute in `systemd_unit` with `edit_resource` cannot get past validation #8640
Create a recipe in your cookbook, something simple like this:
My example content should work fine, since it's basically a copy-paste from the chef-client cookbook, with hardcoded variables.
I did try turning on debug level logging, but the above error report didn't change much.
That will have nothing to do with edit_resource at all.
The systemd_unit property validation itself is fine with the argument.
What is failing is the file sub-resource has a file verifier to ensure the rendered file has sane content.
Offhand I'm not seeing a bug here unless there's something wrong with that file verifier.