Skip to content

Commit

Permalink
file renaming to be compliant with recommended module structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Fournier committed Nov 15, 2011
1 parent 13a6ecd commit f7dd6a2
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 45 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
45 changes: 0 additions & 45 deletions manifests/init.pp
@@ -1,6 +1,3 @@
import "classes/*.pp"
import "definitions/*.pp"

class postgresql {
case $operatingsystem {
Debian: {
Expand All @@ -19,45 +16,3 @@
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}

class postgresql::v8-3 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
lenny : { include postgresql::debian::v8-3 }
default: { fail "postgresql 8.3 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}

class postgresql::v8-4 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
lenny,squeeze : { include postgresql::debian::v8-4 }
default: { fail "postgresql 8.4 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
Ubuntu: {
case $lsbdistcodename {
lucid : { include postgresql::debian::v8-4 }
default: { fail "postgresql 8.4 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}

class postgresql::v9-0 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
squeeze : { include postgresql::debian::v9-0 }
default: { fail "postgresql 9.0 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions manifests/v8-3.pp
@@ -0,0 +1,11 @@
class postgresql::v8-3 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
lenny : { include postgresql::debian::v8-3 }
default: { fail "postgresql 8.3 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}
17 changes: 17 additions & 0 deletions manifests/v8-4.pp
@@ -0,0 +1,17 @@
class postgresql::v8-4 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
lenny,squeeze : { include postgresql::debian::v8-4 }
default: { fail "postgresql 8.4 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
Ubuntu: {
case $lsbdistcodename {
lucid : { include postgresql::debian::v8-4 }
default: { fail "postgresql 8.4 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}
11 changes: 11 additions & 0 deletions manifests/v9-0.pp
@@ -0,0 +1,11 @@
class postgresql::v9-0 {
case $operatingsystem {
Debian: {
case $lsbdistcodename {
squeeze : { include postgresql::debian::v9-0 }
default: { fail "postgresql 9.0 not available for ${operatingsystem}/${lsbdistcodename}"}
}
}
default: { notice "Unsupported operatingsystem ${operatingsystem}" }
}
}

0 comments on commit f7dd6a2

Please sign in to comment.