Ask Your Question
0

Hello When i tried to connect to puppet console. I got an error "Server Not found". I tried to troubleshoot what went wrong and when i tried puppet agent --test command in my puppet master.

asked 2015-12-02 15:35:21 -0500

Nikhil Rao gravatar image

I got the following Error "err: Could not retrieve catalog from remote server: Error 400 on server : Invalid parameter enabled on service [Apache 2] at /etc/manifests/site.pp.

I am not able to find out the mistake in this part .

package { 'apache2' : ensure => installed } service { 'apache2' : ensure => true, enabled => true, required => Package[ 'apache2' ] }

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-02 15:57:01 -0500

Hi, I just doubled checked the documentation and the service property should be 'enable => true' and not 'enabled => true'

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-12-02 15:35:21 -0500

Seen: 52 times

Last updated: Dec 02 '15