@@ -58,12 +58,12 @@ module Pal
58
58
#
59
59
def self . with_script_compiler (
60
60
configured_by_env : false ,
61
- manifest_file : nil ,
62
- code_string : nil ,
63
- facts : { } ,
64
- variables : { } ,
65
- set_local_facts : true ,
66
- &block
61
+ manifest_file : nil ,
62
+ code_string : nil ,
63
+ facts : { } ,
64
+ variables : { } ,
65
+ set_local_facts : true ,
66
+ &block
67
67
)
68
68
# TRANSLATORS: do not translate variable name strings in these assertions
69
69
assert_mutually_exclusive ( manifest_file , code_string , 'manifest_file' , 'code_string' )
@@ -165,12 +165,12 @@ def self.evaluate_script_manifest(manifest_file)
165
165
#
166
166
def self . with_catalog_compiler (
167
167
configured_by_env : false ,
168
- manifest_file : nil ,
169
- code_string : nil ,
170
- facts : { } ,
171
- variables : { } ,
172
- target_variables : { } ,
173
- &block
168
+ manifest_file : nil ,
169
+ code_string : nil ,
170
+ facts : { } ,
171
+ variables : { } ,
172
+ target_variables : { } ,
173
+ &block
174
174
)
175
175
# TRANSLATORS: do not translate variable name strings in these assertions
176
176
assert_mutually_exclusive ( manifest_file , code_string , 'manifest_file' , 'code_string' )
@@ -232,11 +232,11 @@ def self.with_catalog_compiler(
232
232
# @yieldparam [Puppet::Pal] context, a context that responds to Puppet::Pal methods
233
233
#
234
234
def self . in_tmp_environment ( env_name ,
235
- modulepath : [ ] ,
236
- settings_hash : { } ,
237
- facts : nil ,
238
- variables : { } ,
239
- &block )
235
+ modulepath : [ ] ,
236
+ settings_hash : { } ,
237
+ facts : nil ,
238
+ variables : { } ,
239
+ &block )
240
240
assert_non_empty_string ( env_name , _ ( "temporary environment name" ) )
241
241
# TRANSLATORS: do not translate variable name string in these assertions
242
242
assert_optionally_empty_array ( modulepath , 'modulepath' )
@@ -279,15 +279,15 @@ def self.in_tmp_environment(env_name,
279
279
#
280
280
# @api public
281
281
def self . in_environment ( env_name ,
282
- modulepath : nil ,
283
- pre_modulepath : [ ] ,
284
- post_modulepath : [ ] ,
285
- settings_hash : { } ,
286
- env_dir : nil ,
287
- envpath : nil ,
288
- facts : nil ,
289
- variables : { } ,
290
- &block )
282
+ modulepath : nil ,
283
+ pre_modulepath : [ ] ,
284
+ post_modulepath : [ ] ,
285
+ settings_hash : { } ,
286
+ env_dir : nil ,
287
+ envpath : nil ,
288
+ facts : nil ,
289
+ variables : { } ,
290
+ &block )
291
291
# TRANSLATORS terms in the assertions below are names of terms in code
292
292
assert_non_empty_string ( env_name , 'env_name' )
293
293
assert_optionally_empty_array ( modulepath , 'modulepath' , true )
0 commit comments