#1067: file object creation should fail if the source is not present
---------------------+------------------------------------------------------
Reporter: marthag | Owner: community
Type: defect | Status: new
Priority: normal | Milestone: unplanned
Component: file | Version: 0.24.1
Severity: normal | Resolution:
Keywords: | Stage: Accepted
Patch: None | Complexity: Easy
---------------------+------------------------------------------------------
Comment (by marthag):
Example code:
{{{
# cat test.pp
file { "/tmp/bar":
source => "/tmp/foo",
}
exec { "/bin/echo hello":
require => File["/tmp/bar"],
}
# puppet test.pp
warning: //File[/tmp/bar]/ensure: No specified sources exist
notice: //Exec[/bin/echo hello]/returns: executed successfully
#
}}}
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1067#comment:5>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---