From ba7f8d5d80394538a57e43259ceca51f5e75c662 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 2 Dec 2013 20:50:34 -0500 Subject: [PATCH] Add ordering examples --- manifests/4-order-example.pp | 7 +++++++ manifests/5-ordered-example.pp | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 manifests/4-order-example.pp create mode 100644 manifests/5-ordered-example.pp diff --git a/manifests/4-order-example.pp b/manifests/4-order-example.pp new file mode 100644 index 0000000..35b0e51 --- /dev/null +++ b/manifests/4-order-example.pp @@ -0,0 +1,7 @@ +notify { 'First': } +notify { 'Second': } +notify { 'Third': } +notify { 'Fourth': } +notify { 'Fifth': } +notify { 'Sixth': } +notify { 'Seventh': } diff --git a/manifests/5-ordered-example.pp b/manifests/5-ordered-example.pp new file mode 100644 index 0000000..bd0cf84 --- /dev/null +++ b/manifests/5-ordered-example.pp @@ -0,0 +1,19 @@ +notify { 'First': } +notify { 'Second': + require => Notify['First'], +} +notify { 'Third': + require => Notify['Second'], +} +notify { 'Fourth': + require => Notify['Third'], +} +notify { 'Fifth': + require => Notify['Fourth'], +} +notify { 'Sixth': + require => Notify['Fifth'], +} +notify { 'Seventh': + require => Notify['Sixth'], +}