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