Issue #1690 has been updated by luke.

Status changed from Unreviewed to Rejected

The Puppet manifests are evaluated to generate a catalog, and only once the 
manifests are fully evaluated is any work ever done.

Thus, this kind of manifest will never work.
----------------------------------------
Bug #1690: Dependencies for class not preserved
http://projects.reductivelabs.com/issues/show/1690

Author: gringo
Status: Rejected
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Medium
Affected version: 0.24.6
Keywords: 


I'm trying to install certain package before specific class is evaluated (see 
sample script). Unfortunately puppet does not preserve that dependency:

- This happens when package is installed:
<pre>
[root]# puppet test1.pp 
[root]# echo $?
0
</pre>
- Although when package is not installed
<pre>
[root]# rpm -e --nodeps redhat-lsb
[root]# echo $?
0
[root]# rpm -q redhat-lsb
package redhat-lsb is not installed
[root]# puppet test1.pp
Please upgrade facter to >=1.5 and/or install redhat-lsb package at 
/tmp/test1.pp:6 on node testmachine.booking.com
</pre>
This indicates that class "test1" is evaluated before package "redhat-lsb" is 
installed although we wanted opposite.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to