Skip to content

Commit 60c1f79

Browse files
author
jamescott
committed
:delayed is not valid for reboot resource
1 parent 91d9ab7 commit 60c1f79

5 files changed

+32
-6
lines changed

includes_resources/includes_resource_12-4_service_reboot_attributes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ This resource has the following properties:
2121

2222
|notifies|
2323

24-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_syntax_notifies.rst
24+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_notifies_syntax.rst
2525

26-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_timers.rst
26+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_timers.rst
2727

2828
``reason``
2929
**Ruby Type:** String
@@ -45,6 +45,6 @@ This resource has the following properties:
4545

4646
|subscribes|
4747

48-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_syntax_subscribes.rst
48+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_subscribes_syntax.rst
4949

5050
|subscribes timers|

includes_resources/includes_resource_service_reboot_attributes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ This resource has the following properties:
1818

1919
|notifies|
2020

21-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_syntax_notifies.rst
21+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_notifies_syntax.rst
2222

23-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_timers.rst
23+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_timers.rst
2424

2525
``reason``
2626
**Ruby Type:** String
@@ -42,6 +42,6 @@ This resource has the following properties:
4242

4343
|subscribes|
4444

45-
.. include:: ../../includes_resources_common/includes_resources_common_notifications_syntax_subscribes.rst
45+
.. include:: ../../includes_resources/includes_resource_service_reboot_attributes_subscribes_syntax.rst
4646

4747
|subscribes timers|
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. The contents of this file may be included in multiple topics (using the includes directive).
2+
.. The contents of this file should be modified in a way that preserves its ability to appear in multiple topics.
3+
4+
Specify the ``:action``, ``'resource[name]'``, and timer (``:immediately``). Use multiple ``notifies`` statements to notify more than one resource.
5+
6+
.. code-block:: ruby
7+
8+
resource 'name' do
9+
...
10+
notifies :action, 'resource[name]', :immediately
11+
end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. The contents of this file may be included in multiple topics (using the includes directive).
2+
.. The contents of this file should be modified in a way that preserves its ability to appear in multiple topics.
3+
4+
Specify the ``:action``, ``'resource[name]'``, and timer (``:immediately``). Use multiple ``subscribes`` statements to listen to more than one resource.
5+
6+
.. code-block:: ruby
7+
8+
resource 'name' do
9+
...
10+
subscribes :action, 'resource[name]', :immediately
11+
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.. The contents of this file may be included in multiple topics (using the includes directive).
2+
.. The contents of this file should be modified in a way that preserves its ability to appear in multiple topics.
3+
4+
Use the ``:immediately`` timer to specify that a notification should be run immediately, per resource notified.

0 commit comments

Comments
 (0)