This repository was archived by the owner on Dec 2, 2020. It is now read-only.
Commit e6ca516
committed
Fix for file ownership issues
`user` is an option that gets ignored by puppet. `uid` is meant to be
used in order to set a user to execute the command.
The effect of using `user` vs `uid` are shown below:
```
▶ ls -l `npm config get prefix`/lib/node_modules
total 0
drwxr-xr-x 12 hugobastien staff 408 14 Nov 22:37 gulp-cli
drwxr-xr-x 25 hugobastien staff 850 11 Nov 13:18 npm
drwxr-xr-x 6 nobody staff 204 14 Nov 22:09 react-native-cli
```
gulp-cli was installed with the fix that I'm submitting here while
react-native-cli was installed current version of puppet-nodejs1 parent 056271e commit e6ca516
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments