diff --git a/changelog/68316.fixed.md b/changelog/68316.fixed.md new file mode 100644 index 000000000000..851806aeaecc --- /dev/null +++ b/changelog/68316.fixed.md @@ -0,0 +1 @@ +Fix typo ("crete" -> "create") in docstring example for `file.directory` state in `salt/states/file.py`. diff --git a/salt/states/file.py b/salt/states/file.py index 1bc08b613e34..37ce32500895 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -4264,7 +4264,7 @@ def directory( Because ``cmd.run`` has no way of communicating that it's creating a file, ``will_always_clean`` will remove the newly created file. Of course, every time the states run the same thing will happen - the - ``silly_way_of_creating_a_file`` will crete the file and + ``silly_way_of_creating_a_file`` will create the file and ``will_always_clean`` will always remove it. Over and over again, no matter how many times you run it.