# # This manifest is intended to configure the initial # machine wich will host the first puppetmaster # virtual machine. # # Import the needed config and modules import "config.pp" import "nodo" import "classes/admin_node.pp" import "classes/firewall.pp" import "classes/users.pp" import "classes/default_conf.pp" # The server role include nodo::role::server # Creates vserver for administrative node nodo::vserver::instance { "$hostname-master": context => '2', puppetmaster => true, } # Create a host entry for this puppet node host { "puppet": ensure => present, ip => "192.168.0.2", host_aliases => [ "puppet.$domain", "admin" ], }