Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 765b7f2

Browse files
committed
trigger agent restart when the contents of puppet/config.pp change
1 parent 471ece0 commit 765b7f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

manifests/config.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
class puppet::config {
22

3+
include puppet::agent
4+
35
Ini_setting {
46
path => $puppet::conf,
57
ensure => 'present',
68
section => 'main',
9+
notify => Service['puppet_agent'],
710
}
811

912
ini_setting { 'logdir':

0 commit comments

Comments
 (0)