Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-10940: file and command components in examples & web ui sections #3183

Merged
merged 6 commits into from
Jan 15, 2024

Conversation

mineralsfree
Copy link
Contributor

No description provided.

Ticket: ENT-10940
Changelog: None
Signed-off-by: Mikita Pilinka <[email protected]>
@mineralsfree mineralsfree added the WIP work in progress label Jan 10, 2024
@mineralsfree
Copy link
Contributor Author

@cf-bottom jenkins, please

@mineralsfree
Copy link
Contributor Author

@cf-bottom jenkins, please

@mineralsfree
Copy link
Contributor Author

@cf-bottom jenkins, please

/var/cfengine/bin/cf-agent --no-lock --file ./hello_world.cf --bundlesequence hello_world
```

This command instructs CFEngine to ignore [locks][Controlling frequency], load
the `hello_world.cf` policy, and activate the `hello_world` bundle. See the output below:

```console
```command
# /var/cfengine/bin/cf-agent --no-lock --file ./hello_world.cf --bundlesequence hello_world
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# /var/cfengine/bin/cf-agent --no-lock --file ./hello_world.cf --bundlesequence hello_world
/var/cfengine/bin/cf-agent --no-lock --file ./hello_world.cf --bundlesequence hello_world

```console
root@debian8:~/core/examples# cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd
```command
cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd
cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd

root@debian8:~/core/examples# cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd
```command
cf-agent -KIf ./mustache_template_motd.cf; cat /etc/motd
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deindent this by removing a space

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mineralsfree looks like you fixed the other things I commented on, but this one remains

@mineralsfree mineralsfree force-pushed the ENT-10940 branch 2 times, most recently from 32e6009 to 4016968 Compare January 11, 2024 13:57
@mineralsfree
Copy link
Contributor Author

@cf-bottom jenkins, please

Ticket: ENT-10940
Changelog: None
Signed-off-by: Mikita Pilinka <[email protected]>
Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to ensure there is a blank line before the command markdown for it to work correctly. Added some suggestions, there are more further down.

…e second is command component

Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
@olehermanse olehermanse self-requested a review January 15, 2024 14:30
@olehermanse
Copy link
Member

@cf-bottom jenkins, please :)

@olehermanse olehermanse merged commit fc950ff into cfengine:master Jan 15, 2024
2 checks passed
@olehermanse olehermanse changed the title Ent 10940: file and command components in examples & web ui sections ENT-10940: file and command components in examples & web ui sections Jan 15, 2024
@olehermanse
Copy link
Member

Cherry-pick: #3204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants