[ ] Puppet , |
! Puppet Windows-.
, : . , Windows . , Puppet - , pull Ruby. , .
Puppet () -, Windows. Windows-, , .msi .
Puppet HTTPS, , , - Apache, .
, .
, , /etc/apache2/sites-enabled/puppetmaster.conf, . , ( puppet), . , /var/lib/puppet/ssl/certs.
Windows- , - . Puppet- ( ) Puppet-.
, .
, ? Event Viewer , Puppet. .
, .
puppet cert list --all
cert sign
#
# ,
# ,
#
class action::windows {
file { 'c:\\Temp\\foo.txt':
ensure => present,
content => 'This is some text in my file'
}
}
# , Windows
class action::default {
notify{ "Operating system $::operatingsystem not supported": }
}
# osfamily
#
case $::osfamily {
'windows': { include action::windows }
default: { include action::default }
}
: puppet apply
.
: puppet agent --test
.
, Puppet - , pull , , . , push mcollective.