+
+ concat { '/etc/onionbalance/config-dsa-snippet.yaml':
+ notify => Exec['create-onionbalance-config'],
+ require => File['/usr/local/bin/create-onionbalance-config']
+ }
+ Concat::Fragment <<| tag == "onion::balance::dsa-snippet" |>>
+
+ exec { "create-onionbalance-config":
+ command => "/usr/local/bin/create-onionbalance-config",
+ refreshonly => true,
+ require => [ File['/usr/local/bin/create-onionbalance-config'], Package['onionbalance'] ],
+ notify => Service['onionbalance'],
+ }