Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-26 | (Maint) Remove rspec from shebang line | Jeff McCune | 1 | -1/+1 | |
Without this patch Ruby 1.9 is still complaining loudly about trying to parse the spec files. The previous attempt to clean up this problem in edc3ddf works for Ruby 1.8 but not 1.9. I'd prefer to remove the shebang lines entirely, but doing so will cause encoding errors in Ruby 1.9. This patch strives for a happy middle ground of convincing Ruby it is actually working with Ruby while not confusing it to think it should exec() to rspec. This patch is the result of the following command run against the source tree: find spec -type f -print0 | \ xargs -0 perl -pl -i -e 's,^\#\!\s?/(.*)rspec,\#! /usr/bin/env ruby,' | |||||
2012-07-02 | (maint) Standardize on /usr/bin/env ruby -S rspec | Jeff McCune | 1 | -1/+1 | |
Without this patch some spec files are using `ruby -S rspec` and others are using `rspec`. We should standardize on a single form of the interpreter used for spec files. `ruby -S rspec` is the best choice because it correctly informs editors such as Vim with Syntastic that the file is a Ruby file rather than an Rspec file. | |||||
2012-01-12 | (#2927) Support symbolic file modes. | Daniel Pittman | 1 | -0/+182 | |
This adds a new feature, support for symbolic file modes, to Puppet. In addition to being able to specify the octal mode, you can now use the same symbolic mode style that chmod supports: file { "/example": mode => "u=rw,go=r" } This also supports relative file modes: file { "/relative": mode = "u+w,go-wx" } Support is based on the common GNU and BSD symbolic modes of operation; you specify a comma separated list of actions to take in each you can sit: The user (u), group (g), other (o), or all (a) of the permission map. You can modify the ability to read (r), write (w), execute / search (x) on a file or directory. You can also modify the sticky bit (t), or the setuid and setgid bits (s). Finally, you can set conditional execute permissions (X), which will result in the file having the execute bit if the target is a directory, or if the target had *any* execute bit set. (eg: g+X will set x if the original was u=x,g=.) Signed-off-by: Daniel Pittman <daniel@puppetlabs.com> |