/[adm]/puppet/modules/phpbb/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/phpbb/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1168 by misc, Tue Feb 22 01:04:19 2011 UTC revision 1169 by misc, Tue Feb 22 01:04:21 2011 UTC
# Line 69  class phpbb { Line 69  class phpbb {
69              command =>"git clone git://git.$domain/forum/ $lang",              command =>"git clone git://git.$domain/forum/ $lang",
70              cwd => $forums_dir,              cwd => $forums_dir,
71              creates => "$forums_dir/$lang",              creates => "$forums_dir/$lang",
72              require => File["$forums_dir"]              require => File["$forums_dir"],
73                notify => "rm_install $lang",
74            }
75    
76            # remove this or the forum will not work ( 'board disabled' )
77            # maybe it would be better to move this elsehwere, I
78            # am not sure ( and in any case, that's still in git )
79            exec { "rm_install $lang":
80                command => "rm -Rf $forums_dir/$lang/phpBB/install":
81                onlyif => "test -d $forums_dir/$lang/phpBB/install",
82          }          }
83    
84          # TODO manage the permission of the various subdirectories          # TODO manage the permission of the various subdirectories

Legend:
Removed from v.1168  
changed lines
  Added in v.1169

  ViewVC Help
Powered by ViewVC 1.1.30