/[adm]/puppet/manifests/nodes.pp
ViewVC logotype

Diff of /puppet/manifests/nodes.pp

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

revision 3 by boklm, Fri Oct 15 15:34:08 2010 UTC revision 17 by misc, Tue Oct 26 21:50:54 2010 UTC
# Line 1  Line 1 
1  node basenode {  # svn, big important server
2    node valstar {
3            include default_mageia_server
4        timezone { "Europe/Paris": }
5    
6        # for puppet svn checkout
7        package {"subversion":
8            ensure => "installed"
9        }
10    
11        # svn spam log with
12        # Oct 26 13:30:01 valstar svn: No worthy mechs found
13        # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html
14        #
15        package {"sasl-plug-anonymous":
16            ensure => "installed"
17        }
18    
19        # update the puppet snapshot
20        cron { puppet_update:
21               command => "cd /etc/puppet && /usr/bin/svn update -q",
22               user => root,
23               minute => '*/5'
24        }
25    
26        exec { puppet_etc:
27            cwd => "/etc/",
28            command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
29            user => "root",
30            creates => "/etc/puppet/manifests/site.pp"
31        }
32    
33        package {"puppet-server":
34            ensure => "installed"
35        }
36    }
37    
38    # web apps
39    node alamut {
40        timezone { "Europe/Paris": }
41            include default_mageia_server
42    }
43    
44    # buildnode
45    node jonund {
46        timezone { "Europe/Paris": }
47            include default_mageia_server
48    }
49    
50    node ecosse {
51        timezone { "Europe/Paris": }
52            include default_mageia_server
53  }  }
54    
 node "mx2" inherits {  
55    
56    # backup server
57    node fiona {
58            include default_mageia_server
59    }
60    
61    # gandi-vm
62    node krampouezh {
63        timezone { "Europe/Paris": }
64            include default_mageia_server
65  }  }
66    
67    node champagne {
68            include default_mageia_server
69    }
70    
71    

Legend:
Removed from v.3  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.30