Skip to content

Commit 8816442

Browse files
committed
Merge pull request #114 from dalen/immutable_variables
Don't assign to hash after creation
2 parents cab7823 + fa1915b commit 8816442

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

manifests/server.pp

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626
Class['mysql::server'] -> Class['mysql::config']
2727

28-
$config_class = {}
29-
$config_class['mysql::config'] = $config_hash
28+
$config_class = { 'mysql::config' => $config_hash }
3029

3130
create_resources( 'class', $config_class )
3231

0 commit comments

Comments
 (0)