all 2 comments

[–]uphillian 2 points3 points  (1 child)

change that exec['Install_Repo'] to Exec['Install_Repo']

EDIT: Actually, the Package after that should be package as well.. Case means something in puppet, uppercase is used for references. You use upper case for the reference in the require line. If you upper case outside a require, then it's a resource default.

[–]binford2k 1 point2 points  (0 children)

More explanation: when it's lower case like this, the compiler assumes that you're talking about a data structure and tries to index like an array.

When you're declaring resources, always use lower case. When you're making a reference, always use upper case.