Puppet näited: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Created page with "=Sissejuhatus= =rak.planet.zz= =puppet.planet.zz= =client.planet.zz= =Puppet manifestid ja konfiguratsioon= ==/etc/puppet/fileserver.conf= <source lang="bash"> [expor…" |
(No difference)
|
Revision as of 11:25, 30 January 2014
Sissejuhatus
rak.planet.zz
puppet.planet.zz
client.planet.zz
Puppet manifestid ja konfiguratsioon
=/etc/puppet/fileserver.conf
[export]
path /var/lib/puppet/export
allow *
/etc/puppet/manifests/site.pp
import "classes/*"
node basenode {
include test_class
include rootkeys
include userkey
include hostnames
package {'cowsay': ensure => latest }
}
node 'client.planet.zz' inherits basenode {
include tarkvara
package {'git-cola': ensure => latest }
package {'vim-puppet': ensure => latest }
package {'mc': ensure => latest }
package {'openjdk-7-jre': ensure => latest }
}
node 'rak.planet.zz' inherits basenode {
include tarkvara
include userid
include gitkey
include issue
class { '::ntp':
servers => [ 'ntp.eenet.ee', 'ntp.ut.ee' ],
}
include weebiserver
include mysqlserver
include dvwa
}