Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-24 Thread Tony Vu (JIRA)
Title: Message Title










 

 Tony Vu assigned an issue to Tony Vu


















 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 










Change By:

 Tony Vu




Assignee:

 TonyVu












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-24 Thread Tony Vu (JIRA)
Title: Message Title










 

 Tony Vu commented on an issue


















  Re: Error when manifest is a directory but not the same as manifestdir 










Henrik Lindberg's example in the write up works just fine now, marking as resolved.












   

 Add Comment

























 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 







 In 3.5.0 we introduced a feature whereby the manifest setting was allowed to be a directory. However, if the manifest is set to a directory that is not the {{manifestdir}} directory, then the settings catalog tries to create a file resource to manage the directory as a file. This results in a failed settings catalog application and the master cannot start...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-21 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue


















  Re: Error when manifest is a directory but not the same as manifestdir 










Found a solution, but it was not a slam-dunk...
The issue boils down to that we do need to manage the file/directory to ensure it has the correct owner/mode. For a directory, we would also like to create it if it does not exist (for the same reason).


We cannot specify this with the existing :file or :directory settings type (they are fixed to one particular type).


We cannot change :file setting to always treat a file as a directory if it ends with / or \ since that potentially creates havoc for users that happened to use a trailing / in a file setting


The :file setting type also strips a trailing / (so it would not work anyway)


A simple solution was to create a new setting type :file_or_directory that manages the path as a :directory if the path ends with / or \ (or if the path exists and is a directory), otherwise it manages the file as a :file.
This way a user that wants the settings to result in the creation of the directory simply ends the path with a /.












   

 Add Comment

























 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 







 In 3.5.0 we introduced a feature whereby the manifest setting was allowed to be a directory. However, if the manifest is set to a directory that is not the 

Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-21 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue


















  Re: Error when manifest is a directory but not the same as manifestdir 










Merged into stable in 76c30c












   

 Add Comment

























 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 







 In 3.5.0 we introduced a feature whereby the manifest setting was allowed to be a directory. However, if the manifest is set to a directory that is not the {{manifestdir}} directory, then the settings catalog tries to create a file resource to manage the directory as a file. This results in a failed settings catalog application and the master cannot start...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-20 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Henrik Lindberg


















 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 










Change By:

 Andy Parker




Assignee:

 HenrikLindberg












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-19 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue


















 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 










Change By:

 Andy Parker




Sprint:

 Week2014-3-19to2014-3-26












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1944) Error when manifest is a directory but not the same as manifestdir

2014-03-13 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue


















 Puppet /  PUP-1944



  Error when manifest is a directory but not the same as manifestdir 










Change By:

 Andy Parker




Summary:

 Errorwhenmanifestisadirectorybut no notthesameas manifestdir












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.