foreman new puppet classes

asked 2016-04-17 07:50:42 -0600

raghav gravatar image

I have just installed foreman 1.11 in CentOS6.5. (I am opening it from a browser in client machine and not the master) When i navigate to Hosts-> Puppet classes i dont see a New Class button as in the tutorials online. I rather see an "Documentation" button.

I then Imported all the classes from my puppet master in hope of mapping it to the server. But alas, I am stuck up the below error "This Puppet class has no parameters in its signature. To update the class signature, go to the Puppet Classes page and select 'Import'."

Could someone please help me adding new classes via foreman to my puppet master?

edit retag flag offensive close merge delete

Comments

does your classes listed under http://foreman-server/puppetclasses? foreman looks for class parameters of puppet classes so that it can be overrided through foreman-gui. check if your classes are having parameters.

karthikeayan gravatar imagekarthikeayan ( 2016-04-18 01:55:39 -0600 )edit