Infrastructure Team/Puppet: Difference between revisions

Line 64: Line 64:
== Nodes ==
== Nodes ==


Hosts that fetch configuration from the [[#Master|puppetmast]] need <code>puppet >= 2.6</code> package. If {{Code|puppet}} was installed from gems, it needs to be initially configured:
Hosts that fetch configuration from the [[#Master|puppetmast]] need <code>puppet >= 2.6</code> package.


puppetmasterd --mkusers
If {{Code|puppet}} was installed from gems, it needs to be initially configured:


Node's puppet agent might have optional configuration in {{Code|/etc/puppet/puppet.conf}}:
puppet master --mkusers


[main]
To complete configuration, execute:
  runinterval = <fetch-configuration-in-every-n-seconds>
 
report = true
  puppet agent --no-daemonize --onetime --server puppet.sugarlabs.org


Every puppetized host should have particular node file in {{Code|manifests/nodes/<host-name>.pp}} on [[#Master|puppetmaster]].
Every puppetized host should have particular node file in {{Code|manifests/nodes/<host-name>.pp}} on [[#Master|puppetmaster]].