File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1313 step "Create new site.pp with upgrade manifest" do
1414 manifest = <<-PP
1515node default {
16+ if $::osfamily =~ /^(?i:windows|solaris|aix|darwin)$/ {
17+ $_package_version = '#{ latest_version } '
18+ } else {
19+ $_package_version = 'latest'
20+ }
21+
1622 class { puppet_agent:
17- package_version => ' #{ latest_version } ' ,
23+ package_version => $_package_version ,
1824 apt_source => 'http://nightlies.puppet.com/apt',
1925 yum_source => 'http://nightlies.puppet.com/yum',
2026 windows_source => 'http://nightlies.puppet.com/downloads',
Original file line number Diff line number Diff line change 1313 step "Create new site.pp with upgrade manifest" do
1414 manifest = <<-PP
1515node default {
16+ if $::osfamily =~ /^(?i:windows|solaris|aix|darwin)$/ {
17+ $_package_version = '#{ latest_version } '
18+ } else {
19+ $_package_version = 'latest'
20+ }
21+
1622 class { puppet_agent:
17- package_version => ' #{ latest_version } ' ,
23+ package_version => $_package_version ,
1824 apt_source => 'http://nightlies.puppet.com/apt',
1925 yum_source => 'http://nightlies.puppet.com/yum',
2026 windows_source => 'http://nightlies.puppet.com/downloads',
You can’t perform that action at this time.
0 commit comments