[Puppet Users] content source

2012-04-16 Thread Antidot SAS
Hi everyone,


Maybe a dump question but what happens if for a file ressource I specify a
source and a content? Is there a priority? The resul won't be determinist?


Regards,
JM

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] content source

2012-04-16 Thread Josh Cooper
On Mon, Apr 16, 2012 at 6:59 AM, Antidot SAS antidot...@gmail.com wrote:

 Hi everyone,


 Maybe a dump question but what happens if for a file ressource I specify a
 source and a content? Is there a priority? The resul won't be determinist?


 Regards,
 JM


The file resource should generate a validation error as source and content
are mutually exclusive.

Josh

-- 
Josh Cooper
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] content source

2012-04-16 Thread Antidot SAS
thx

On Mon, Apr 16, 2012 at 6:01 PM, Josh Cooper j...@puppetlabs.com wrote:

 On Mon, Apr 16, 2012 at 6:59 AM, Antidot SAS antidot...@gmail.com wrote:

 Hi everyone,


 Maybe a dump question but what happens if for a file ressource I specify
 a source and a content? Is there a priority? The resul won't be determinist?


 Regards,
 JM


 The file resource should generate a validation error as source and content
 are mutually exclusive.

 Josh

 --
 Josh Cooper
 Developer, Puppet Labs

  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.