-
Notifications
You must be signed in to change notification settings - Fork 75
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
Conversation
Ticket: ENT-10940 Changelog: None Signed-off-by: Mikita Pilinka <[email protected]>
@cf-bottom jenkins, please |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/fast-build-and-deploy-docs-master/492/ Documentation: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-492/output/_site/ |
286950a
to
465bb4e
Compare
@cf-bottom jenkins, please |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/fast-build-and-deploy-docs-master/493/ Documentation: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-493/output/_site/ |
465bb4e
to
16a19e8
Compare
@cf-bottom jenkins, please |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/fast-build-and-deploy-docs-master/494/ Documentation: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-494/output/_site/ |
examples.markdown
Outdated
/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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# /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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 | ||
``` |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
32e6009
to
4016968
Compare
@cf-bottom jenkins, please |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/fast-build-and-deploy-docs-master/498/ Documentation: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-498/output/_site/ |
Ticket: ENT-10940 Changelog: None Signed-off-by: Mikita Pilinka <[email protected]>
4016968
to
4637f16
Compare
There was a problem hiding this 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.
examples/example-snippets/promise-patterns/example_aborting_execution.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_aborting_execution.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_change_detection.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_enable_service.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_enable_service.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_enable_service.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_enable_service.markdown
Show resolved
Hide resolved
examples/example-snippets/promise-patterns/example_enable_service.markdown
Show resolved
Hide resolved
…e second is command component Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
@cf-bottom jenkins, please :) |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/fast-build-and-deploy-docs-master/503/ Documentation: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-503/output/_site/ |
Cherry-pick: #3204 |
No description provided.