summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-19 10:40:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-19 10:40:23 -0300
commit056838d484ed26523abc00f96e8ee59132e392bb (patch)
treec5d5fd2c5ed9027af7b8cc72545e55dc5b44991c /manifests
parentba5fd69682e092ecc202883a99a8b834bfd250e7 (diff)
downloadpuppet-qwebirc-056838d484ed26523abc00f96e8ee59132e392bb.tar.gz
puppet-qwebirc-056838d484ed26523abc00f96e8ee59132e392bb.tar.bz2
Upgrading qwebirc
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp27
1 files changed, 17 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 91990db..78d82de 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -32,7 +32,7 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h
ensure => present,
provider => hg,
source => 'https://bitbucket.org/qwebirc/qwebirc',
- revision => '19d6068a1aa6',
+ revision => '48dfc2ca0def',
owner => 'qwebirc',
group => 'qwebirc',
require => [ User['qwebirc'], Group['qwebirc'], Package['mercurial'] ],
@@ -50,15 +50,22 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h
}
# See http://hg.qwebirc.org/qwebirc/issue/152/ssl
- file { '/var/lib/qwebirc/qwebirc/ircclient.py':
- ensure => present,
- owner => 'qwebirc',
- group => 'qwebirc',
- mode => 0640,
- source => 'puppet:///modules/qwebirc/ircclient-ssl.py',
- require => Vcsrepo['/var/lib/qwebirc'],
- notify => Service['qwebirc'],
- }
+ #file { '/var/lib/qwebirc/qwebirc/ircclient.py':
+ # ensure => present,
+ # owner => 'qwebirc',
+ # group => 'qwebirc',
+ # mode => 0640,
+ # source => 'puppet:///modules/qwebirc/ircclient-ssl.py',
+ # require => Vcsrepo['/var/lib/qwebirc'],
+ # notify => Service['qwebirc'],
+ #}
+ #
+ #exec { 'qwebirc-revert-ircclient.py':
+ # command => 'hg revert qwebirc/ircclient.py'
+ # cwd => '/var/lib/qwebirc',
+ # user => 'qwebirc',
+ # group => 'qwebirc',
+ #}
exec { '/var/lib/qwebirc/compile.py':
cwd => '/var/lib/qwebirc',