Ask Your Question
0

'shopt' shell builtin command could not be found

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

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
0

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

danifr gravatar image

Fixed using provider => shell attrib.

More info: http://projects.puppetlabs.com/issues...

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

Stats

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

Seen: 229 times

Last updated: Jul 14 '15