Skip to content

Commit

Permalink
Merge pull request puppetlabs#2626 from mhashizume/maint/main/diagram
Browse files Browse the repository at this point in the history
(maint) Update user interaction diagram
  • Loading branch information
joshcooper authored Oct 20, 2023
2 parents 72eefd0 + ffc0ff9 commit 6fac270
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,19 @@ Facts are the nuggets of information that will be provided by facter e.g. `os.na
Resolvers have the role of gathering data from the system.
For example a resolver can execute a command on the system, can read a file or any operation that retrieves some data from a single source on the system.

![Facter user interaction](docs/diagrams/facter_user_interaction.png?raw=true)
```mermaid
sequenceDiagram
participant user
participant framework
participant fact
participant resolver
user->>framework: user query
framework->>fact: create
fact->>resolver: resolve
resolver->>fact: system information
fact->>framework: fact value
framework->>user: formatted user output
````

## Getting started
After cloning the project, run `bundle install` to install all dependencies.
Expand Down
Binary file removed docs/diagrams/facter_user_interaction.png
Binary file not shown.

0 comments on commit 6fac270

Please sign in to comment.