Add support for turning on the future parser
If a host is a member of the 'futureparser' group, pass the 'futureparser' option to the puppet role, which will turn on parser = future in puppet.conf when manage_config is true and when the node isn't already using puppet 4. Nodes can be added one at a time by adding them to modules/openstack_project/files/puppetmaster/groups.txt. Depends-On: https://review.openstack.org/572856 Change-Id: I54e19ef6164658da8e0e5bff72a1964b88b81242
This commit is contained in:
parent
a40867b8bf
commit
9ce4a353e6
@ -5,3 +5,4 @@
|
|||||||
- role: puppet
|
- role: puppet
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
|
@ -6,3 +6,4 @@
|
|||||||
- role: puppet
|
- role: puppet
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
- role: puppet
|
- role: puppet
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
copy_puppet: False
|
copy_puppet: False
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
- hosts: "git0*:!disabled"
|
- hosts: "git0*:!disabled"
|
||||||
strategy: free
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
@ -24,6 +25,7 @@
|
|||||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
- hosts: "review:!disabled"
|
- hosts: "review:!disabled"
|
||||||
strategy: free
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
@ -34,6 +36,7 @@
|
|||||||
puppet_timeout: 60m
|
puppet_timeout: 60m
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
- hosts: "zuul-scheduler:!disabled"
|
- hosts: "zuul-scheduler:!disabled"
|
||||||
strategy: free
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
@ -44,3 +47,4 @@
|
|||||||
puppet_timeout: 60m
|
puppet_timeout: 60m
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user