Ask Your Question

Add classes to node via command line

asked 2015-11-26 02:44:45 -0600

Declan gravatar image


Using Linux command line i need to be able to add a class to a node e.g.

Add cowsay class to node 'server4' via command line/config file

The problem i have is i can use site.pp but it doesnt show up as a registered class in Puppet Enterprise web panel.

How would i go about adding it via command line while it still showing up as a class registered in the web interface?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-27 03:06:46 -0600

If its pre puppet 3,7 I'd recommend rake: rake

post 3.7 have a look at the node classifier service api: node classifier api

cheers Stuart

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: 2015-11-26 02:44:45 -0600

Seen: 366 times

Last updated: Nov 27 '15