puppet module generate throwing Error/Exception for not root users

asked 2017-04-26 01:00:02 -0600

rohithmn03 gravatar image

Hi Team,

puppet module generate command throwing Error/Exception for not root users. FYI..

Command used:

puppet module generate cloudAutomation-splunkagent --verbose

Error: (last 3 lines)

Notice: Generating module at /opt/puppetlabs/puppet/modules/splunkagent...
Error: Permission denied @ dir_s_mkdir - /opt/puppetlabs/puppet/modules/splunkagent
Error: Try 'puppet help module generate' for usage
edit retag flag offensive close merge delete

Comments

What directory were you executing the command in?

smarlow gravatar imagesmarlow ( 2017-05-02 13:51:41 -0600 )edit