Sha256: 2f558cef259a8d2f039cb7ac03df01d33b9f5cd9a038870389c4f6458b601faf
Contents?: true
Size: 1.64 KB
Versions: 17
Compression:
Stored size: 1.64 KB
Contents
## site.pp ## # This file (/etc/puppetlabs/puppet/manifests/site.pp) is the main entry point # used when an agent connects to a master and asks for an updated configuration. # # Global objects like filebuckets and resource defaults should go in this file, # as should the default node definition. (The default node can be omitted # if you use the console and don't define any other nodes in site.pp. See # http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on # node definitions.) ## Active Configurations ## # Disable filebucket by default for all File resources: File { backup => false } # DEFAULT NODE # Node definitions in this file are merged with node data from the console. See # http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on # node definitions. # The default node definition matches any node lacking a more specific node # definition. If there are no other nodes in this file, classes declared here # will be included in every node's catalog, *in addition* to any classes # specified in the console for that node. # Make Puppet shut up about allow_virtual Package { allow_virtual => false, } node default { # This is where you can declare classes for all nodes. # Example: # class { 'my_class': } <% unless @modulepath == :none %> unless $::osfamily == 'windows' { file { '<%= @codedir %>/environments/production/modules': ensure => link, force => true, target => '<%= @puppetcode %>/modules', } file { '<%= @codedir %>/environments/production/manifests': ensure => link, force => true, target => '<%= @puppetcode %>/manifests', } } <% end %> }
Version data entries
17 entries across 17 versions & 1 rubygems