Commit a101a2c
committed
Calling "pkg update -n" on Solaris too frequently causes problems with zones
On a Solaris system, running "pkg update -n" in the global zone at the same time that it is running in a non-global zone, can cause the command to fail in one or the other.
If we have puppet running this command, it causes the puppet run to fail for that specific resource.
This patch removes some unnecessary calls to this command, and appropriately updates rspec.1 parent 1a53bf7 commit a101a2c
File tree
2 files changed
+6
-12
lines changed- lib/puppet/provider/package
- spec/unit/provider/package
2 files changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 289 | + | |
296 | 290 | | |
297 | 291 | | |
298 | 292 | | |
| |||
301 | 295 | | |
302 | 296 | | |
303 | 297 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 298 | + | |
309 | 299 | | |
310 | 300 | | |
311 | 301 | | |
| |||
0 commit comments