summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 02e7ead..9d5d724 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -60,7 +60,8 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h
notify => Service['qwebirc'],
}
- exec { 'cd /var/lib/qwebirc && ./compile.py':
+ exec { './compile.py':
+ cwd => '/var/lib/qwebirc',
creates => '/var/lib/qwebirc/.compiled',
user => 'qwebirc',
group => 'qwebirc',