]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Jan 2013 18:22:27 +0000 (16:22 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Jan 2013 18:22:27 +0000 (16:22 -0200)
manifests/appliance.pp
manifests/dns.pp
manifests/kvm.pp
manifests/laptop.pp
manifests/removable.pp
manifests/server.pp
manifests/storage.pp
manifests/web.pp

index dfc011613347892b5b09f3a76a49e02e23ff4482..41a3660e2f1489472107963bd7cac6a40d912d42 100644 (file)
@@ -1,12 +1,10 @@
 class nodo::appliance inherits nodo::physical {
   class { 'sysctl::appliance': }
 
-  # fstab
   class { 'fstab':
     type => 'appliance',
   }
 
-  # crypttab
   class { 'crypttab':
     type => 'appliance',
   }
index bd9db5d13177a6829c771dece2f08a06500d228d..1f4a1e1baa232bc5105d0d5224ce400c4324c095 100644 (file)
@@ -1,4 +1,3 @@
 class nodo::dns inherits nodo::vserver {
-  # Class for dns nodes
   include bind
 }
index 293d753870143b3a7b75b339e09a5823474e8139..7b3b3131e06050366ad9e4636aa377cebd50400f 100644 (file)
@@ -1,10 +1,8 @@
 class nodo::kvm inherits nodo::host {
-  # fstab
   class { 'fstab':
     type => 'kvm',
   }
 
-  # crypttab
   class { 'crypttab':
     type => 'kvm',
   }
index 96b5f0f32bfc314343d210fd44d3a18476b8b6cb..84d76976f6163fa5fe729158619c589e007a3c44 100644 (file)
@@ -18,7 +18,7 @@ class nodo::laptop inherits nodo::personal {
     },
   }
 
-  # hibernation
+  # Hibernation
   file { "/etc/initramfs-tools/conf.d/resume":
     owner     => "root",
     group     => "root",
@@ -31,7 +31,7 @@ class nodo::laptop inherits nodo::personal {
     },
   }
 
-  # upgrade from lenny
+  # Useful when upgrading from lenny
   if $lsbdistcodename != 'lenny' {
     file { "/etc/modprobe.d/madwifi":
       ensure => absent,
index 9b0a7235fd73f846b8319657fd0dd8deeb91b845..16f0157c6371779d121b62e08f4827078d79af86 100644 (file)
@@ -1,10 +1,8 @@
 class nodo::removable inherits nodo::desktop {
-  # fstab
   File["/etc/fstab"] {
     source  => "puppet:///modules/nodo/etc/fstab/removable",
   }
 
-  # crypttab
   File["/etc/crypttab"] {
     source  => "puppet:///modules/nodo/etc/crypttab/removable",
   }
index 15e52ad91e6fd07c25a40ab224c65230ff4c19d8..90bb2ae1a7a37cc667087070b6e8aff2af98f638 100644 (file)
@@ -1,10 +1,8 @@
 class nodo::server inherits nodo::physical {
-  # fstab
   class { 'fstab':
     type => 'server',
   }
 
-  # crypttab
   class { 'crypttab':
     type => 'server',
   }
index 5bb7e726f92eabe6be365711d209f589c64e6f69..13cbdabdf5705aadcf58ffa249ffb5d218ee9da6 100644 (file)
@@ -1,4 +1,3 @@
 class nodo::storage inherits nodo::vserver {
-  # Class for backup nodes
   include utils::storage
 }
index e68e5d65bd061f9369f6fdb7890ef6c7b3edb13c..86aa9969f64ad909889386e27cfbcdb2117a51c1 100644 (file)
@@ -1,5 +1,5 @@
 class nodo::web inherits nodo::vserver {
-  # Class for web nodes
+  # Classes for web nodes
   include websites
   include database
   include users::virtual