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

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

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

revision 1430 by dams, Thu Mar 3 15:30:42 2011 UTC revision 1431 by dams, Wed Mar 30 12:50:48 2011 UTC
# Line 45  class planet { Line 45  class planet {
45    
46      package { ['php-iconv']:      package { ['php-iconv']:
47          ensure => installed          ensure => installed
48        }    
49    
50        class files_backup inherits base {
51            file { "/var/lib/planet/backup":
52                    ensure => directory,
53                    owner => root,
54                    group => root,
55                    mode => 644,
56            }
57    
58            file { "backup_planet-files":
59                path => "/usr/local/bin/backup_planet-files.sh",
60                ensure => present,
61                owner => root,
62                group => root,
63                mode => 755,
64                content => template("blog/backup_planet-files.sh")
65            }
66    
67            cron { "Backup files (planet)":
68                user => root,
69                hour => '23',
70                minute => '42',
71                command => "/usr/local/bin/backup_planet-files.sh",
72                require => [File["backup_planet-files"]],
73            }
74      }      }
75  }  }

Legend:
Removed from v.1430  
changed lines
  Added in v.1431

  ViewVC Help
Powered by ViewVC 1.1.30