1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14# # php.ng pillar examples
25
36php :
47 # Use the following values to mute deprecation warnings
5- warning_messages: #
6- v1.0.0: #
7- mute_critical: True #
8- mute_upcoming: True #
8+ warning_messages :
9+ v1.0.0 :
10+ mute_critical : true
11+ mute_upcoming : true
912 # Use external repository instead the default (only Ubuntu family)
10- use_external_repo: True
13+ use_external_repo : true
1114 # Set the external repository name (valid only if use_external_repo is not none)
1215 external_repo_name : ' ondrej/php'
1316 # Use Software Collections Repository offering PHP 5.4, 5.5, 5.6, 7.0 and 7.1
1417 # https://www.softwarecollections.org/en/ for more information.
1518 # SCL is only supported on RHEL and CentOS and only active when using php.ng
16- use_scl_repo: True
19+ use_scl_repo : true
1720 # Which PHP version from the SCL repos to use
1821 scl_php_version : 71
1922 # Set the MongoDB driver version. You can specify (optionally) the driver version
4952 # to pass forward special arguments to the pkg.installed call
5053 # you MUST include the name argument for this to work
5154 cli :
52- -
53- name: php-cli
54- fromrepo: my-specialrepo
55- -
56- name: php-common
57- skip_verify: True
55+ -
56+ name : php-cli
57+ fromrepo : my-specialrepo
58+ -
59+ name : php-common
60+ skip_verify : true
5861
5962 # php-fpm os-specific settings
6063 fpm :
7780
7881 # settings for the php-fpm service
7982 service :
80- # if True , enables the php-fpm service, if False disables it
81- enabled: True
83+ # if true , enables the php-fpm service, if false disables it
84+ enabled : true
8285 # additional arguments passed forward to
8386 # service.enabled/disabled
8487 opts :
85- reload: True
88+ reload : true
8689
8790 # settings for the relevant php-fpm configuration files
8891 config :
9194 ini :
9295 # arguments passed through to file.managed
9396 opts :
94- recurse: True
97+ recurse : true
9598 # php.ini file contents that will be merged with the
9699 # defaults in php.ng.ini.defaults. See php.ng.ini.defaults for
97100 # syntax guidelines.
105108 conf :
106109 # arguments passed through to file.managed
107110 opts :
108- recurse: True
111+ recurse : true
109112 # php-fpm conf file contents that will be merged with
110113 # php.ng.lookup.fpm.defaults. See php.ng.ini.defaults for
111114 # ini-style syntax guidelines.
115118
116119 # settings for fpm-pools
117120 pools :
118- # defaults will apply for each pools settings and can be overwritten by pool settings
121+ # defaults will apply for each pools settings and can be overwritten
122+ # by pool settings
119123 defaults :
120124 user : nginx
121125 group : nginx
@@ -124,17 +128,17 @@ php:
124128 # name of the pool file to be managed, this will be appended
125129 # to the path specified in php.ng.lookup.fpm.pools
126130 ' mypool.conf ' :
127- # If true, the pool file will be managed, if False it will be
131+ # If true, the pool file will be managed, if false it will be
128132 # absent
129- enabled: True
133+ enabled : true
130134
131135 # Overwrite the filename for ext_pillar that doesn't allow
132136 # dots in fields names.
133137 filname : my_other_name.conf
134138
135139 # arguments passed forward to file.managed or file.absent
136140 opts :
137- replace: False
141+ replace : false
138142
139143 # pool file contents. See php.ng.ini.defaults for ini-style
140144 # syntax guidelines.
159163 ini :
160164 # opts passed forward directly to file.managed
161165 opts :
162- replace: False
166+ replace : false
163167 # contents of the php.ini file that are merged with defaults
164168 # from php.ng.ini.defaults. See php.ng.ini.defaults for ini-style
165169 # syntax guidelines
185189 # its contents will be joined by commas in final rendering.
186190 defaults :
187191 PHP :
188- engine: on
192+ engine : ' On '
189193 output_buffering : 4096
190194 disable_functions :
191195 - pcntl_alarm
204208 - mysql
205209
206210 # When using php.ng.apache2 on FreeBSD:
207- # Set this to False if you're not using apache-formula
208- use_apache_formula: True
211+ # Set this to false if you're not using apache-formula
212+ use_apache_formula : true
0 commit comments