Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
on rhel7 against stable (pre-fix): 
 
 
 
 
 
 
[root@sfaogt6nlbjw5g7 puppet]# puppet resource file /etc/passwd 
 
 
 
 
file { '/etc/passwd': 
 
 
 
 
  ensure  = 'file', 
 
 
 
 
  content = '{md5}d63be6ed1f8c6364981ac62c12a7e97a', 
 
 
 
 
  ctime   = '2015-01-12 12:00:48 -0800', 
 
 
 
 
  group   = '0', 
 
 
 
 
  mode= '644', 
 
 
 
 
  mtime   = '2015-01-12 12:00:48 -0800', 
 
 
 
 
  owner   = '0', 
 
 
 
 
  type= 'file', 
 
 
 
 
   

Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
looks to me this still is broken in windows: 
 
 
 
 
 
 
Administrator@k9xljvzfb807ry6 ~ 
 
 
 
 
$ cmd /c puppet apply -e 'file { c:/blah2.txt: ensure=present, mode=0646}' 
 
 
 
 
Notice: Compiled catalog for k9xljvzfb807ry6.delivery.puppetlabs.net in environment production in 0.69 seconds 
 
 
 
 
Notice: /Stage[main]/Main/File[c:/blah2.txt]/ensure: created 
 
 
 
 
Notice: Applied catalog in 0.03 seconds 
 
 
 
 
 
 
 
 
 
Administrator@k9xljvzfb807ry6 ~ 
 
 
 
 
$ ls -l /cygdrive/c/blah2.txt 
 
 
 
 
-rw-rw-rw-+ 1 Administrator None 0 Jan 12 15:29 /cygdrive/c/blah2.txt
 
 
 
 
 
 
 
 
 
 
 

Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
okay. verify with mode that isn't used by spec/integration tests and doesn't run into pup-1688. 
 
 
 
 
 
 
Administrator@k9xljvzfb807ry6 /opt/puppet-git-repos/puppet 
 
 
 
 
$ cmd /c puppet apply -e 'file { c:/blah3.txt: ensure=present, mode=0444}' 
 
 
 
 
Notice: Compiled catalog for k9xljvzfb807ry6.delivery.puppetlabs.net in environment production in 0.69 seconds 
 
 
 
 
Notice: /Stage[main]/Main/File[c:/blah3.txt]/ensure: created 
 
 
 
 
Notice: Applied catalog in 0.02 seconds 
 
 
 
 
 
 
 
 
 
Administrator@k9xljvzfb807ry6 /opt/puppet-git-repos/puppet 
 
 
 
 
$ ls -l /cygdrive/c/blah3.txt 
 
 
 
 
-r--r--r--+ 1 Administrator None 0 Jan 12 16:53 /cygdrive/c/blah3.txt 
 
 
 
 
 
 

Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Contact:
 
 EricThompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
ah. i'm actually running into pup-1688 here.  i think i can resolve this with other tests... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-12 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

Comment:
 
 lookstomethisstillisbrokeninwindows:{code}Administrator@k9xljvzfb807ry6~$cmd/cpuppetapply-e'file{c:/blah2.txt:ensure=present,mode=0646}'Notice:Compiledcatalogfork9xljvzfb807ry6.delivery.puppetlabs.netinenvironmentproductionin0.69secondsNotice:/Stage[main]/Main/File[c:/blah2.txt]/ensure:createdNotice:Appliedcatalogin0.03secondsAdministrator@k9xljvzfb807ry6~$ls-l/cygdrive/c/blah2.txt-rw-rw-rw-+1AdministratorNone0Jan1215:29/cygdrive/c/blah2.txt{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-09 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson assigned an issue to Eric Thompson 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

Assignee:
 
 EricThompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-07 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper assigned an issue to William Hopper 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Assignee:
 
 WilliamHopper 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-07 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Story Points:
 
 1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-07 Thread Steve Barlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Barlow updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Steve Barlow 
 
 
 

Sprint:
 
 PlatformClient2015-01-21 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-07 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper assigned an issue to Josh Cooper 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Assignee:
 
 JoshCooper 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-05 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
The fix only works for the posix file provider, not the windows one, which does emulate posix file modes. Reopening this so that can be addressed. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2015-01-05 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 
 
 
 
 
 
 
 Perhttps://docs.puppetlabs.com/references/latest/type.html#file-attribute-mode,numericmodesshouldusefour-digitoctalnotationforfiles.However,theoutputofpuppetresourcefilefilenameshowsthemodeinthree-digitoctalnotation: {noformat} [rnelson0@build~]$puppetapply-efile{'/home/rnelson0/test':ensure=file,mode='0644'}Notice:Compiledcatalogforbuild.nelson.vainenvironmentproductionin0.06secondsNotice:/Stage[main]/Main/File[/home/rnelson0/test]/ensure:createdNotice:Finishedcatalogrunin0.02seconds[rnelson0@build~]$puppetresourcefile/home/rnelson0/testfile{'/home/rnelson0/test':ensure='file',content='{md5}d41d8cd98f00b204e9800998ecf8427e',ctime='2014-12-2218:02:28+',group='501',mode='644',mtime='2014-12-2218:02:28+',owner='501',type='file',} {noformat}   Thismakesitdifficulttousepuppetresourcetodiscoveranddocumentexistingfilesandpreservebestpracticesfordefiningthoseresources.The'mode'valueshouldbefour-digitoctalnotationasthedocumentationdescribes. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-29 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Component/s:
 
 Community 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-23 Thread Rob Nelson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Nelson commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
PR 3436 submitted with code fix and passing tests. https://github.com/puppetlabs/puppet/pull/3436 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-23 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Fix Version/s:
 
 PUP4.0.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-22 Thread Rob Nelson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Nelson created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.7.3 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 

Components:
 

 Types and Providers 
 
 
 

Created:
 

 2014/12/22 10:04 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Rob Nelson 
 
 
 
 
 
 
 
 
 
 
Per https://docs.puppetlabs.com/references/latest/type.html#file-attribute-mode, numeric modes should use four-digit octal notation for files. However, the output of puppet resource file filename shows the mode in three-digit octal notation: 
[rnelson0@build ~]$ puppet apply -e file  {'/home/rnelson0/test': ensure = file, mode = '0644'} 
 Notice: Compiled catalog for build.nelson.va in environment production in 0.06 seconds Notice: /Stage[main]/Main/File[/home/rnelson0/test]/ensure: created Notice: Finished catalog run in 0.02 seconds [rnelson0@build ~]$ puppet resource file /home/rnelson0/test file { '/home/rnelson0/test': ensure = 'file', content = ' {md5} 
d41d8cd98f00b204e9800998ecf8427e', ctime = '2014-12-22 18:02:28 +', group = '501', mode = '644', mtime = '2014-12-22 18:02:28 +', owner = '501', type = 'file', } 
This makes it difficult to use puppet resource to discover and document existing 

Jira (PUP-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-3787 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 
 
Good point. Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3787) puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit

2014-12-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3787 
 
 
 
  puppet resource file 'mode' parameter is 3-digit notation instead of 4-digit  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Scrum Team:
 
 ClientPlatform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.