aboutsummaryrefslogtreecommitdiff
path: root/manifests/resources.pp
blob: f999d82bca6f05a8ef03273bb38e9d9c335e26da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class nodo::resources {
  # Website resources
  if defined("websites::resources") {
    class { "websites::resources": }
  }

  # Packages
  $packages = hiera('packages', {})
  create_resources('package', $packages)

  # Files
  $files = hiera('files', {})
  create_resources('file', $files)

  # File lines
  $file_lines = hiera('file_lines', {})
  create_resources('file_line', $file_lines)
}