{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/4542","labels_url":"https://api.github.com/repos/saltstack/salt/issues/4542/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/4542/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/4542/events","html_url":"https://github.com/saltstack/salt/issues/4542","id":13397412,"number":4542,"title":"[FEATURE] Salt should take common parameters from a user RC file like $HOME/.salt/saltrc","user":{"login":"czee","id":2141379,"avatar_url":"https://avatars.githubusercontent.com/u/2141379?v=3","gravatar_id":"","url":"https://api.github.com/users/czee","html_url":"https://github.com/czee","followers_url":"https://api.github.com/users/czee/followers","following_url":"https://api.github.com/users/czee/following{/other_user}","gists_url":"https://api.github.com/users/czee/gists{/gist_id}","starred_url":"https://api.github.com/users/czee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czee/subscriptions","organizations_url":"https://api.github.com/users/czee/orgs","repos_url":"https://api.github.com/users/czee/repos","events_url":"https://api.github.com/users/czee/events{/privacy}","received_events_url":"https://api.github.com/users/czee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2521,"closed_issues":2591,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-09-11T16:30:49Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2013-04-19T11:38:14Z","updated_at":"2015-09-11T17:10:50Z","closed_at":"2014-05-22T18:47:56Z","body":"Currently all options to salt are taken from the command line, however it would be far more efficient and practical to optionally take all of these from a client_acl enabled user's RC file in YAML format. It should be available for root too. Perhaps this file could be stored in $HOME/.salt/saltrc falling back to $HOME/.saltrc when the former is not present.\r\n\r\nThis $HOME/.salt/ directory could also hold future files and data for the named user. Some ideas for extra options which could be taken from the command line and in the RC file include:\r\n\r\n* A pager that takes environment variables and options from a program like less:\r\n```\r\nformatting:\r\n      - pager: LESS='FSRX' less\r\n      - fd: single\r\n```\r\nNow we know the user requests that output from salt should be displayed through less, so they don't have to scroll up when reading. An added bonus here would be sending output from targets to multiple FD's so that less can then switch cleanly between the FD's with \\:n and \\:1, \\:2, \\:3, etc...\r\n```\r\nformatting:\r\n      - pager: LESS='FSRX' less\r\n      - fd: multiple\r\n```\r\n\r\n* Additionally logging of salt output should be possible and so should a directory/file specification on where to log to:\r\n```\r\nlogging:\r\n      - file.directory: ~/.salt/log\r\n      - format: %h-%m-%M-%Y.log\r\n```\r\nor\r\n```\r\nlogging:\r\n      - file.managed: ~/.salt/log\r\n      - format: %h-%m-%M-%Y.log\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/139603687","html_url":"https://github.com/saltstack/salt/issues/4542#issuecomment-139603687","issue_url":"https://api.github.com/repos/saltstack/salt/issues/4542","id":139603687,"user":{"login":"gravyboat","id":1396878,"avatar_url":"https://avatars.githubusercontent.com/u/1396878?v=3","gravatar_id":"","url":"https://api.github.com/users/gravyboat","html_url":"https://github.com/gravyboat","followers_url":"https://api.github.com/users/gravyboat/followers","following_url":"https://api.github.com/users/gravyboat/following{/other_user}","gists_url":"https://api.github.com/users/gravyboat/gists{/gist_id}","starred_url":"https://api.github.com/users/gravyboat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravyboat/subscriptions","organizations_url":"https://api.github.com/users/gravyboat/orgs","repos_url":"https://api.github.com/users/gravyboat/repos","events_url":"https://api.github.com/users/gravyboat/events{/privacy}","received_events_url":"https://api.github.com/users/gravyboat/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T17:10:50Z","updated_at":"2015-09-11T17:10:50Z","body":"@jfindlay Could we get this re-opened since it doesn't seem implemented, or if it is, its' not documented in any way that I can find."}}