@@ -119,7 +119,7 @@ def install_script(ver, arch)
119
119
it do
120
120
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent@#{ sol11_package_version } ,5.11-1.i386.p5p" )
121
121
. with ( {
122
- 'ensure' => 'present ' ,
122
+ 'ensure' => 'file ' ,
123
123
'source' => "http://fake-solaris-source.com/packages/2000.0.0/solaris-11-i386/puppet-agent@#{ sol11_package_version } ,5.11-1.i386.p5p" ,
124
124
} )
125
125
end
@@ -137,8 +137,8 @@ def install_script(ver, arch)
137
137
it do
138
138
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent@#{ sol11_package_version } ,5.11-1.i386.p5p" )
139
139
. with ( {
140
- 'ensure' => 'present ' ,
141
- 'source' => "puppet:///pe_packages/#{ pe_version } /solaris-11-i386/puppet-agent@#{ sol11_package_version } ,5.11-1.i386.p5p" ,
140
+ 'ensure' => 'file ' ,
141
+ 'source' => "puppet:///modules/ pe_packages/#{ pe_version } /solaris-11-i386/puppet-agent@#{ sol11_package_version } ,5.11-1.i386.p5p" ,
142
142
} )
143
143
end
144
144
@@ -193,8 +193,8 @@ def install_script(ver, arch)
193
193
it do
194
194
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent@#{ sol11_package_version } ,5.11-1.sparc.p5p" )
195
195
. with ( {
196
- 'ensure' => 'present ' ,
197
- 'source' => "puppet:///pe_packages/#{ pe_version } /solaris-11-sparc/puppet-agent@#{ sol11_package_version } ,5.11-1.sparc.p5p" ,
196
+ 'ensure' => 'file ' ,
197
+ 'source' => "puppet:///modules/ pe_packages/#{ pe_version } /solaris-11-sparc/puppet-agent@#{ sol11_package_version } ,5.11-1.sparc.p5p" ,
198
198
} )
199
199
end
200
200
@@ -252,7 +252,7 @@ def install_script(ver, arch)
252
252
it do
253
253
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.i386.pkg.gz" )
254
254
. with ( {
255
- 'ensure' => 'present ' ,
255
+ 'ensure' => 'file ' ,
256
256
'source' => "http://fake-solaris-source.com/packages/2000.0.0/solaris-10-i386/puppet-agent-#{ package_version } -1.i386.pkg.gz" ,
257
257
} )
258
258
end
@@ -270,12 +270,12 @@ def install_script(ver, arch)
270
270
it do
271
271
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.i386.pkg.gz" )
272
272
. with ( {
273
- 'ensure' => 'present ' ,
274
- 'source' => "puppet:///pe_packages/#{ pe_version } /solaris-10-i386/puppet-agent-#{ package_version } -1.i386.pkg.gz"
273
+ 'ensure' => 'file ' ,
274
+ 'source' => "puppet:///modules/ pe_packages/#{ pe_version } /solaris-10-i386/puppet-agent-#{ package_version } -1.i386.pkg.gz"
275
275
} )
276
276
end
277
277
278
- it { is_expected . to contain_file ( '/opt/puppetlabs/packages/solaris-noask' ) . with_source ( "puppet:///pe_packages/#{ pe_version } /solaris-10-i386/solaris-noask" ) }
278
+ it { is_expected . to contain_file ( '/opt/puppetlabs/packages/solaris-noask' ) . with_source ( "puppet:///modules/ pe_packages/#{ pe_version } /solaris-10-i386/solaris-noask" ) }
279
279
it do
280
280
is_expected . to contain_exec ( "unzip puppet-agent-#{ package_version } -1.i386.pkg.gz" ) . with_command ( "gzip -d /opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.i386.pkg.gz" )
281
281
is_expected . to contain_exec ( "unzip puppet-agent-#{ package_version } -1.i386.pkg.gz" ) . with_creates ( "/opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.i386.pkg" )
@@ -318,12 +318,12 @@ def install_script(ver, arch)
318
318
it do
319
319
is_expected . to contain_file ( "/opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.sparc.pkg.gz" )
320
320
. with ( {
321
- 'ensure' => 'present ' ,
322
- 'source' => "puppet:///pe_packages/#{ pe_version } /solaris-10-sparc/puppet-agent-#{ package_version } -1.sparc.pkg.gz"
321
+ 'ensure' => 'file ' ,
322
+ 'source' => "puppet:///modules/ pe_packages/#{ pe_version } /solaris-10-sparc/puppet-agent-#{ package_version } -1.sparc.pkg.gz"
323
323
} )
324
324
end
325
325
326
- it { is_expected . to contain_file ( '/opt/puppetlabs/packages/solaris-noask' ) . with_source ( "puppet:///pe_packages/#{ pe_version } /solaris-10-sparc/solaris-noask" ) }
326
+ it { is_expected . to contain_file ( '/opt/puppetlabs/packages/solaris-noask' ) . with_source ( "puppet:///modules/ pe_packages/#{ pe_version } /solaris-10-sparc/solaris-noask" ) }
327
327
it do
328
328
is_expected . to contain_exec ( "unzip puppet-agent-#{ package_version } -1.sparc.pkg.gz" ) . with_command ( "gzip -d /opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.sparc.pkg.gz" )
329
329
is_expected . to contain_exec ( "unzip puppet-agent-#{ package_version } -1.sparc.pkg.gz" ) . with_creates ( "/opt/puppetlabs/packages/puppet-agent-#{ package_version } -1.sparc.pkg" )
0 commit comments