Configuring software using the Dashboard

asked 2018-06-08 11:44:54 -0600

GDobson gravatar image

Hi all,

new to puppet - and think I'm missing something fairly basic.

I have installed puppet and have nodes defined in the dashboard with agents on - all good.

I've installed a few puppet-forge modules and the simple ones like sudo::allow I can add users to the sudoers file using the Dashboard - all good.

How do you manage more complex configs using the Dashboard? for example the crayfish firewalld module? If you add the Class: Firewalld - and then select a parameter (say purge_direct_chains" - the value is "false" - run the puppet job - all works fine. How on earth do you add more complex code via the Dashboard? - again, say using the firewalld class - I want to open a tcp port 8001 in a zone (public) - how do you construct that in the Dashboard parameters window? - and if I see "converted to string" one more time I'm going to go back to hand editing all my servers configs by hand!!!! I missing something here? do all the modules you can download only lend themselves to having say there manifest or template files edited - and you cant use the GUI to do anything remotely complex.?

Any help/pointers appreciated!



edit retag flag offensive close merge delete


The GUI isn't meant for complex stuff like that. Look up roles and profiles and learn how to use them. For example if you install the NTP forge module, you will write a profile to enforce the settings you want. All logic will go in this manifest and all data in heira. You should never have to

ffalor gravatar imageffalor ( 2018-06-09 02:37:29 -0600 )edit

edit the actual forge module itself. If it is a good module.

ffalor gravatar imageffalor ( 2018-06-09 02:37:44 -0600 )edit