linuxx 发表于 2018-8-1 08:03:11

SaltStack的pillar学习

$ sudo salt '*' pillar.items  
jidong-fileserver:
  
    ----------
  
    apache:
  
      httpd
  
    bind:
  
      ----------
  
      listen-on:
  
            any
  
      package-name:
  
            bind9
  
      port:
  
            53
  
      version:
  
            9.9.5
  
    company:
  
      Foo Industries
  
    git:
  
      git
  
gintama-qa-server:
  
    ----------
  
    apache:
  
      httpd
  
    bind:
  
      ----------
  
      listen-on:
  
            any
  
      package-name:
  
            bind9
  
      port:
  
            53
  
      version:
  
            9.9.5
  
    company:
  
      Foo Industries
  
    git:
  
      git
  
localhost.localdomain:
  
    ----------
  
    apache:
  
      httpd
  
    bind:
  
      ----------
  
      listen-on:
  
            any
  
      package-name:
  
            bind9
  
      port:
  
            53
  
      version:
  
            9.9.5
  
    company:
  
      Foo Industries
  
    git:
  
      git
  
jialebi-qa-server:
  
    ----------
  
    apache:
  
      httpd
  
    bind:
  
      ----------
  
      listen-on:
  
            any
  
      package-name:
  
            bind9
  
      port:
  
            53
  
      version:
  
            9.9.5
  
    company:
  
      Foo Industries
  
    git:
  
      git
页: [1]
查看完整版本: SaltStack的pillar学习