components/ruby/puppet/files/puppet.stencil
changeset 7565 48aa82a0931f
equal deleted inserted replaced
7564:f958607559a6 7565:48aa82a0931f
       
     1 # WARNING: THIS FILE GENERATED FROM SMF DATA.
       
     2 #     DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
       
     3 #
       
     4 # See puppet.conf(5) and http://docs.puppet.com/guides/configuring.html
       
     5 # for details.
       
     6 #
       
     7 #
       
     8 # service: puppet:main
       
     9 # main is the global section used by all commands and services. It can be
       
    10 # overridden by the other sections.
       
    11 #
       
    12 ; walk the main instance and extract all properties from the config PG
       
    13 $%/(svc:/$%s:(main)/:properties)/ {
       
    14 [$%2]
       
    15 $%/$%1/config/(.*)/ {
       
    16 $%3 = $%{$%1/config/$%3} }
       
    17 }
       
    18 
       
    19 #
       
    20 # service: puppet:master
       
    21 # master is used by the Puppet master service and the Puppet cert command.
       
    22 #
       
    23 ; walk the master instance and extract all properties from the config PG
       
    24 $%/(svc:/$%s:(master)/:properties)/ {
       
    25 [$%2]
       
    26 $%/$%1/config/(.*)/ {
       
    27 $%3 = $%{$%1/config/$%3} }
       
    28 }
       
    29 
       
    30 #
       
    31 # service: puppet:agent
       
    32 # agent is used by the Puppet agent service.
       
    33 #
       
    34 ; walk the agent instance and extract all properties from the config PG
       
    35 $%/(svc:/$%s:(agent)/:properties)/ {
       
    36 [$%2]
       
    37 $%/$%1/config/(.*)/ {
       
    38 $%3 = $%{$%1/config/$%3} }
       
    39 }
       
    40 
       
    41 #
       
    42 # service: puppet:user
       
    43 # user is used by the Puppet apply command, as well as many of the less common
       
    44 # Puppet subcommands.
       
    45 #
       
    46 ; walk the user instance and extract all properties from the config PG
       
    47 $%/(svc:/$%s:(user)/:properties)/ {
       
    48 [$%2]
       
    49 $%/$%1/config/(.*)/ {
       
    50 $%3 = $%{$%1/config/$%3} }
       
    51 }