diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-28 15:29:40 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-28 15:29:40 -0200 |
commit | f9fe35c38f7848368690910d3b605737da399f28 (patch) | |
tree | dac3bb057c1feab3c800177dabdecaa9a6bfbb9c | |
parent | 6af2336866731f1ae6ef3f10fb4852ae759e45a1 (diff) | |
download | puppet-qwebirc-f9fe35c38f7848368690910d3b605737da399f28.tar.gz puppet-qwebirc-f9fe35c38f7848368690910d3b605737da399f28.tar.bz2 |
Using cwd at compile exec
-rw-r--r-- | manifests/init.pp | 3 |
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', |