Skip to content

Commit

Permalink
Refine yaml examples to reflect updates to the state system
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed May 18, 2011
1 parent 5ef8e7d commit dc04d6c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
12 changes: 7 additions & 5 deletions doc/example/templates/yaml-jinja.yml
@@ -1,4 +1,4 @@
{% for item in 'vim','emacs','nano','butter' %}
{% for item in 'vim','emacs','nano' %}
{{ item }}:
pkg:
- installed
Expand All @@ -8,14 +8,16 @@ salt:
- installed
service:
- running
- enabled
- require:
- pkg: salt
- names:
- salt-master
- salt-minion
cron:
cronie:
pkg:
- installed
service:
- running
- enabled
- name: cronie
- require:
- pkg: cronie
- name: crond
12 changes: 7 additions & 5 deletions doc/example/templates/yaml-mako.yml
@@ -1,4 +1,4 @@
% for item in 'vim', 'emacs' ,'nano' ,'butter':
% for item in 'vim', 'emacs', 'nano':
${item}:
pkg:
- installed
Expand All @@ -8,14 +8,16 @@ salt:
- installed
service:
- running
- enabled
- require:
- pkg: salt
- names:
- salt-master
- salt-minion
cron:
cronie:
pkg:
- installed
service:
- running
- enabled
- name: cronie
- require:
- pkg: cronie
- name: crond
7 changes: 1 addition & 6 deletions doc/example/templates/yaml.yml
Expand Up @@ -6,27 +6,22 @@ emacs:
- installed
nano:
pkg:
- installed
- latest
salt:
pkg:
- installed
service:
- running
- enabled
- require:
- pkg: vim
- pkg: salt
- service: cron
- names:
- salt-master
- salt-minion
butter:
pkg:
- installed
cron:
pkg:
- installed
service:
- running
- enabled
- name: cronie

0 comments on commit dc04d6c

Please sign in to comment.