Skip to content

Instantly share code, notes, and snippets.

@stevebanik
Created August 7, 2015 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevebanik/75811a1824f923236876 to your computer and use it in GitHub Desktop.
Save stevebanik/75811a1824f923236876 to your computer and use it in GitHub Desktop.
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' {
include toolbox
} #node
# local ntp servers
$ntpServerList = [ '192.168.200.75', '192.168.200.78' ]
$ntpAllowedSubnets = ['192.168.200.0 mask 255.255.252.0', '192.168.100.0 mask 255.255.255.0']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment