Skip to content

Commit a0e9b8c

Browse files
committed
Added braces around python variable to avoid Puppet syntax errors in install manifest
1 parent 9aae0a0 commit a0e9b8c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77

88
$pythondev = $::operatingsystem ? {
9-
/(?i:RedHat|CentOS|Fedora)/ => "$python-devel",
10-
/(?i:Debian|Ubuntu)/ => "$python-dev"
9+
/(?i:RedHat|CentOS|Fedora)/ => "${python}-devel",
10+
/(?i:Debian|Ubuntu)/ => "${python}-dev"
1111
}
1212

1313
package { $python: ensure => present }

0 commit comments

Comments
 (0)