-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


[ ] Puppet ,

, 31 2017 . 14:53 +

image


! Puppet Windows-.


, : . , Windows . , Puppet - , pull Ruby. , .




Puppet () -, Windows. Windows-, , .msi .


Puppet HTTPS, , , - Apache, .



  • Ubuntu 16.04 LTS Puppet-.
  • Windows, , , .


, .



. , SSL Apache .


image![image](https://imagebin.ca/v/3NbWzYZ942C3)


, , /etc/apache2/sites-enabled/puppetmaster.conf, . , ( puppet), . , /var/lib/puppet/ssl/certs.



Windows- , - . Puppet- ( ) Puppet-.
, .


image


. .


, ? Event Viewer , Puppet. .


image


, .


puppet cert list --all
cert sign 

Puppet-


#         
#    ,   

#     ,    
#    
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.



  1. ssl background
  2. puppet agent/master communications
  3. puppet architecture overview
  4. puppet official modules
  5. installation
  6. tutorial presentation
  7. mcollective

Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/329900/

:  

: [1] []
 

:
: 

: ( )

:

  URL