[puppetlabs/puppet] 7d5aa0: (PUP-2350) Disallow non-string file modes

0 views
Skip to first unread message

GitHub

unread,
Oct 2, 2014, 7:45:40 PM10/2/14
to puppet-...@googlegroups.com, puppet...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/puppetlabs/puppet
Commit: 7d5aa0d1cea92548a0d4cdd7723c826770c5f552
https://github.com/puppetlabs/puppet/commit/7d5aa0d1cea92548a0d4cdd7723c826770c5f552
Author: Adrien Thebo <g...@somethingsinistral.net>
Date: 2014-10-01 (Wed, 01 Oct 2014)

Changed paths:
M lib/puppet/type/file/mode.rb
M spec/integration/type/file_spec.rb
M spec/unit/provider/file/posix_spec.rb
M spec/unit/type/file/ensure_spec.rb
M spec/unit/type/file/mode_spec.rb
M spec/unit/type/file/source_spec.rb
M spec/unit/type/file_spec.rb

Log Message:
-----------
(PUP-2350) Disallow non-string file modes

In Puppet 4.0 integers will be parsed more strictly, which means that
file modes like `644` will be octal 1204. The alternative to this is to
force file modes to be strings where they cannot be interpreted
incorrectly. PUP-2349 deprecated non-string modes; this commit removes
support for them entirely.


Commit: 9784e345b9722ca8434c56fc0e378c78298cd25e
https://github.com/puppetlabs/puppet/commit/9784e345b9722ca8434c56fc0e378c78298cd25e
Author: Will Hopper <who...@cat.pdx.edu>
Date: 2014-10-02 (Thu, 02 Oct 2014)

Changed paths:
M lib/puppet/type/file/mode.rb
M spec/integration/type/file_spec.rb
M spec/unit/provider/file/posix_spec.rb
M spec/unit/type/file/ensure_spec.rb
M spec/unit/type/file/mode_spec.rb
M spec/unit/type/file/source_spec.rb
M spec/unit/type/file_spec.rb

Log Message:
-----------
Merge pull request #3148 from adrienthebo/removal/master/pup-2350-remove-non-string-file-modes

(PUP-2350) Disallow non-string file modes


Compare: https://github.com/puppetlabs/puppet/compare/35c3caadf480...9784e345b972
Reply all
Reply to author
Forward
0 new messages