From 0ee829f91322ae1788ee6fb2a164cf06cdfff7db Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Mon, 2 Oct 2017 14:32:48 -0700 Subject: tests: Combine integration configs and testcases Combine the configs and testcases directories, so all files are together in one place. Update the test config location as well. --- tests/cloud_tests/testcases/modules/set_password.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/cloud_tests/testcases/modules/set_password.yaml (limited to 'tests/cloud_tests/testcases/modules/set_password.yaml') diff --git a/tests/cloud_tests/testcases/modules/set_password.yaml b/tests/cloud_tests/testcases/modules/set_password.yaml new file mode 100644 index 00000000..04d7c58a --- /dev/null +++ b/tests/cloud_tests/testcases/modules/set_password.yaml @@ -0,0 +1,19 @@ +# +# Set password of default user +# +required_features: + - ubuntu_user +cloud_config: | + #cloud-config + password: password + chpasswd: { expire: False } + ssh_pwauth: True +collect_scripts: + shadow: | + #!/bin/bash + cat /etc/shadow + sshd_config: | + #!/bin/bash + grep '^PasswordAuth' /etc/ssh/sshd_config + +# vi: ts=4 expandtab -- cgit v1.2.3