Bug #12496
PE 2.0.2 displays negative dependencies error when purge=true
| Status: | Closed | Start date: | 02/07/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | tidy | |||
| Target version: | - | |||
| Affected Puppet version: | 2.7.9 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Managed /etc/hosts with purge=true. When puppet removed a manually added resource, it displayed an error. This does not happen in PE 2.0.0.
[root@billy ~]# puppet resource host > /etc/puppetlabs/puppet/manifests/hosts.pp [root@billy ~]# vim /etc/puppetlabs/puppet/manifests/hosts.pp [root@billy ~]# vim /etc/hosts [root@billy ~]# puppet apply /etc/puppetlabs/puppet/manifests/hosts.pp warning: /Host[test]: appears to have a negative number of dependencies notice: /Host[test]/ensure: removed notice: Finished catalog run in 0.13 seconds
History
Updated by Nick Lewis 3 months ago
- Status changed from Unreviewed to Rejected
This is fixed in 2.7.10, in commit:ca73283.
Updated by Daniel Pittman 3 months ago
- Category set to tidy
- Status changed from Rejected to Closed
Nick Lewis wrote:
This is fixed in 2.7.10, in commit:ca73283.
I updated this to “closed” rather than “rejected” for internal bookkeeping reasons. The next PE patch release should resolve this for you, and sorry for the inconvenience.