Ask Your Question
0

Undefined arrays not functioning

asked 2015-08-12 08:55:57 -0500

t-readyroc gravatar image

I have 2 manifests with undefined arrays. One of them imports into my ENC (foreman) correctly & allows me to then define the array contents. The other class has 2 undefined arrays, and imports into my ENC, but does not allow me to define the array contents. I can't figure out the difference between the 2 manifests. I have run both through validation & puppet-lint. Functional. Not functioning.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-12 11:29:29 -0500

t-readyroc gravatar image

It was due to me not enclosing my initial variables in parentheses. According to the documentation, requires a trailing comma after each parameter, in addition to the parentheses.

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-08-12 08:55:57 -0500

Seen: 32 times

Last updated: Aug 12 '15