1 2 3 4 5 6 7 8 9
define syncthing::user { include syncthing service { "syncthing@$name": ensure => running, enable => true, require => Class['syncthing']; } }