-
Notifications
You must be signed in to change notification settings - Fork 1
/
puppet-webapp_schema.yaml
61 lines (61 loc) · 1.87 KB
/
puppet-webapp_schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Created using puppet-retrospec - https://github.com/nwops/puppet-retrospec
# This schema file can be used to validate hiera data
# http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema
# To validate your hiera data against this schema install the kwalify gem
# 1. gem install kwalify
# 2. kwalify -lf /Users/john.bond/git/puppet-webapp/puppet-webapp_schema.yaml hiera_data_file.yaml
# By default this schema is generic and only covers basic parameter types.
# You should update the schema to match your expected data types in your puppet classes
# or anywhere else you call hiera using the hiera() function.
# This schema contains 10 entries.
---
type: map
mapping:
hostclass:
type: map
mapping:
"webapp::web_root":
type: any
required: false
"webapp::python_web_apps":
type: map
mapping:
"=":
type: any
required: false
required: false
definition:
type: map
mapping:
"webapp::python::system_packages":
type: seq
sequence:
- type: str
required: false
"webapp::python::pip_packages":
type: seq
sequence:
- type: str
required: false
"webapp::python::git_source":
type: any
required: false
"webapp::python::git_revision":
type: str
required: false
"webapp::python::git_user":
type: str
required: false
"webapp::python::domain_name":
type: any
required: false
"webapp::python::wsgi_script_aliases":
type: str
required: false
"webapp::python::cron_jobs":
type: map
mapping:
"=":
type: any
required: false
required: false