diff options
author | eb3095 <45504889+eb3095@users.noreply.github.com> | 2023-01-04 05:20:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 11:20:10 +0100 |
commit | 5a557755345f7f6d1cdc6d0c6cd4ef4be501ec4f (patch) | |
tree | 24c0bf4a8450870151a1c1b3beef3dd26aeb18a8 | |
parent | efe0201932e5a6ffaa20f489016b0cf0342d646f (diff) | |
download | cloud-init-git-5a557755345f7f6d1cdc6d0c6cd4ef4be501ec4f.tar.gz |
Fix typo with package_update/package_upgrade (#1927)
test/doc: Fix typo with package_update/package_upgrade
There's a typo in the docs that can lead to confusion.
packages_update > package_update
packages_upgrade > package_upgrade
-rw-r--r-- | doc/examples/cloud-config-ansible-controller.txt | 4 | ||||
-rw-r--r-- | doc/examples/cloud-config-ansible-pull.txt | 4 | ||||
-rw-r--r-- | tests/integration_tests/modules/test_ansible.py | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/doc/examples/cloud-config-ansible-controller.txt b/doc/examples/cloud-config-ansible-controller.txt index 389f8f88..da2f58f0 100644 --- a/doc/examples/cloud-config-ansible-controller.txt +++ b/doc/examples/cloud-config-ansible-controller.txt @@ -4,8 +4,8 @@ # This example installs a playbook repository from a remote private repository # and then runs two of the plays. -packages_update: true -packages_upgrade: true +package_update: true +package_upgrade: true packages: - git - python3-pip diff --git a/doc/examples/cloud-config-ansible-pull.txt b/doc/examples/cloud-config-ansible-pull.txt index 62acc5a9..73985772 100644 --- a/doc/examples/cloud-config-ansible-pull.txt +++ b/doc/examples/cloud-config-ansible-pull.txt @@ -1,6 +1,6 @@ #cloud-config -packages_update: true -packages_upgrade: true +package_update: true +package_upgrade: true # if you're already installing other packages, you may # wish to manually install ansible to avoid multiple calls diff --git a/tests/integration_tests/modules/test_ansible.py b/tests/integration_tests/modules/test_ansible.py index d781dabf..587385d4 100644 --- a/tests/integration_tests/modules/test_ansible.py +++ b/tests/integration_tests/modules/test_ansible.py @@ -12,8 +12,8 @@ REPO_D = "/root/playbooks" USER_DATA = """\ #cloud-config version: v1 -packages_update: true -packages_upgrade: true +package_update: true +package_upgrade: true packages: - git - python3-pip @@ -114,8 +114,8 @@ ANSIBLE_CONTROL = """\ # This example installs a playbook repository from a remote private repository # and then runs two of the plays. -packages_update: true -packages_upgrade: true +package_update: true +package_upgrade: true packages: - git - python3-pip |