Skip to content

Instantly share code, notes, and snippets.

Steve stevebanik

Block or report user

Report or block stevebanik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View site.pp
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' {
View client-ntp.conf.erb
# 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
View local_settings.pyc
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'
View local_settings.py
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'
You can’t perform that action at this time.