-
-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Labels
bugSomething isn't workingSomething isn't working
Description
With:
loginctl_user{'higgs':
linger => enabled,
}
systemd::user_service { 'hour.service':
ensure => true,
enable => true,
user => 'higgs',
require => loginctl_user['higgs'],
}it can fail with
Failed to connect to user scope bus via local transport: No such file or directory
adding an extra sleep.
exec{'/usr/bin/sleep 10 && touch /tmp/sleep-only-once':
creates => '/tmp/sleep-only-once',
require => Loginctl_user['higgs'],
before => systemd::user_service { 'hour.service':},
}is enough for success.
If this is fixed remove this workaround that was added in #577
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working