You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dummy chef config should have been created, likely failing on the dummy server URL and credentials given.
Actual Behavior
The provisioner fails when trying to chown the user key, because it uses an outdated syntax for chown that most Linux distros accept as a backwards compatibility measure, but FreeBSD doesn't.
aws_instance.freebsd_test: Still creating... (3m30s elapsed)
aws_instance.freebsd_test (chef): Thank you for installing Chef!
aws_instance.freebsd_test (chef): Creating configuration files...
aws_instance.freebsd_test: Still creating... (3m40s elapsed)
aws_instance.freebsd_test (chef): chown: root.root: illegal user name
aws_instance.freebsd_test (chef): Cleanup user key...
Steps to Reproduce
mkdir freebsd-test; cd freebsd-test
ssh keygen -t rsa -f test
copy the configuration file in this bug report to main.tf
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
(this requires a SSH key pair in the same directory, with the file names
test
andtest.pub
for the private and public keys, respectively)Expected Behavior
The dummy chef config should have been created, likely failing on the dummy server URL and credentials given.
Actual Behavior
The provisioner fails when trying to
chown
the user key, because it uses an outdated syntax forchown
that most Linux distros accept as a backwards compatibility measure, but FreeBSD doesn't.Steps to Reproduce
mkdir freebsd-test; cd freebsd-test
ssh keygen -t rsa -f test
main.tf
terraform apply
References
PR #18533 fixes this
The text was updated successfully, but these errors were encountered: