melezhik / cookbooks

perl chef cookbooks
https://github.com/melezhik/cookbooks
21 stars 27 forks source link

Install and run as the "pinto" user #8

Closed thaljef closed 11 years ago

thaljef commented 11 years ago

While working with @hesco on the puppet configuration, we decided that it is best to install Pinto and run the pintod server as the "pinto" user rather than root. Running anything as root creates potential security problems.

melezhik commented 11 years ago

Well, this requires almost no changes with current pinto cookbook, the requested feature is already here. One should only change pinto.bootstrap.user attribute. I may change it's default value to 'pinto', so pinto application will be installed and run localy with this user's privileges.

thaljef commented 11 years ago

One should only change pinto.bootstrap.user attribute.

Sure, it's easy for the user to change. But defaults are important.

The whole reason for using a cookbook is so I don't have to think about how something should be configured. It ought to just "do the right thing" as much as possible. So if you agree that installing as "pinto" is the right way to do things, then that should be the default.

melezhik commented 11 years ago

Yes, default 'pinto' user is ok.

среда, 8 мая 2013 г. пользователь Jeffrey Ryan Thalhammer < notifications@github.com> писал:

One should only change pinto.bootstrap.user attribute.

Sure, it's easy for the user to change. But defaults are important.

The whole reason for using a cookbook is so I don't have to think about how something should be configured. It ought to just "do the right thing" as much as possible. So if you agree that installing as "pinto" is the right way to do things, then that should be the default.

— Reply to this email directly or view it on GitHub.< https://github.com/notifications/beacon/2_ZIPP4rs8CqAEtL5FhtPaHvAujpEf2y7IyPXqgV4hmg7mqsNkjqdqR_jWp-lv1V.gif

melezhik commented 11 years ago

Yes, default 'pinto' user is ok.

melezhik commented 11 years ago

done in version 0.1.4