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

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

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

revision 2459 by misc, Mon Jan 16 15:25:05 2012 UTC revision 2460 by misc, Mon Feb 20 18:34:23 2012 UTC
# Line 1  Line 1 
1  class icecream {  class icecream {
2      class scheduler {      class scheduler {
3          package { "icecream-scheduler": }          package { 'icecream-scheduler': }
4    
5          service { "icecream-scheduler":          service { 'icecream-scheduler':
6              subscribe => Package['icecream-scheduler'],              subscribe => Package['icecream-scheduler'],
7          }          }
8      }      }
9    
10      class client_common {      class client_common {
11          package { "icecream": }          package { 'icecream': }
12    
13          service { "icecream":          service { 'icecream':
14              subscribe => Package['icecream'],              subscribe => Package['icecream'],
15          }              }
16      }      }
17    
18      define client($host => '') {      define client($host => '') {
19          include icecream::client_common          include icecream::client_common
20          file { "/etc/sysconfig/icecream":          file { '/etc/sysconfig/icecream':
21              content => template("icecream/sysconfig"),              content => template('icecream/sysconfig'),
22          }          }
23      }      }
24  }  }

Legend:
Removed from v.2459  
changed lines
  Added in v.2460

  ViewVC Help
Powered by ViewVC 1.1.28