Puppet: System Administration Automated

Support

Ticket #294 (closed enhancement: invalid)

Opened 2 years ago

Last modified 7 months ago

ensure present, absent, modifyonly ?

Reported by: puppet Assigned to: luke
Priority: low Milestone:
Component: types Version:
Severity: minor Keywords:
Cc: Triage Stage: Needs design decision
Attached Patches: None Complexity: Unknown

Description

It could be handy if puppet could do things only if the object allready exist.

exemeple

mount { tmp:

ensure => modifyonly, options => 'nodev,noexec,noatime,nothingwhatsoever'

}

that would change the partition options if there is a /tmp but will not if this does not exist. This comes also to mind that we could want to only 'add' something to an object:

mount { tmp:

ensure => modifyonly, options => mounttmp?['options]+'nodev,noexec,noatime,nothingwhatsoever'

}

don't know if this is possible :)

regards, Ghislain.

Change History

04/19/07 22:43:55 changed by luke

  • specification set to Unnecessary.
  • patch set to None.
  • complexity set to Unknown.
  • approval set to Unnecessary.
  • compatibility set to Unknown.
  • stage set to Needs design decision.

06/18/07 23:22:31 changed by luke

Marking #635 as a duplicate.

01/19/08 22:44:21 changed by luke

Marking #767 as a duplicate.

04/24/08 07:35:12 changed by luke

  • status changed from new to closed.
  • resolution set to invalid.

This is superceded by #614.