Puppet Class: ckan::repos

Defined in:
manifests/repos.pp

Summary

repos for ckan install

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/repos.pp', line 3

class ckan::repos {
  package { 'python-software-properties':
    ensure => installed,
  }

  file { $ckan::ckan_package_dir:
    ensure => directory,
  }

  # downloads the package from the specified source.
  if $ckan::is_ckan_from_repo == false {
    archive { "${ckan::ckan_package_dir}/${ckan::ckan_package_filename}":
      source  => $ckan::ckan_package_url,
      require => File[$ckan::ckan_package_dir],
    }
  }
}