This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "templates" | |
class toolbox { | |
file { '/usr/local/sbin/puppetsimple.sh' : | |
owner => root, group => root, mode => 0755, | |
content => "#!/bin/sh\npuppet agent --onetime --no-daemonize --verbose \n", | |
} #file | |
} #class | |
node 'puppet.example.com' { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is being maintained by Puppet. | |
# DO NOT EDIT | |
# Permit time synchronization with our time source, but do not | |
# permit the source to query or modify the service on this system. | |
restrict default kod nomodify notrap nopeer noquery | |
restrict -6 default kod nomodify notrap nopeer noquery | |
# Permit all access over the loopback interface. This could | |
# be tightened as well, but to do so would effect some of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOG_RENDERING_PERFORMANCE = True | |
LOG_CACHE_PERFORMANCE = True | |
LOG_METRIC_ACCESS = True | |
MEMCACHE_HOSTS = ['192.168.202.28:11211'] | |
GRAPHITE_ROOT = '/usr/share/graphite' | |
CONF_DIR = '/etc/graphite-web' | |
STORAGE_DIR = '/var/lib/carbon' | |
CONTENT_DIR = '/usr/share/graphite/webapp/content' | |
WHISPER_DIR = '/var/lib/carbon/whisper/' | |
RRD_DIR = '/var/lib/carbon/rrd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOG_RENDERING_PERFORMANCE = True | |
LOG_CACHE_PERFORMANCE = True | |
LOG_METRIC_ACCESS = True | |
MEMCACHE_HOSTS = ['192.168.202.28:11211'] | |
GRAPHITE_ROOT = '/usr/share/graphite' | |
CONF_DIR = '/etc/graphite-web' | |
STORAGE_DIR = '/var/lib/carbon' |