Ask Your Question

Add defined types example apache::vhost via PE

asked 2013-12-09 18:46:57 -0600

geek876 gravatar image

Trying to create vHosts via PE. Using puppetlabs/apache module which has got apache::vhost as defined type rather than class. So, how do I add new vhost via console? When I add it as a class, it errors out.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-10 00:07:59 -0600

lavaman gravatar image

You use defined types like other resources, not like classes. You would use it from a class like you would use file or service, for example. You would then assign the class containing the apache::vhost using the console.

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: 2013-12-09 18:46:57 -0600

Seen: 70 times

Last updated: Dec 10 '13