Jira (PUP-4781) filemode retrieved by static_compiler should be stringified

2015-10-15 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-4781 
 
 
 
  filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Release Notes Summary:
 
 The static compiler was completely broken in Puppet 4, because it would generate file resources with numeric file modes, which is not allowed. This fix causes the static compiler to generate a quoted octal mode, e.g. "644" 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4781) filemode retrieved by static_compiler should be stringified

2015-08-24 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4781 
 
 
 
  filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Component/s:
 
 Community 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4781) filemode retrieved by static_compiler should be stringified

2015-08-24 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-4781 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 
 
Given a manifest: 
 
 
 
 
 
 
filebucket { puppet: 
 
 
 
 
  path = false, 
 
 
 
 
} 
 
 
 
 
 
 
 
 
 
file { '/tmp/destdir': 
 
 
 
 
  ensure = directory 
 
 
 
 
} 
 
 
 
 
 
 
 
 
 
file { '/tmp/destdir/single_file': 
 
 
 
 
  ensure = file, 
 
 
 
 
  source = 'puppet:///modules/stdlib/one.txt', 
 
 
  

Jira (PUP-4781) filemode retrieved by static_compiler should be stringified

2015-08-24 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-4781 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4781) filemode retrieved by static_compiler should be stringified

2015-08-13 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4781 
 
 
 
  filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Fix Version/s:
 
 PUP4.3.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-4781) filemode retrieved by static_compiler should be stringified

2015-06-24 Thread Taylan Develioglu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Taylan Develioglu created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4781 
 
 
 
  filemode retrieved by static_compiler should be stringified  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.2.1 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/06/24 6:49 AM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Taylan Develioglu 
 
 
 
 
 
 
 
 
 
 
When a file resource is declared without an explicit mode, the mode retrieved from the metadata by the static_compiler catalog terminus is not stringified, resulting in file resources with integer file modes in the resultant catalog and a depreciation warning such as: 
Warning: Non-string values for the file mode property are deprecated. It must be a string, either a symbolic mode like 'o+w,a+r' or an octal representation like '0644' or '755'. (at /usr/lib/ruby/vendor_ruby/puppet/type/file/mode.rb:69:in `block (2 levels) in module:Puppet') 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment