Ask Your Question

'shopt' shell builtin command could not be found

asked 2015-07-13 10:47:14 -0600

danifr gravatar image

I'm trying to exec shopt to enable pattern matching features before doing an chown but apparently Puppet does not recognize this builtin command.

Error: /Stage[main]/My_company::My_program::Server/Exec[chown directory]: Could not find command 'shopt'

Any ideas? Thanks!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-14 03:04:14 -0600

danifr gravatar image

Fixed using provider => shell attrib.

More info:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-13 10:47:14 -0600

Seen: 307 times

Last updated: Jul 14 '15